Open Source Hotels从170万家酒店中赚取5%佣金
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 →

30秒内获取你的嵌入代码

选择你的收款方式。立即获得密钥和可粘贴的代码片段。

在你社群所在的任何地方嵌入 — 36种现成集成

无论你的受众在哪里:网页、即时通讯、社交、工作、销售点、语音、AI助手。任选其一或全部。

实时查看每个渠道并下载代码片段 → swarm.impt.io/tools

HomeBooking API — create real 酒店预订 programmatically

Booking API — create real 酒店预订 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.

这是什么

Open Source Hotels 是首个开源酒店联盟计划:5% 佣金、90天 Cookie、MIT 协议小部件,每次预订抵消1吨二氧化碳。

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).

常见问题

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.

费用是多少?

0元设置费,0元月费。每笔确认的预订我们付你5%。

Cookie有效期多长?

90天。今天点击,89天后预订——你仍然获得佣金。

佣金如何支付?

每月一次。Stripe、Wise、银行转账、PayPal、IMPT卡或IMPT代币。最低50欧元。

我的关注者会多付钱吗?

不会——价格与Booking.com相同。每次预订还会抵消1吨联合国认证的二氧化碳。

库存有多大?

通过IMPT.io酒店API,在195个国家提供170万家酒店。

小部件真的是开源的吗?

是的——GitHub上的MIT协议。可以分叉、自托管、调用我们的API。

我能看到实时统计吗?

可以——合作伙伴仪表板在swarm.impt.io/partners/dashboard。

有什么陷阱吗?

没有陷阱。我们与你分享5个百分点的酒店佣金,并销毁1吨二氧化碳。

工作原理 — 3步

1

1

swarm.impt.io · sign up · 2 min

2

2

paste embed

3

3

5% · 90 days · monthly payout