[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Agoda hotel room availability](https://spiral.ai/integrations/opencode/agoda-hotel-room-availability)

# How to Use Agoda hotel room availability in opencode

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.

|  |  |
| --- | --- |
| Model | Agoda hotel room availability |
| 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 room availability in opencode

- 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 opencode

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

### Use Spiral's MCP server

1. **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.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 room availability**: 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/property_rooms",
    "input": {
      "property_id": 1
    }
  }'
```

Then paste one of the prompts above: opencode finds Agoda hotel room availability on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Agoda hotel room availability tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| rooms | 1 to 9 | 1 | rooms |
| adults | 1 to 36 | 2 | adults |
| nights | 1 to 30 | 1 | nights |
| check_in |  | — | Check-in date YYYY-MM-DD, today or later. Default: 30 days from today. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| children | 0 to 9 | 0 | children |
| currency |  | USD | Pattern: ^[A-Za-z]{3}$. |

## What can you do with Agoda hotel room availability in opencode?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Agoda hotel room availability in other agents

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

## More opencode guides

- [Agoda hotel reviews](https://spiral.ai/integrations/opencode/agoda-hotel-reviews)
- [Agoda hotel search](https://spiral.ai/integrations/opencode/agoda-hotel-search)
- [Agoda hotel FAQs](https://spiral.ai/integrations/opencode/agoda-hotel-faqs)
- [Agoda place and hotel suggestions](https://spiral.ai/integrations/opencode/agoda-place-and-hotel-suggestions)
- [Zillow rental search](https://spiral.ai/integrations/opencode/zillow-rental-search)
- [Agoda top destinations](https://spiral.ai/integrations/opencode/agoda-top-destinations)

## Questions about Agoda hotel room availability in opencode

**Can opencode use Agoda hotel room availability?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Agoda hotel room availability like any built-in tool.

**How much does Agoda 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 Agoda hotel room availability in opencode?**

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 opencode?**

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

**Does opencode wait while Agoda hotel room availability runs?**

Agoda hotel room availability runs in the background. opencode 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.

