Connect your systems to 1.5M+ hotels with our straightforward API. Real-time availability, wholesale rates, instant confirmations. Most integrations are live within 2 weeks.
The API exposes the same inventory as the B2B travel portal — contracted hotels, transfers and attractions at net rates.
Hotels Available
API Uptime
Avg Response
A hotel API for travel agents is a RESTful JSON/XML interface that lets you pull live availability, wholesale rates and instant confirmations from a hotel supplier directly into your own website, app or back-office system. DMC Quote's API connects you to 1.5M+ hotels with full documentation and sandbox testing, and most integrations go live within 2 weeks.
DMC Quote's wholesale hotel API (the Distribution API) is a JSON API over HTTPS for travel agencies, tour operators and booking sites that want our net rates inside their own system. One key can cover hotels, attraction tickets and tours, and airport transfers. You search, prebook, book and cancel, and each booking is paid from your prepaid DMC Quote wallet. Access starts with a free agent account and a sandbox key. Live booking opens once your integration passes our certification tests. The field-by-field contract is the Distribution API guide.
We checked this against the live API and its published guide in November 2026. If a code sample further down this page differs from the API guide, follow the guide. It's the contract we certify integrations against.
| Item | What you get |
|---|---|
| Base URL | https://dmcquote.com/b2b/api/external/v1 (version 1) |
| Format | JSON over HTTPS, UTF-8. There is no XML version. |
| Authentication | Your key in the X-API-Key header, or as a Bearer token. Each key carries scopes: hotels.read, hotels.book, tours.read, tours.book, transfers.read and transfers.book. |
| Products | Hotels, attraction tickets and tours, and airport and city transfers (private or shared) |
| Hotel calls | Destinations, catalogue, search, rates, content, prebook, price check, book, cancel, one booking and your booking list |
| Prices | SGD by default, and every priced response carries a currency field. The price prebook confirms is the price you pay. |
| Payment | Prepaid wallet, debited when the booking confirms. API accounts are prepaid only. |
| Rate limits (per key) | 300 requests a minute for content and lookups, 120 for live search, rates and prebook, 30 for book and cancel. Above that you get a 429 and a Retry-After header. |
| Sandbox key | Works from any IP and sees a certification test hotel in Singapore at S$1 a night, fully refundable |
| Live key | Works only from the server IP addresses you register with us (exact addresses, no ranges) |
| Developer tools | A written guide, a searchable reference with cURL, PHP, Node.js and Python samples, an OpenAPI 3.0 file, a Postman collection and a browser console for sandbox keys |
Let me be direct about what this API does and doesn't do. It's a hotel booking API - you send requests, you get hotel data, you make bookings. It's not rocket science, but the devil's in the details.
| Protocol | REST over HTTPS (TLS 1.2+) |
| Format | JSON (default) or XML |
| Authentication | API Key + Secret (HMAC signature) |
| Rate Limits | 100 requests/minute (standard), higher on request |
| Environments | Sandbox (testing) + Production |
| Response Time | < 2 seconds average, 5 seconds timeout |
Here's the thing - not everyone needs API access. Our web portal handles 90% of use cases just fine. But there are situations where API integration makes sense:
If you're in the "probably don't need" category, start with our web portal first. You can always add API integration later. The rates and inventory are identical.
Plenty of developers search for a hotel XML API or a hotel XML feed, because that's how bedbank connections were built for years. Ours is JSON only. We don't run a parallel XML version, and we would rather you read that here than find out in week two of a build.
It matters less than it sounds. OpenTravel, a travel industry standards body, now writes about the shift from XML to JSON (opentravel.org), and every mainstream server language reads JSON without an extra library.
If your booking engine only speaks XML, put a thin translation layer on your own server. Your engine sends XML to that layer, and the layer calls us in JSON and maps the reply back. The field mapping is the real work. The transport is the easy bit.
| Ask the supplier | Why it matters | Our answer |
|---|---|---|
| Is there a price check before booking? | Prices move between search and book | Yes. Prebook returns the confirmed price, and that is the price you pay. |
| How long is a rate valid? | Stale rates fail at booking | The rate_token lasts 30 minutes |
| Are book and cancel idempotent? | A dropped connection should not mean a double charge | Yes, with an Idempotency-Key header, kept for 24 hours |
| How are cancellation deadlines returned? | The refund your client gets depends on it | Each rate carries is_refundable and cancellation_deadline. Our deadline is set earlier than the one we are given, which leaves you a buffer. |
| Are fees payable at the hotel shown? | Fees at check-in surprise guests | Yes. A rate can carry a pay_at_hotel amount and notes from the hotel. |
| Is there a sandbox? | You need somewhere to break things safely | Yes, with an S$1 refundable test hotel |
| Who handles a book-out? | Someone has to rehouse the guest | We do. If a hotel can't honour a confirmed booking, we reconfirm it or offer a hotel of equal or higher category nearby. |
If you landed here looking for the XML feed of a particular bedbank, HotelDO or Methabook for example, you need the documentation and contract of that company. The questions above still apply. For a side-by-side of a well-known XML connection and ours, read Rezlive XML compared with the DMC Quote API. Weighing up a large bedbank instead? Our Hotelbeds alternative page compares the two.
Static hotel data and live prices are separate calls. You store the content once and only go live for prices.
Every city you can book. Each city id is the city_id you pass to search and to the catalogue.
Every bookable hotel with its hotel_id, name, star rating, address, country code, coordinates and a thumbnail (null when we hold no photo). Up to 500 hotels a page. Filter by name, city_id or country, and pass updated_since for a daily refresh. No prices or availability here.
Description, the full photo gallery, facilities and map position. It rarely changes.
Certified partners store this hotel data on their side and refresh it at most once a day. Calling content on every page view burns through your rate limit and slows your site down.
One caveat on coverage. The catalogue lists hotels in the cities on the destinations list, so check that list against your markets before you build. Don't quote a headline hotel count to your own clients on the strength of a sales page, ours included.
A search through our API runs across several hotel sources plus the hotels we contract ourselves. Results are matched to one hotel record, so each property comes back once with one hotel_id, not three times under three supplier codes.
You won't see supplier names. Supplier identity, cost price and raw supplier codes never appear in a response, and rate identifiers are opaque tokens. You book with us, and if something goes wrong at the hotel, you deal with us.
Each rate then shows the room, meal plan, total and nightly price, refundability, the cancellation steps, any amount payable at the hotel, and whether a contracted rate is on request.
An aggregator is only as good as its hotel mapping. Ours scores matches on location, name, stars, phone and postcode, and doubtful ones go to a review queue. No mapping is perfect, though, so if a property looks wrong, send us the hotel_id.
This is the same hotel inventory agents book by hand in our B2B hotel booking portal. If you're still working out what a booking system API is and where it fits in an agency, start with that explainer.
Here's an overview of the main API endpoints. Full documentation is provided after registration, but this gives you a sense of the structure.
Search hotels by city, coordinates, or hotel IDs. Returns hotel list with room types and rates.
Create a new hotel reservation. Returns booking confirmation or error.
Get detailed hotel information including photos, amenities, policies.
Retrieve booking details and current status.
Modify an existing booking (dates, guest names, requests).
Cancel a booking. Cancellation fees applied based on policy.
Generate PDF or HTML voucher for the booking.
We use API Key + HMAC signature for authentication. It's more secure than basic auth and prevents replay attacks.
Sandbox uses separate credentials from production. You can test freely without affecting real inventory or charges. Sandbox data resets weekly.
Here are working examples in common languages. These are simplified - production code should include better error handling.
Here's what the typical integration timeline looks like:
You get a dedicated technical contact during integration. Most questions get answered within 2 hours during business hours. We've done this enough times to anticipate common issues.
This is a travel API for agencies, tour operators and booking sites with a developer on hand. Access isn't self-serve: there are five steps, and two of them involve signing something.
We don't charge for the key. You pay for what you book, at the price prebook confirms.
The step-by-step guide to integrating a booking API walks through each call, the error codes and the go-live checklist in order.
This won't suit you if you need to sell next week, want pay-later terms, or have no developer to look after the connection. Book through our travel agent booking software instead, which uses the same rates in a browser, or look at a white-label B2B travel portal if you want your own branded booking site without writing the integration.
Accept: application/xml header if you need XML responses. Both use REST architecture with standard HTTP methods.
Use our web portal if you don't need API integration - same inventory, no development required.
Building your own travel portal? This guide covers build vs buy decisions.
Overview of our complete hotel booking capabilities.
Questions about API integration? Our tech team can help.
API access is available to registered agents after initial portal usage. Start with the portal, then add API integration when you're ready.
Technical questions? Email [email protected] or call +65-8034-8190