How to Use Expedia UK hotel room availability in opencode
Returns dated room offers for a selected Expedia hotel, including cancellation and meal text where supplied. Use it to compare room offers after choosing a hotel.
Prompts to try with Expedia UK hotel room availability in opencode
Copy an example into opencode, or ask in your own words.
Use Expedia UK hotel room availability for The Grand Brighton, after finding its Expedia listing, for January 22–24, 2027, for two adults. Add a comparison of the supplied cancellation and meal text to my project.
Use Expedia UK hotel room availability to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Expedia UK hotel room availability and tell me what changed since last week.
Check Expedia UK hotel room availability and summarize what you find in three bullet points.
Pull the newest data from Expedia UK hotel room availability and give me the result as a table.
How to set up Expedia UK hotel room availability in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Expedia UK hotel room availability
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "expedia-co-uk/hotels/availability", "input": { "hotel_id": "<hotel_id>" } }'
Then paste one of the prompts above: opencode finds Expedia UK hotel room availability on Spiral, shows the price and runs it.
Expedia UK hotel room availability providers and prices
Spiral runs Expedia UK hotel room availability through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Adults | 1 to 8 | 2 | adults |
Every API field of Expedia UK hotels · Availability is on its tool page: open its card above.
What can you do with Expedia UK hotel room availability in opencode?
Build a personal trip planner that carries an Expedia destination through hotel selection to room-offer comparison. Keep cancellation and meal text beside each offer so the interface preserves the conditions behind a choice.
Compare two weekend destinations
Resolve Bath and York, find hotels for the same weekend, and inspect room offers at the shortlisted properties before choosing a destination.
Find a stay with cancellation flexibility
Identify Edinburgh, shortlist hotels for a planned stay, and compare the cancellation text supplied with their room offers.
Compare breakfast arrangements
Resolve Brighton, select hotels for a seaside break, and summarize the meal-plan wording returned for their rooms.
Check alternative travel dates
Identify Oxford, compare hotel offers across two possible weekends, and inspect the room choices at properties worth considering.
Prepare a personal trip shortlist
Resolve Chester, gather hotel candidates for a two-night visit, and attach the supplied cancellation and meal details to the final choices.
Reconsider a hotel before booking
Confirm the intended Cambridge destination, repeat the dated hotel search, and inspect the selected property's current room offers before making a decision.
More on Expedia UK hotel room availability and opencode
Overview
Expedia UK hotel room availability in other agents
Questions about Expedia UK hotel room availability in opencode
Can opencode use Expedia UK hotel room availability?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Expedia UK hotel room availability like any built-in tool.
How much does Expedia UK hotel room availability cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Expedia UK hotel room availability in opencode?
No. Spiral runs Expedia UK hotel room availability on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Expedia UK hotel room availability in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Expedia UK hotel room availability runs?
Expedia UK hotel room availability runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does Expedia cover every hotel in a destination?
No. Expedia explicitly says its travel options are not exhaustive, so an absent hotel does not establish that the property is unavailable elsewhere.
How long do Expedia offers stay current?
Expedia says prices can change at any time. A returned offer is not a promise that the same offer will remain available when you decide to book.
Does the first hotel result mean the best deal?
Expedia can rank properties offering more commission or compensation higher when offers are similar. Position alone is not an independent judgment of value.
Will loading more results reveal every booking option?
Not necessarily. Expedia reserves the right to display a selection rather than all possible booking options in destinations with high availability.
Does public visibility permit automated collection?
Expedia's consumer terms prohibit automated access, monitoring, and copying of its content. Those terms do not themselves grant permission for automated collection.
Start using Expedia UK hotel room availability in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


