GET
/
v1
/
{league}
/
competitions
/
{id}
Get a soccer competition by id
curl --request GET \
  --url http://localhost:8082/v1/{league}/competitions/{id} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
default:tok_public_demo
required

Send a workspace API token in the Authorization: Bearer <token> header.

Path Parameters

league
string
required

League identifier from the /v1/leagues catalog (e.g. mlb, nba, epl). Unknown values return 404 unsupported_league.

id
string
required

Query Parameters

provenance
boolean
default:false

When true, the response envelope includes per-field provenance metadata under _meta.provenance (source adapter, ingest run id, timestamp). Default: omitted.

Response

Competition metadata row.