API Reference
Events

Fetch event participants

Fetch all participants for a particular event

Endpoint overview

Fetch event participants for a given event id.

Use case: render the full participant list and participant metadata before showing player or team cards.

Route

GET /api/v1/public/events/{eventId}/participants

Parameters (Overview)

NameInTypeRequiredDescription
eventIdpathstringYesThe id of the event for which the data should be returned.
GETHTTP Method

Return the participant pool for a single event.

Parameters for Example Query

Edit path and query inputs below. These values auto-fill from the schema and immediately update the request URL and generated code examples.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

Updated recently

Language

Credentials

X-API-KEY

Try it runs a real request through this site's proxy (avoids CORS). Pasting your key updates the cURL tab and is sent on Try it.

URL

Base URL
https://api.altsportsdata.com
curl -X GET "https://api.altsportsdata.com/api/v1/public/events/636d414b-8d24-49d2-a9d8-57ec650a4e0e/participants"
Click Try it to send the active example request.
Response static example
[
  {
    "publicId": "wsl:athlete_01",
    "athleteId": "athlete_01",
    "athleteName": "Surfer One",
    "countryCode": "US",
    "status": "CONFIRMED"
  }
]
{
  "stack": "string",
  "message": "Event not found",
  "metadata": {},
  "statusCode": 403,
  "timestamp": "2023-02-07T19:43:08.187Z"
}
{
  "message": "string",
  "statusCode": 0,
  "timestamp": "string"
}
{
  "stack": "string",
  "message": "Event not found",
  "metadata": {},
  "statusCode": 403,
  "timestamp": "2023-02-07T19:43:08.187Z"
}
{
  "message": "string",
  "statusCode": 0,
  "timestamp": "string"
}
{
  "message": "string",
  "statusCode": 0,
  "timestamp": "string"
}