Realtime & widget

Realtime push + live animation widget

Push data to your services over WebSocket / SSE / MQTT, and show it on your pages with the embeddable animation widget. Both use the same API Key and the same permissions.

Three realtime channels

WebSocket

Works for browsers, apps and servers. Exchange your key for a one-time ticket (valid for 60 seconds), then connect and subscribe.

POST https://api.sports.csap.ai/api/v1/realtime/ticket
wss://api.sports.csap.ai/ws?ticket=…

SSE

Read-only push with built-in browser reconnects. Great for simple display pages.

GET https://api.sports.csap.ai/sse
X-API-Key: <YOUR_KEY>

MQTT

Built for large-scale server-side subscriptions. Topics are compatible with the industry-standard push structure.

topic    football/#
username = your API Key

See the realtime push docs for subscription options, message formats and a live connection tester.

Live animation widget

2.5D animation / 3D pitch
Live · auto-picks a popular match in progress (6 with animation data right now)

A live match animation you can embed in any web page or app: a 2.5D pitch or 3D stadium in the middle, with a scoreboard and data tabs around it. Both views share 4 layouts (standard, wide, compact and mobile portrait), so switching is just a config change.

  • 12 data modules: scoreboard, event cards, team stats, event timeline, scene summary, momentum, text commentary, lineups…
  • 4 official templates with custom colors, fonts, corner radius and brand badge
  • Your server exchanges a short-lived token tied to your page's domain, so the page never holds your API Key
  • Matches without animation data show the real score and say whether they haven't started or are over

Widget templates

ClassicAll plans
NightAll plans
FlatPro
Custom brandEnterprise