Events API
Show UAE Sports Hub events in your own calendar, website or app. You choose which events you want; they stay up to date, including changes and cancellations.
1. Get a key
The API is for partners. Write to info@uaesportshub.ae and tell us who you are and what you are building; we will send you a key. Keep it on your server and do not publish it.
2. Ask for events
Send your key in the Authorization header. Answers are JSON.
curl "https://uaesportshub.ae/api/v1/events?sport=running&emirate=DXB&from=2026-11-01&to=2026-12-31" \
-H "Authorization: Bearer YOUR_KEY"const res = await fetch("https://uaesportshub.ae/api/v1/events?sport=running,triathlon", {
headers: { Authorization: "Bearer " + process.env.UAE_SPORTS_HUB_KEY },
});
const { data, meta } = await res.json();
for (const event of data) console.log(event.start, event.name, event.url);3. Choose the events you want
Add any of these to the address. Combine them freely; without any, you get upcoming events in the UAE.
| Filter | Example | What it does |
|---|---|---|
sport | running,triathlon | One or more sports, separated by commas. A sport includes its sub-sports. |
emirate | DXB,AUH | Emirate codes: AUH, DXB, SHJ, AJM, RAK, FUJ, UAQ. |
from | 2026-11-01 | Events on or after this date. Left out: from today. |
to | 2026-12-31 | Events that start on or before this date. |
series | ironman,t100 | International race series. |
international | false | true | only | Events outside the UAE. Default false: UAE events only. |
distance_min_km | 10 | Events with a distance of at least this many kilometres. |
distance_max_km | 21.1 | Events with a distance of at most this many kilometres. |
status | registration_open | One or more of: coming_soon, registration_not_open, registration_open, registration_closing_soon, sold_out, registration_closed, race_today, completed, postponed, cancelled. |
q | Fujairah | Words in the event name or place. |
ids | id1,id2 | Particular events by id. |
limit | 100 | Events per request, 1 to 200. Default 100. |
offset | 0 | Skip this many events, to fetch the next page. |
GET https://uaesportshub.ae/api/v1/options lists every sport, emirate and series you can filter by, with their exact spellings.
GET https://uaesportshub.ae/api/v1/events/{id} returns one event.
4. What you get back
{
"data": [
{
"id": "cmunapqsl00039bgwv3n5tf2v",
"url": "https://uaesportshub.ae/events/ajman-run-2026",
"register_url": "https://uaesportshub.ae/go/cmunapqsl00039bgwv3n5tf2v",
"name": "Ajman Run 2026",
"name_ar": null,
"sport": { "slug": "running", "name": "Running", "name_ar": "الجري" },
"series": null,
"status": "registration_open",
"cancelled": false, "postponed": false, "sold_out": false,
"start": "2026-10-09T20:00:00.000Z", "end": null,
"has_start_time": false, "date_to_be_announced": false, "timezone": "Asia/Dubai",
"location": {
"emirate": { "code": "AJM", "name": "Ajman", "name_ar": "عجمان" },
"text": "Safia - Ajman", "country": "United Arab Emirates",
"lat": 25.4169847, "lng": 55.4845106, "exact": true
},
"international": false,
"distances": [{ "name": "10K", "km": 10 }, { "name": "5K", "km": 5 }],
"registration": { "opens": null, "closes": "2026-10-08T20:00:00.000Z", "price_min": 50, "price_max": null, "currency": "AED", "free": false },
"organizer": "…", "image_url": "https://…", "verified": true
}
],
"meta": { "total": 37, "count": 37, "limit": 100, "offset": 0, "next_offset": null, "generated_at": "…" },
"attribution": { "text": "Powered by UAE Sports Hub", "url": "https://uaesportshub.ae" }
}- Times are in UTC (ISO 8601). Events take place in
timezone; whenhas_start_timeis false, only the date is known — show it as an all-day event. urlis the event's page on UAE Sports Hub.register_urltakes the visitor on to the organiser's own page.- When
meta.next_offsetis not null, ask again withoffsetset to it for the next page.
5. Keeping a copy in sync
A calendar only needs to ask again every so often; once an hour is plenty. Each time, replace your copy with the answer: the list is small, and it always reflects the latest dates, times and places. An event that is no longer in the answer has been withdrawn and should be taken out of your calendar. A cancelled event is not withdrawn — it stays, with cancelled: true, so you can show that it is off.
6. Limits and errors
- Up to 120 requests a minute per key. Beyond that the answer is
429with aRetry-Afterheader. 401— the key is missing, wrong or switched off.400— a filter has a value we could not read; the message says which.404— no such event.- Errors look like
{ "error": { "code": "invalid_request", "message": "…" } }.
7. The rules
- Show “Powered by UAE Sports Hub” with a link to uaesportshub.ae wherever the events appear, and link each event to its
url. - Do not sell the data or pass it on to others, and do not use it to build a competing events listing.
- Event details come from organisers and can change or be wrong; tell your users to check the organiser's page before they pay or travel.
- Event names, logos and images belong to their owners.
The full terms of use apply. We may change the API or switch off a key that is misused.