Open Source HotelsEarn 5% from 1.7M hotels
Try the widget live
Book a hotel in Ireland — same widget your partners embed.
1.7M hotels · same price as Booking.com · 1 tonne UN-verified CO₂ retired per stay.
Open the booking widget →

Get your embed code in 30 seconds

Pick your payout method. Receive an instant key + ready-to-paste snippet. We email you the verify link.

Embed anywhere your community lives — 36 ready-made integrations

It does not matter where your audience hangs out: web, messenger, social, work, point-of-sale, voice, AI assistant. Pick one or all.

See every channel live and download the snippet → swarm.impt.io/tools

HomeBooking API — create real hotel bookings programmatically

Booking API — create real hotel bookings programmatically

Two calls to create a real hotel booking: <code>quote</code> for a firm price, <code>intent</code> for a deeplink the user pays through. Cancel and refund APIs also available.

What this is

booking-api targets developers integrating actual booking creation (not just search). Note: regulated payment flow forces final payment through swarm.impt.io rather than direct API charge.

The booking flow in 3 calls

  1. GET /api/widget/hotels?city=Dublin — find a hotel.
  2. GET /api/widget/quote?hotel_id=...&checkin=... — firm quote, 5-min hold.
  3. POST /api/widget/intent — returns a deeplink the user pays through.

You can't directly charge a card via the API — PCI / regulatory reasons. The deeplink runs through our PCI-scoped checkout, then redirects back to your site with a confirmation token.

Confirmation webhook

POST https://your-site.com/webhooks/booking-confirmed
{
  "booking_id": "bk_...",
  "partner_key": "...",
  "hotel_id": "htl_...",
  "total": 234.50,
  "commission": 11.73,
  "status": "confirmed"
}

Cancellation & refund

POST /api/widget/cancel with the booking ID. Refunds processed per the hotel's cancellation policy (24h / 48h / non-refundable).

FAQ

Can I charge the card on my Stripe account?

Yes via Stripe Connect for verified partners — we onboard you to the connected-account flow. Default flow uses our merchant account.

How do I test bookings without paying?

Sandbox keys + Stripe test cards. Bookings flagged test=true in webhooks.

What does it cost?

€0 setup, €0 monthly. We pay you 5% on every confirmed booking your link drives.

How long is the cookie?

90 days. Click today, book in 89 days — you still earn the commission.

How is commission paid?

Monthly. Stripe / Wise / IBAN / PayPal / IMPT card / IMPT token. €50 minimum payout. Live tracker at swarm.impt.io/partners/dashboard.

Do my followers pay more?

No — same price as Booking.com or direct. Plus 1 tonne UN-verified CO₂ retired on Ethereum per booking. They lose nothing; you earn 5%.

How big is the inventory?

1.7M hotels in 195 countries via the IMPT.io hotel API. Live availability and pricing.

Is the widget really open source?

Yes — MIT licensed on GitHub. Fork it, self-host the front-end, hit our API for inventory and attribution.

Can I see real-time stats?

Yes — partner dashboard at swarm.impt.io/partners/dashboard shows clicks, bookings, earned, payable.

What's the catch?

There isn't one. We share 5 percentage points of the hotel commission with you and burn 1 t CO₂. Climate-positive affiliate, no upsell, no retainer.

How it works — 3 steps

1

Sign up free

Two-minute partner sign-up at swarm.impt.io. No setup fee.

2

Paste the embed

Copy one line of HTML or pick from 36 channel adapters.

3

Earn on every booking

5% on confirmed stays. 90-day cookie. Paid monthly.