GET/api/v1/widget/configs
Live animation widget: configurations saved by this account
Access
- Request
GET https://api.sports.csap.ai/api/v1/widget/configs- 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
- Requires entitlementThe endpoint and its data domain must be granted to the key; otherwise 403.
- 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 0
This endpoint takes no request parameters.
Example request
curl "https://api.sports.csap.ai/api/v1/widget/configs" \ -H "X-API-Key: YOUR_API_KEY"
Try it
Example response
{
"code": 0,
"data": [
{
"brand": "",
"created_at": "2026-11-09T14:22:29.907841Z",
"id": "wgt_cb6d03be",
"lang": "zh",
"layout_id": "wide",
"modules": [
"scorebar",
"eventCard",
"stats"
],
"name": "文档示例 · 3D 宽屏",
"organization_id": 2,
"organization_name": "外部测试(无内部授权)",
"status": "published",
"tab_order": [],
"template_id": "night",
"theme": {},
"updated_at": "2026-11-09T14:22:29.907841Z",
"view": "3d"
},
{
"brand": "",
"created_at": "2026-11-09T14:22:29.79653Z",
"id": "wgt_776edb42",
"lang": "zh",
"layout_id": "standard",
"modules": [
"scorebar",
"sceneLabel",
"eventCard"
],
"name": "文档示例 · 2.5D 标准",
"organization_id": 2,
"organization_name": "外部测试(无内部授权)",
"status": "published",
"tab_order": [],
"template_id": "classic",
"theme": {},
"updated_at": "2026-11-09T14:22:29.79653Z",
"view": "2.5d"
}
],
"message": "success",
"success": true
}Response fields 15
idstringid
Example: "wgt_cb6d03be"organization_idintegerOrganization id
Example: 2organization_namestringOrganization name
Example: "外部测试(无内部授权)"namestringName
Example: "文档示例 · 3D 宽屏"viewstringView: 2.5d animation / 3d pitch
Example: "3d"template_idstringTemplate id
Example: "night"themeobjectColours / font / corner radius changed on top of the template
layout_idstringLayout id
Example: "wide"modulesarrayData modules switched on
tab_orderarrayOrder of the data tabs
brandstringBrand badge text
Example: ""langstringLanguage zh / en
Example: "zh"statusstringConfiguration status: draft / published (only a published configuration can be exchanged for a token)
Example: "published"created_atstringCreation time
Example: "2026-11-09T14:22:29.907841Z"updated_atstringLast modification time
Example: "2026-11-09T14:22:29.907841Z"Errors
| HTTP | message | When |
|---|---|---|
| 401 | missing API key / unauthorized | No X-API-Key, or the key is invalid or disabled |
| 403 | The live animation widget isn't enabled. Please contact sales. | The organization has no access to the live animation widget, or the access is suspended |
| 403 | explicit endpoint and data-domain entitlement required | This endpoint and its data domain must be enabled separately |
| 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 |