GET/api/v1/competitions/global
Global competitions (de-duplicated and merged, one row per competition)
Description
Global competitions, de-duplicated and merged, queried by global id (gcid). Carries names in several languages, logo and short name. competition_id in match endpoints is this gcid. The cursor is id (uid); limit is at most 1000.
Access
- Request
GET https://api.sports.csap.ai/api/v1/competitions/global- Auth
- Header X-API-Key: <your key> (Authorization: Bearer <key> also works; ?key= is still accepted but discouraged, because the key ends up in URLs and logs)
- External keys
- Available (scoped)External keys can call it, but only data inside the open scope is returned.
- Rate limits
- 3000 per minute · 200000 per day · Set per key (rate_per_min and quota_daily returned by /api/v1/account are authoritative; the numbers above are a trial key's). Beyond them the answer is 429. In addition, heavy requests such as whole-table snapshots and statistics lists without a match id are processed 2 at a time for the whole platform; a request that cannot get a slot receives 429 with Retry-After. Responses do not carry X-RateLimit-* headers for now. See the general guide
Request parameters 2
| Parameter | Type | required | Example | Description |
|---|---|---|---|---|
| id | integer | optional | 287 | Cursor: rows with uid (= gcid) >= this value; batches supported |
| limit | integer | optional | 2 | Default 1000, maximum 1000 |
Example request
curl "https://api.sports.csap.ai/api/v1/competitions/global?limit=2" \ -H "X-API-Key: YOUR_API_KEY"
Try it
Example response
{
"code": 0,
"data": [
{
"gcid": 1,
"gender": "M",
"logo": "http://43.99.60.51:8080/logos/7770eec79a78cf4b27e1bb4cab8bb38798192f4b2b3a068bc56cbed8f944425c.png",
"name_zh": "国际友谊 十一月",
"name_zht": null,
"source_count": 3,
"sources": {
"S2": "39594",
"S3": "34",
"S5": "mo07dnidvaxknxy"
},
"squad": "u16",
"uid": 1,
"updated_at": "2026-11-09T14:24:52.634633Z",
"name": "U16 Football Federations Cup"
},
{
"gcid": 2,
"gender": "M",
"logo": "http://43.99.60.51:8080/logos/970c36e1511c9e14b73b55d5e6fae5e0efe91dc9fe9ac59f37df71475fe8aea7.png",
"name_zh": "约旦U20",
"name_zht": null,
"source_count": 3,
"sources": {
"S2": "39549",
"S3": "7616",
"S5": "5xvkjoi8l5br793"
},
"squad": "u20",
"uid": 2,
"updated_at": "2026-11-09T14:24:53.591912Z",
"name": "Jordan U20 League"
}
],
"message": "success",
"success": true
}Response fields 12
gcidintegerPlatform competition id
Example: 1genderstringGender
Example: "M"logostringLogo (image address on this platform; empty when there is none)
name_enstringEnglish name
Example: "U16 Football Federations Cup"name_zhstringChinese name
Example: "国际友谊 十一月"name_zhtnullnullableTraditional Chinese name
short_name_ennullnullableEnglish short name
source_countintegerNumber of sources
Example: 3sourcesobjectSource codes of this merged record (comma separated)· 3
squadstringSquad
Example: "u16"uidintegerUnique cursor id of the record
Example: 1updated_atstringLast update time (UTC, ISO 8601; incremental sync with the time parameter goes by it)
Example: "2026-11-09T14:24:52.634633Z"Errors
| HTTP | message | When |
|---|---|---|
| 401 | missing API key / unauthorized | No X-API-Key, or the key is invalid or disabled |
| 400 | bad param … | Malformed parameter (e.g. id is neither a number nor u<uid>) |
| 301 | match merged into <gmid> | Queried by an old match id that has been merged into a new gmid: Location points to the new address and the body carries moved_to |
| 404 | not found | The match / team / competition does not exist, or is outside what this key can see (external keys see only matches inside the open coverage) |
| 429 | rate limit exceeded / daily quota exceeded | The key's per-minute rate or daily quota is exceeded |
| 429 | server busy, retry later | The server's concurrency slots are full (only 2 heavy requests at a time); retry after Retry-After seconds |
| 500 | query error | The query failed on the server; you may retry |