//Developers
Build on the TKDS Arena API
Every screen of the platform runs on the same documented REST API — registrations, live results, fixtures, payments and publishing. Connect mobile apps, scoreboards, timing systems and MediaCore2.
Base URL & versioning
All endpoints live under /api/v1. Additive changes never break clients; breaking changes ship as a new version.
http://157.180.21.106:40138/api/v1Authentication
User sessions
Short-lived access tokens with rotating refresh tokens for the web and mobile apps. Two-step verification and step-up for sensitive actions.
Authorization: Bearer <access_token>Machine clients (OAuth2)
The client_credentials flow for servers: exchange a client id and secret for a scoped, short-lived token.
POST /api/v1/auth/tokenAPI keys
Password-protected keys for feeds and integrations such as MediaCore2 — sent in a header, rotated any time, restricted by scope and IP.
X-TKDS-Key: <secret>Timing & scoring devices
Devices sign every request with an HMAC key. Submissions are idempotent and limited to the device’s event.
X-Device-Signature: <hmac>Conventions
One envelope
Every response is { success, data, meta, request_id }; errors carry a stable code plus English and Arabic messages.
Lists that scale
Pagination, sorting, search and filters use the same query parameters on every collection.
?page=1&per_page=25&sort=-starts_at&filter[status]=liveBilingual by design
Send X-Locale: ar for Arabic messages; names and titles come as _en and _ar pairs.
Safe concurrency
Records carry a version — send it back when you update to avoid overwriting someone else’s change.
Idempotent writes
Payments and device submissions accept an Idempotency-Key header, so retries never double-count.
Fair rate limits
Limits apply per client, account and IP; a 429 response tells you when to retry.
Webhooks
Subscribe endpoints to domain events. Every delivery is signed; verify the signature before trusting the payload.
X-Arena-Signature: t=<unix>,v1=<hex hmac_sha256(secret, t + "." + body)>Personal data never leaves in webhook payloads. Failed deliveries retry with back-off and can be replayed from the console.
37 event types
People
Teams
Events
Registration
Live
Results
Payments
Devices
Live streams
Server-sent events for scoreboards and apps: public event streams carry live scores, clocks, heats and results as they happen.
GET http://157.180.21.106:40138/api/v1/public/events/{ref}/stream
Accept: text/event-streamPublic read API
No key needed for published data — events, schedules, results, standings, medal tables and records. Minors are always privacy-protected.
GET http://157.180.21.106:40138/api/v1/public/events?when=live
GET http://157.180.21.106:40138/api/v1/public/events/{org}/{slug}/resultsMediaCore2 & broadcast graphics
Arena pushes schedules, live scores and results to MediaCore2 through its documented APIs, and exposes key-protected feeds and graphics JSON for on-air overlays.
GET http://157.180.21.106:40138/api/v1/integrations/mediacore2/feed/events
X-TKDS-Key: <secret>
# ready-made OBS / vMix overlays
http://157.180.21.106:40138/en/overlay/{org}/{event}Ready to build?
Ask your organization admin for an API client, or explore every endpoint in the interactive reference.
Open the API reference