Data as a Service
API referenceStreams

Sport Data API

Stream catalog (free)

Streams, newest-registered first, each with its renditions.

GET
/v1/streams
AuthorizationBearer <token>

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

In: header

Query Parameters

status?|

Stream status. Omit for all; live for what is on now.

event_id?|

Spine event id (64-char lower-case sha256 hex).

sport?|

Sport key, e.g. bkfc.

league?|

League name, exact and case-insensitive.

language?|

BCP-47 tag (en, es, pt-br). Returns streams that carry a rendition in that language.

limit?integer

Page size, max 100.

Default20
Range1 <= value <= 100
page_token?|

Opaque token from next_page_token. Bound to the filters it was issued with; reusing it with different filters is a 400.

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/streams"
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"
}