API med ledige baner live til udviklere og AI-agenter
WannaSport forbinder 400+ sportsfaciliteter i Danmark (og Sverige) på tværs af 50+ bookingsystemer. Open API'et giver dig deres ledige tider live i ét kald: hvilken bane er ledig, hvornår, hvor længe og til hvilken pris.
Det er gratis, kræver ingen API-nøgle, og alle parametre står i URL'en, så AI-assistenter og agenter kan kalde det lige så nemt som en udvikler. Hvert resultat har en bookingUrl, der åbner præcis den tid på wannasport.com, hvor brugeren betaler og booker.
Det dækker
- Faciliteter og baner i hele Danmark, søgbare på by, sport eller facilitet
- Ledige tider live: starttid, varighed og pris
- Afstand fra den søgte by, med de nærmeste steder først
- Et direkte link til at booke hver tid
Quick start
Free padel courts in Odense at 18:00, two days from now. No key, no headers:
curl "https://api.wannasport.com/api/open/v1/availability/search?area=odense&category=padel&date=2026-10-14&startTime=18:00"GET /api/open/v1/availability/search
| Parameter | Example | Description |
|---|---|---|
date | 2026-10-20 | Day to search (YYYY-MM-DD, facility-local time). Required. |
area | odense | City slug or name. Leave out area and facility to search the whole country. |
category | padel | Sport: padel, badminton, tennis, squash, pickleball, tabletennis, football, hall … |
facility | padel-lounge-odense | Facility slug, to search one facility. |
startTime | 18:00 | Exact start time (HH:mm). |
durationMinutes | 60 | Exact duration in minutes. |
maxDistanceKm | 10 | Radius around the city centre, 1–100 km (default 50). Only with area. |
minPrice / maxPrice | 300 | Price range for the slot, in the facility's currency. |
sort | price | startTime, price, duration or distance. An area search sorts by distance by default. |
page | 2 | Page number; 50 results per page (see page and totalPages in the response). |
country | dnk | dnk (default) or swe. |
lang | da | Language of the bookingUrl page: en (default), da or sv. |
Response
{
"results": [
{
"facility": {
"name": "Padel Lounge Odense",
"slug": "padel-lounge-odense",
"city": "Odense",
"address": "…"
},
"resource": { "name": "Padelbane, double, indendørs", "slug": "padel-lounge-odense" },
"sport": "padel",
"startTime": "2026-10-20T18:00:00+02:00",
"endTime": "2026-10-20T19:30:00+02:00",
"durationMinutes": 90,
"price": { "amount": 255.0, "currency": "DKK" },
"available": true,
"bookableOnline": true,
"bookingUrl": "https://www.wannasport.com/dnk/en/product/padel-lounge-odense/padel-lounge-odense/2026-10-20T1800/90",
"distanceKm": 0.5,
"checkedAt": "2026-10-20T15:42:10Z"
}
],
"origin": { "name": "Odense", "slug": "odense", "latitude": 55.4, "longitude": 10.3833 },
"page": 1,
"pageSize": 50,
"totalPages": 4,
"isLast": false,
"total": 187
}bookingUrlopens the exact slot (start time and duration) on wannasport.com, with the live price and the booking button. Send your users there to book.startTime/endTimeare facility-local times with their UTC offset.distanceKmis measured fromorigin, the centre of the searched city.checkedAtis when the slot was last confirmed with the facility's booking system (null: not in the last 24 hours).
More
- OpenAPI specification: https://api.wannasport.com/swagger/open/swagger.json
- Try it in the browser: live availability search
- Static catalogue for AI tools (facilities, sports per city): facilities.v1.json, llms.txt