List tournaments with pagination and search
const url = 'https://internal.myscore.live/api/v1/api/v1/tournaments?page=1&perPage=20&sortBy=createdAt&sortOrder=asc&status=upcoming&search=Barcelona&hostClubId=WIMBLEDON&ownerId=550e8400-e29b-41d4-a716-446655440000&staffUserId=550e8400-e29b-41d4-a716-446655440000';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://internal.myscore.live/api/v1/api/v1/tournaments?page=1&perPage=20&sortBy=createdAt&sortOrder=asc&status=upcoming&search=Barcelona&hostClubId=WIMBLEDON&ownerId=550e8400-e29b-41d4-a716-446655440000&staffUserId=550e8400-e29b-41d4-a716-446655440000'Public endpoint. Filter by status, search text, host club, owner, or staff member. Returns paginated metadata with totals.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Example
1Page number (1-indexed)
Example
20Number of items per page
Example
createdAtField to sort by
Example
descSort order
Example
activeFilter by status
Example
BarcelonaSearch by tournament name
Example
WIMBLEDONFilter by host club ID
Example
550e8400-e29b-41d4-a716-446655440000Filter by tournament owner user ID
Example
550e8400-e29b-41d4-a716-446655440000Filter by staff membership (returns tournaments where this user has any staff role)
Responses
Section titled “ Responses ”List of tournaments
object
Page of tournaments
object
Tournament ID
Tournament name
Tournament description
Current tournament status
Sport type
Court surface type
Default match format
Tournament start date
Tournament end date
Registration deadline
Creation timestamp
Last update timestamp
Pagination metadata
object
Total number of items
Current page number (1-indexed)
Number of items per page
Total number of pages
Whether there is a next page
Whether there is a previous page
Example
{ "data": [ { "id": "tourn_abc123", "name": "Barcelona Open 2024", "description": "Annual clay court tournament", "status": "upcoming", "sport": "tennis", "surface": "clay", "matchFormat": "best_of_3_mtb", "startDate": "2026-06-15", "endDate": "2026-06-22", "registrationDeadline": "2026-06-10T23:59:59.000Z", "createdAt": "2026-01-15T10:30:00.000Z", "updatedAt": "2026-01-15T10:30:00.000Z" } ], "meta": { "total": 100, "page": 1, "perPage": 20, "totalPages": 5, "hasNextPage": true, "hasPreviousPage": false }}Rate limit exceeded