# Agoda Room Prices for a Family in Two Rooms, Bali

**Use case:** 

Occupancy changes the answer: two adults, two children aged 5 and 9 and two rooms for five nights in Bali, priced in AUD. Agoda quotes the cheapest room that fits the party, so price_nightly is per room and the totals cover both rooms for the stay. This is the cheapest room per property, not the full room grid. Cost: 30 hotel rows at $0.004 = at most $0.12 a run.

## Input

```json
{
  "locationQueries": [
    "Bali"
  ],
  "startUrls": [],
  "hotelIds": [],
  "hotelNames": [],
  "checkIn": "60 days",
  "nights": 5,
  "adults": 2,
  "children": 2,
  "childAges": [
    "5",
    "9"
  ],
  "rooms": 2,
  "currency": "AUD",
  "sortBy": "best_match",
  "maxHotelsPerQuery": 30,
  "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`).
