Developers
traveldata API: REST endpoints for hotel, room and board mapping
JSON over REST. Send a hotel record and get the TravelData ID, a confidence score and the supplier codes back.
Quick start
Send your API key in the Authorization header. All responses are UTF-8 JSON.
curl https://api.traveldata.pro/v1/match/hotel \
-H "Authorization: Bearer $TRAVELDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "AURORA BEACH RST SPA 5*", "address": "Belek, Serik, Antalya" }'Hotel and supplier names are examples.
Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /v1/hotels/{td_id} | Single hotel card (content + mapping) |
| GET | /v1/hotels?country=TR&city=antalya | List and filter hotels |
| POST | /v1/match/hotel | TravelData ID and score from name, address and coordinates |
| POST | /v1/match/rooms | Standard room codes from room names |
| POST | /v1/match/board | Standard board code from a board name |
| GET | /v1/mappings/{supplier} | Supplier code ↔ TravelData ID table |
| GET | /v1/destinations/{id} | Destination hierarchy |
| GET | /v1/hotels/{td_id}/images | Tagged and scored images |
| GET | /v1/hotels/{td_id}/content?lang=de | Multilingual descriptions |
| GET | /v1/dumps/latest | Bulk file links |
| POST | /v1/webhooks | Webhook subscription |
Delivery formats
REST API
For on-the-fly matching and single lookups.
Bulk files
Full and delta files; CSV and JSON.
Webhooks
Hotel closed, new match and content updated notifications.