[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Agoda hotel search](https://spiral.ai/integrations/claude-code/agoda-hotel-search)

# How to Use Agoda hotel search in Claude Code

Get properties for specific stay dates in a city or near a landmark, including nightly and stay totals. Use it to build a shortlist before checking individual rooms.

|  |  |
| --- | --- |
| Model | Agoda hotel search |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Agoda hotel search in Claude Code

- Use Agoda hotel search for Tokyo, April 10–13, 2027, for two adults in one room. Adapt my project's comparison view to the returned hotel results.
- Use Agoda hotel search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Agoda hotel search and tell me what changed since last week.
- Check Agoda hotel search and summarize what you find in three bullet points.
- Pull the newest data from Agoda hotel search and give me the result as a table.

## How to set up Agoda hotel search in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Agoda hotel search**: One request; the result comes back by polling or a webhook.

```bash
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/search",
    "input": {
      "city_id": 1
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Agoda hotel search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Agoda hotel search tools and prices

- [Agoda stays · Search](https://spiral.ai/tools/alexandria/agoda-com/hotels/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 100 | 1 | page |
| sort | recommended, price_asc, price_desc, review_score | recommended | sort |
| rooms | 1 to 9 | 1 | rooms |
| adults | 1 to 36 | 2 | adults |
| nights | 1 to 30 | 1 | nights |
| city_id | 1 to … | — | Agoda city id from `suggest` (kind city, or the city_id of any suggestion). With `landmark_id` it only scopes content; alone it searches the whole city. |

## What can you do with Agoda hotel search in Claude 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.

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

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Agoda hotel search in other agents

- [Amp](https://spiral.ai/integrations/amp/agoda-hotel-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/agoda-hotel-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/agoda-hotel-search)
- [Cline](https://spiral.ai/integrations/cline/agoda-hotel-search)
- [Codex](https://spiral.ai/integrations/codex/agoda-hotel-search)
- [Cursor](https://spiral.ai/integrations/cursor/agoda-hotel-search)
- [Devin](https://spiral.ai/integrations/devin/agoda-hotel-search)
- [dots](https://spiral.ai/integrations/dots/agoda-hotel-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/agoda-hotel-search)
- [Gemini](https://spiral.ai/integrations/gemini/agoda-hotel-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/agoda-hotel-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/agoda-hotel-search)
- [goose](https://spiral.ai/integrations/goose/agoda-hotel-search)
- [Grok](https://spiral.ai/integrations/grok/agoda-hotel-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/agoda-hotel-search)
- [Hermes](https://spiral.ai/integrations/hermes/agoda-hotel-search)
- [Instinct](https://spiral.ai/integrations/instinct/agoda-hotel-search)
- [Manus](https://spiral.ai/integrations/manus/agoda-hotel-search)
- [Muse](https://spiral.ai/integrations/muse/agoda-hotel-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/agoda-hotel-search)
- [n8n](https://spiral.ai/integrations/n8n/agoda-hotel-search)
- [Notion](https://spiral.ai/integrations/notion/agoda-hotel-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/agoda-hotel-search)
- [opencode](https://spiral.ai/integrations/opencode/agoda-hotel-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/agoda-hotel-search)
- [Raycast](https://spiral.ai/integrations/raycast/agoda-hotel-search)
- [VS Code](https://spiral.ai/integrations/vscode/agoda-hotel-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/agoda-hotel-search)
- [Zapier](https://spiral.ai/integrations/zapier/agoda-hotel-search)

## More Claude Code guides

- [Agoda hotel room availability](https://spiral.ai/integrations/claude-code/agoda-hotel-room-availability)
- [Agoda place and hotel suggestions](https://spiral.ai/integrations/claude-code/agoda-place-and-hotel-suggestions)
- [Agoda hotel reviews](https://spiral.ai/integrations/claude-code/agoda-hotel-reviews)
- [Agoda top destinations](https://spiral.ai/integrations/claude-code/agoda-top-destinations)
- [Agoda hotel FAQs](https://spiral.ai/integrations/claude-code/agoda-hotel-faqs)
- [Amtrak live train positions](https://spiral.ai/integrations/claude-code/amtrak-live-train-positions)

## Questions about Agoda hotel search in Claude Code

**Can Claude Code use Agoda hotel search?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Agoda hotel search like any built-in tool.

**How much does Agoda hotel search cost in Claude 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 Claude Code plan is separate.

**Do I need an Alexandria account to use Agoda hotel search in Claude Code?**

No. Spiral runs Agoda hotel search 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 search in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Agoda hotel search runs?**

Agoda hotel search runs in the background. Claude 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.

