# Agoda API Alternative: Three Hotels, JSON Out

**Use case:** 

Agoda has no public pricing API for the rest of us; this is the three-hotel replacement. Three ids, one stay, JSON out: nightly and total price with and without taxes, cancellation term, rooms left, stars, guest score and coordinates per property, plus a free status row each. Cost: 3 hotel rows at $0.004 = at most $0.01 a run.

## Input

```json
{
  "locationQueries": [],
  "startUrls": [],
  "hotelIds": [
    "6988894",
    "63820",
    "910"
  ],
  "hotelNames": [],
  "checkIn": "30 days",
  "nights": 1,
  "adults": 2,
  "children": 0,
  "childAges": [],
  "rooms": 1,
  "currency": "USD",
  "sortBy": "best_match",
  "maxHotelsPerQuery": 20,
  "maxPrice": 0,
  "minStars": 0,
  "minReviewScore": 0,
  "freeCancellationOnly": false,
  "includeSoldOut": false,
  "calendarDays": 0,
  "locale": "en-us",
  "sessions": 4,
  "perIp": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "hotel_name": {
    "label": "Hotel name",
    "format": "string"
  },
  "stars": {
    "label": "Stars",
    "format": "number"
  },
  "review_score": {
    "label": "Review score",
    "format": "number"
  },
  "price_nightly": {
    "label": "Nightly",
    "format": "number"
  },
  "price_total_with_taxes": {
    "label": "Total incl. taxes",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "free_cancellation": {
    "label": "Free cancellation",
    "format": "boolean"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "area": {
    "label": "Area",
    "format": "string"
  },
  "check_in": {
    "label": "Check in",
    "format": "string"
  },
  "nights": {
    "label": "Nights",
    "format": "integer"
  },
  "rank": {
    "label": "Rank",
    "format": "integer"
  },
  "url": {
    "label": "Page",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Agoda Prices Scraper — Hotel Rates & Availability by Date](https://apify.com/kestrel/agoda-prices-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kestrel/agoda-prices-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kestrel/agoda-prices-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
