Open Source HotelsEarn 5% from 1.7M hotels
Try the widget live
Book a hotel in Widget — 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 widget — embed hotel search and booking on any site, free

Hotel widget — embed hotel search and booking on any site, free

A drop-in hotel widget for any website. One line of HTML, 1.7M hotels in inventory, 5% of every confirmed booking goes to you. Free, no setup fee, MIT licensed.

What this is

hotel-widget is a generic head-term page for the Open Source Hotels embeddable hotel widget. Pitched at site owners looking to add hotel search to their website.

What a hotel widget is

A hotel widget is a small embeddable component that lets visitors of your site search hotels, see live availability and pricing, and book — without leaving your domain. Done well, it earns you commission. Done badly, it slows your page and pays nothing.

What we built differently

Embed code

// Standard embed (works anywhere HTML works)
<div data-oss-hotels data-key="<your_key>" data-city="Dublin"></div>
<script src="https://swarm.impt.io/widget.js" async></script>

Customisation

Default colours match a neutral cream/green palette; override every CSS variable via --oss-*. Set a default city, default check-in window, max results, currency. Full options in the README on GitHub.

Performance budget

The widget enforces a strict perf budget: 14 KB JS gz, no synchronous fetches, no layout shift on load. If you find a regression, file an issue on the repo — we treat any LCP/CLS regression as a P0.

FAQ

Does the widget slow my page?

It loads async with rel=preload + defer. First-contentful-paint stays under 1.5 s on a 4G mobile.

Can I style it to match my site?

Yes — every colour is a CSS variable. Or fork the source and replace entirely.

Is the inventory live?

Yes — every render hits live availability and pricing from our 1.7M hotel catalogue.

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.