leagues

Get a league

A single competition, with its seasons newest first — the valid ?season= values for /v1/leagues/{id}/fixtures and /v1/standings. Exactly one season is marked current. Not every covered league lists seasons: where the feed defines none, seasons is empty and fixtures are queried by start_time/end_time instead.

get/leagues/{id}

Request

  • Base URL: https://api.5dollarfootballapi.com/v1
  • URL: https://api.5dollarfootballapi.com/v1/leagues/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idinteger required

League id.

Query parameters

langstring

Localize the league name (21 languages, English fallback).

Response

Success

success1 required

Changes

No recorded changes to this operation across all 1 revision of this API.