Data as a Service
API referenceSpine

Sport Data API

A finish in one competition

``<schema>.results``, one competitor's finish in one competition.

GET
/v1/{sport}/results
AuthorizationBearer <token>

Your API key: Authorization: Bearer asd_live_… (or asd_test_…).

In: header

Path Parameters

sport*string

Query Parameters

limit?integer

Rows per page, 1-100.

Default10
Range1 <= value <= 100
page_token?|

Opaque cursor from a previous response's next_page_token. Its contents are ours to change; do not parse it.

event_id?|

Only rows belonging to this event (exact event_id, as returned by /v1/{sport}/events).

competitor_id?|

Only rows for this competitor (exact competitor_id).

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://platform-api.altsportsleagues.ai/v1/string/results"
null
{
  "object": "error",
  "code": "invalid_request",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}
{
  "object": "error",
  "code": "unauthorized",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}
{
  "object": "error",
  "code": "payment_required",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}
{
  "object": "error",
  "code": "forbidden_plan",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}
{
  "object": "error",
  "code": "not_found",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}
{
  "object": "error",
  "code": "rate_limited",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}
{
  "object": "error",
  "code": "internal_error",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}
{
  "object": "error",
  "code": "upstream_unavailable",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}
{
  "object": "error",
  "code": "upstream_timeout",
  "message": "One human sentence describing what went wrong.",
  "request_id": "req_0123456789abcdef01234567"
}