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

HomeHotel API — 1.7M hotels, REST + JSON, 5% revenue share to developers

Hotel API — 1.7M hotels, REST + JSON, 5% revenue share to developers

A simple REST+JSON hotel API. No SDK required. JSON in, JSON out. 1.7M hotels, live availability and pricing, partner-key attribution, 5% revenue share.

What this is

hotel-api: developer landing page for the IMPT.io / Open Source Hotels REST API. Base URL: https://swarm.impt.io/api/widget/. Auth: X-Partner-Key header. Spec: https://swarm.impt.io/api/gpt/openapi.json.

Endpoints

MethodPathReturns
GET/api/widget/hotels?city=...Hotel list with live pricing
GET/api/widget/quote?hotel_id=...&checkin=...Firm quote, 5-min hold
POST/api/widget/intentBooking deeplink with partner-key embedded
POST/api/widget/trackAttribution event
GET/api/widget/qr/{key}.pngQR code PNG

Auth

Single header: X-Partner-Key: <your_key>. No OAuth flow.

Example: search Dublin hotels

// Direct REST (any platform)
GET https://swarm.impt.io/api/widget/hotels?city=Dublin&partner=<key>
GET https://swarm.impt.io/api/widget/quote?hotel_id=...&partner=<key>
POST https://swarm.impt.io/api/widget/intent  // create booking link

// JSON in, JSON out. No SDK required.

Rate limits

60 RPM default. 1 000 RPM for verified partners. 10 000 RPM for paid SLA tier.

Open spec

OpenAPI 3.1 manifest at https://swarm.impt.io/api/gpt/openapi.json. MCP manifest at /api/mcp/manifest. Both auto-generated, always up-to-date.

FAQ

Is there a Python / Node / Go SDK?

Optional. JSON is JSON. SDKs available on GitHub for convenience: @impt/oss-sdk-js, impt-oss-sdk (PyPI), impt/oss-sdk-go.

Sandbox?

Yes — sandbox keys with mock data. Email developers@impt.io.

Webhooks?

Booking confirmed / cancelled / refunded webhooks available; configure in dashboard.

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.