App Logo
airbnb.com

Cancel an Airbnb reservation

TL;DR

Automatically cancel an Airbnb reservation on airbnb.com. Cancel one of your Airbnb stays as the guest, after you see the refund Airbnb grants.

About

Give it the confirmation code. The first call shows what you paid and the refund under the cancellation policy, and changes nothing. The second call, with confirm, cancels the stay as you only if the refund terms did not change, and Airbnb tells the host at once. A stay that is already cancelled or that Airbnb no longer lets you cancel fails and nothing changes. It needs a browser signed in to Airbnb.

Inputs

code required

Reservation confirmation code, e.g. HMEZNST29K (Confirm an Airbnb booking returns it).

confirm optional

false (default) only reviews: returns what you paid, the refund, and a reviewHash, and cancels nothing. true cancels, and needs the reviewHash from the review.

Default: false
reasonId optional

Airbnb's cancellation reason code: 101 I no longer need accommodations (default), 102 I made the reservation by accident.

Default: "101"
reviewHash optional

The reviewHash a review call returned. Required with confirm: the cancellation goes through only if the refund terms still match it.

Output

code required
status required

The reservation's status, as Airbnb names it, e.g. ACCEPTED before or CANCELED_BY_GUEST after.

cancelled required

true only after a confirmed cancellation; false for a review.

reviewHash required

Hash of the reservation, reason, paid and refund shown; pass it back with confirm:true to cancel.

paid optional
refund optional

The total refund Airbnb shows on the cancellation screen.

FAQ

Cancel one of your Airbnb stay reservations by confirmation code, as the guest, in two steps. First call without confirm: it shows what you paid and the refund Airbnb grants under the reservation's cancellation policy, with a reviewHash, and changes nothing. Then call with confirm true and that reviewHash to cancel: it goes through only if the refund terms are unchanged, and returns the reservation's status afterwards. A reservation that is already cancelled, or that Airbnb no longer lets you cancel, fails with a clear error and nothing changes. The host is told at once.
Ask an AI agent connected to Reduck to run reduck/airbnb.com/cancel_reservation, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/airbnb.com/cancel_reservation
You do not need one. "Cancel an Airbnb reservation" drives the real airbnb.com pages in a browser, so it works whether or not airbnb.com offers an API for this.
Required: code. Optional: confirm, reasonId, reviewHash.
It returns code, paid, refund, status, cancelled, reviewHash.
Yes. It acts as you on airbnb.com: in your browser it reuses your session, and on a cloud browser it loads your Auth session cookies for airbnb.com.
It makes changes on airbnb.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/airbnb.com/cancel_reservation, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/airbnb.com/cancel_reservation
It is one of Reduck's official scripts.

Start building not clicking