How to Use Agoda hotel room availability in VS Code
Get dated room offers with room types, stay totals, tax and fee lines, and cancellation terms. Use it to compare the actual room choices at one property.
Prompts to try with Agoda hotel room availability in VS Code
Copy an example into VS Code, or ask in your own words.
Use Agoda hotel room availability for The Fullerton Hotel Singapore, April 10–12, 2027, for two adults. Update my project's room comparison to show cancellation terms beside each offer.
Use Agoda 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 Agoda hotel room availability and tell me what changed since last week.
Check Agoda hotel room availability and summarize what you find in three bullet points.
Pull the newest data from Agoda hotel room availability and give me the result as a table.
How to set up Agoda hotel room availability in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 Agoda 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": "agoda-com/hotels/property_rooms", "input": { "property_id": 1 } }'
Then paste one of the prompts above: VS Code finds Agoda hotel room availability on Spiral, shows the price and runs it.
Agoda hotel room availability providers and prices
Spiral runs Agoda hotel room availability through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Property ID | a number from 1 | Agoda property id (hotel id) from | |
| Rooms | 1 to 9 | 1 | rooms |
| Adults | 1 to 36 | 2 | adults |
| Nights | 1 to 30 | 1 | nights |
| Children | 0 to 9 | 0 | children |
Every API field of Agoda stays · Property rooms is on its tool page: open its card above.
What can you do with Agoda hotel room availability in VS Code?
Build a trip planner that takes a destination idea through hotel comparison to a practical stay brief. Keep Agoda's place matches, room offers, published FAQs, and guest feedback distinct in the project's data model.
Choose a weekend destination and stay
Start with destination ideas, resolve place names, and search a fixed weekend. Compare room terms, published FAQs, and guest feedback before selecting a stay.
Prepare an office retreat shortlist
Use destination lists to propose cities and suggestions to identify each location. Compare dated hotel results, room offers, meeting-related FAQs, and guest feedback for the retreat brief.
Compare domestic and international trip ideas
Build two destination shortlists, resolve the cities, and search identical travel dates. Evaluate each option through room cancellation terms, property FAQs, and published guest experiences.
Evaluate a travel assistant's answers
Test destination discovery, ambiguous place matching, hotel shortlisting, and room selection with real Agoda results. Check whether the assistant keeps property FAQs, guest opinions, and room cancellation terms distinct.
Check a hotel before committing
Resolve the intended hotel, read its practical FAQs, compare guest feedback, and inspect cancellation terms for the proposed dates.
Find accommodation near an event venue
Identify a venue such as Tokyo International Forum, search nearby stays, and compare room offers. Use FAQs and guest reviews to investigate practical concerns before choosing.
More on Agoda hotel room availability and VS Code
Overview
Agoda hotel room availability in other agents
Questions about Agoda hotel room availability in VS Code
Can VS Code use Agoda hotel room availability?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Agoda hotel room availability like any built-in tool.
How much does Agoda hotel room availability cost in VS Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.
Do I need an Alexandria account to use Agoda hotel room availability in VS Code?
No. Spiral runs Agoda 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 Agoda hotel room availability in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Agoda hotel room availability runs?
Agoda hotel room availability runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Does Agoda cover accommodation outside Asia?
Yes. Agoda describes a worldwide network of over 4.5 million hotels and vacation rentals. That network figure does not establish how many properties a particular query will return.
Who writes Agoda's guest reviews?
Agoda requests reviews from customers after checkout and moderates submissions before publication. Its review scores run from 1 to 10, with separate categories such as cleanliness and location.
How far back do Agoda reviews go?
Agoda may accept submissions only within 12 months after checkout and may stop showing reviews older than up to 36 months. An ownership change can also cause older reviews to disappear.
Are new guest reviews published immediately?
Agoda says each review must be approved by its content team before appearing on the website. Review results therefore reflect published submissions, with moderation occurring before publication.
Does Agoda independently verify hotel star ratings?
No. Star ratings are supplied by travel suppliers, and Agoda says it does not independently verify them or guarantee consistency with other platforms.
Start using Agoda hotel room availability in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


