← Back to API docs

GET/api/v1/competitions/global

Global competitions (de-duplicated and merged, one row per competition)
EntitiesGlobalactivebetacoreAvailable (scoped)

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

ParameterTyperequiredExampleDescription
idintegeroptional287Cursor: rows with uid (= gcid) >= this value; batches supported
limitintegeroptional2Default 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

Real response with an external key at 09/11/2026, 14:28 UTC: HTTP 200, 2 rows, 90 ms (data cut to 2 rows)

{
  "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 idExample: 1
genderstringGenderExample: "M"
logostringLogo (image address on this platform; empty when there is none)
name_enstringEnglish nameExample: "U16 Football Federations Cup"
name_zhstringChinese nameExample: "国际友谊 十一月"
name_zhtnullnullableTraditional Chinese name
short_name_ennullnullableEnglish short name
source_countintegerNumber of sourcesExample: 3
sourcesobjectSource codes of this merged record (comma separated)· 3
squadstringSquadExample: "u16"
uidintegerUnique cursor id of the recordExample: 1
updated_atstringLast update time (UTC, ISO 8601; incremental sync with the time parameter goes by it)Example: "2026-11-09T14:24:52.634633Z"

Errors

HTTPmessageWhen
401missing API key / unauthorizedNo X-API-Key, or the key is invalid or disabled
400bad param …Malformed parameter (e.g. id is neither a number nor u<uid>)
301match 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
404not foundThe match / team / competition does not exist, or is outside what this key can see (external keys see only matches inside the open coverage)
429rate limit exceeded / daily quota exceededThe key's per-minute rate or daily quota is exceeded
429server busy, retry laterThe server's concurrency slots are full (only 2 heavy requests at a time); retry after Retry-After seconds
500query errorThe query failed on the server; you may retry