The Problem With Traditional Hotel Booking APIs
Developers who want to build hotel booking into their products have historically faced a daunting barriers. The major Global Distribution Systems โ AMADEUS, Sabre, and Travelport โ require multi-year commercial contracts with minimum booking volume commitments, complex technical integrations using industry-specific protocols (EDIFACT, NDC, OpenTravel), and significant implementation budgets measured in tens of thousands of euros.
Even OTA affiliate APIs (Booking.com, Expedia) require application, manual review, and API key approval that can take weeks. The practical result is that hotel booking API access has historically been restricted to well-funded travel startups and large travel companies โ not indie developers, small agencies, or content creators who want to add hotel functionality to a product.
ย
IMPT: A Free Hotel Booking API for Developers
IMPT provides a partner API that is accessible to any developer with a partner key. The API underpins the Swarm widget and supports the same hotel search, booking intent creation, and attribution mechanisms that power the standard web embed. Because the API is used to build affiliate integrations rather than standalone booking products, it is free to access โ IMPT earns from the confirmed booking margin, and the developer earns 5% commission on every booking the integration generates.
The base URL for the IMPT partner API is swarm.impt.io. The API documentation and endpoint references are available at swarm.impt.io (see API link in the footer). The API is RESTful, uses standard JSON responses, and authenticates via your partner key as a query parameter or HTTP header.
ย
Key IMPT API Capabilities
Hotel search
The hotel search endpoint accepts a city name or coordinates and returns available hotels with pricing, star ratings, and availability status from the IMPT inventory (8M+ hotels, 195 countries). Results are paginated and sortable by price, rating, or distance from city centre.
Booking intent creation
The intent creation endpoint generates a unique booking intent identifier (iid) linked to your partner key, the userโs destination, and optional metadata. The iid is appended to the redirect URL, ensuring attribution is preserved through the booking funnel to the payment confirmation webhook.
Attribution tracking
The attribution API allows developers to query the status of their booking intents โ pending, confirmed, cancelled โ and retrieve commission data for confirmed bookings. This is the data that populates the partner dashboard.
ย
Using the MIT Open-Source Code as a Free Starting Point
For developers who want more than API access, the IMPT widget codebase on GitHub is MIT licensed and freely forkable. The repository includes the full client-side widget implementation in vanilla JavaScript, the API integration layer for hotel search and intent creation, responsive CSS styling, and documentation for extending the widget with custom features. Forking the repository gives developers a working hotel booking integration that they can modify, rebrand, and deploy without starting from scratch. Every booking generated by a fork still routes through the IMPT platform, attributing commission to the developerโs partner key.
ย
Free Hotel Booking API Alternatives
Hotelbeds API
Hotelbeds provides a free developer tier for their hotel API (part of Apitude suite). The free tier is limited in transaction volume and geographical coverage. Commission structures vary and require commercial negotiation beyond the free tier.
RapidAPI Hotel Data providers
RapidAPI hosts several hotel data APIs (Priceline, Booking-com via unofficial scrapers, Hotels Provider) with free tier plans. These are typically rate-limited, not backed by official OTA partnerships, and should not be used for production booking applications due to terms-of-service risks.
AMADEUS for Developers (free tier)
AMADEUS offers a free developer sandbox via their developer portal (developers.amadeus.com). The sandbox provides access to test data but requires a production API agreement (commercial contract) for live bookings. Good for learning and prototyping; not viable for a free production integration.
ย
IMPT API vs Traditional GDS APIs: Honest Comparison
IMPT API: Free access | No contract | 5% commission earned per booking | 8M+ hotels | REST/JSON | 60-second setup | Ideal for: affiliates, publishers, app developers, content sites
AMADEUS API: Paid commercial contract | Volume commitments | Revenue sharing negotiated | 1M+ hotels | REST/JSON with proprietary extensions | Multi-week setup | Ideal for: travel agencies, large OTAs, enterprise travel management companies
For independent developers, startups, and content publishers, the IMPT free API is the practical choice. For enterprise-scale travel management applications requiring full GDS depth, AMADEUS or Sabre remain the industry standard.
ย
Frequently Asked Questions
Is the IMPT hotel booking API truly free?
Yes. Access to the IMPT partner API is free. IMPT earns from the booking margin when users complete hotel reservations; developers earn 5% commission on confirmed bookings. There is no API usage fee charged to developers.
Can I use the IMPT API to build a commercial product?
Yes. The MIT licence on the open-source widget and the partner API terms allow commercial use. You can build and sell products on top of the IMPT integration, as long as bookings route through the IMPT platform and attribution is maintained.
Is the API rate limited?
The IMPT partner API has rate limits appropriate to affiliate-scale traffic. Contact IMPT via impt.io for information on rate limits applicable to your expected traffic volume.
What format does the hotel search API return?
Hotel search results are returned as JSON arrays with hotel name, star rating, price (in the userโs local currency), availability status, and a booking deeplink. The schema is documented at swarm.impt.io under API Documentation.
ย
Start Building With the Free IMPT Hotel Booking API
Get your partner key at swarm.impt.io/widget. Fork the open-source repository on GitHub. Call the API endpoints to build your custom hotel booking integration. Every booking it generates earns 5% commission โ with 1 tonne COโ offset per stay. Build it free. Earn from day one.
Keep Reading / Similar Blogs
- Travel Blog Monetisation: 7 Ways to Earn โ Including Without Spending a Penny
- Shopify Hotel Widget: Add Hotel Booking to Your Shopify Store in 60 Seconds
- Wix Travel Widget: Add Hotel Booking to Your Wix Site Without Coding
- Squarespace Booking Embed: Add Hotel Search to Your Squarespace Site
- Hotel iFrame Embed Code: The Simplest Way to Add Booking to Any Page
- Travel Widget JavaScript: One Script Tag, 36 Channels, 5% Commission
- Hotel Search API: Compare Options and Start Building for Free in 2026
- White Label Travel API: Build a Branded Booking Product in 2026
- NGO Carbon Offset Widget: Add Climate Credibility to Your Charity Website
- Corporate Sustainability Widget: Show ESG Progress on Your Company Website
- Carbon Offset Widget for Your Website: Add Climate Action in 60 Seconds
- Climate Widget for Website: Show Visitors You Mean It on Sustainability
- Carbon Neutral Booking Widget: What It Is, How It Works, and Why It Matters
- Eco-Friendly Travel Widget: Make Every Hotel Booking Climate-Positive in 2026
- Sustainability Widget for Website: The Most Impactful Green Upgrade in 2026
- How to Embed a Carbon Calculator on Your Website (No Code Required)
- Best WordPress Hotel Booking Plugin for Affiliate Revenue in 2026
- WordPress Travel Widget: Add Live Hotel Search to Any WordPress Site
- Hotel Referral Widget: Turn Your Audience Into a Hotel Booking Revenue Stream
- How to Earn Commission on Hotel Bookings Without a Travel Agency
- Hotel Booking Widget: Add Live Hotel Search to Any Website in 60 Seconds
- How to Embed Hotel Booking on Any Website (Step-by-Step 2026)
- Best Travel Booking Widget for Your Website in 2026 (Full Comparison)
- White Label Hotel Widget: Launch a Branded Booking Tool Without Building Anything
- Embeddable Hotel Search: Turn Any Page Into a Booking Engine
- Hotel Widget for Website: The Easiest Way to Add Travel Bookings in 2026
- Best Travel Affiliate Widget: Earn Commission on Every Hotel Stay in 2026
- Hotel Affiliate Program Compared: Which Pays the Most in 2026?
- Best Hotel Affiliate Programs in 2026: Ranked by Commission and Cookie