cURL
curl --request GET \ --url https://app.d-sports.org/api/leagues
{ "success": true, "data": { "leagues": [ { "id": "<string>", "slug": "<string>", "name": "<string>", "fullName": "<string>", "country": "<string>", "logo": "<string>", "logoFormat": "<string>", "colors": {}, "source": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "_count": { "teams": 123 } } ] } }
Returns all leagues with colors, metadata, and team counts. Optionally filter by country (case-insensitive).
Filter leagues by country (case-insensitive).
{ success, data: { leagues } }
Show child attributes
Was this page helpful?