# Price family rooms in Rome by children's ages

**Use case:** 

Prices Rome stays for two adults with children aged 5 and 9, keeping only the room rates that can actually host that party. Booking prices children by age rather than headcount, so this returns what a family would really pay instead of an adults-only rate with a note attached.

## Input

```json
{
  "mode": "search",
  "stayNights": 1,
  "rooms": 1,
  "adults": 2,
  "childrenAges": [
    5,
    9
  ],
  "currency": "USD",
  "language": "en-us",
  "searchBy": "auto",
  "search": "Rome",
  "hotel_ids": [],
  "accommodationTypes": [],
  "sortBy": "none",
  "sortDirection": "ascending",
  "includeRooms": true,
  "onlyFittingProducts": true,
  "includeDetails": false,
  "includeSurroundings": false,
  "includeReviews": false,
  "maxReviews": 10,
  "includeReviewScores": false,
  "includeExtraCharges": true,
  "roomsOnlyFitting": true,
  "roomsExtraCharges": true,
  "reviewsMax": 10,
  "outputFields": [],
  "maxItems": 20,
  "maxConcurrency": 10,
  "units": "metric",
  "exportExcel": false,
  "excelFileName": "OUTPUT.xlsx",
  "exportKml": false,
  "kmlFileName": "OUTPUT.kml",
  "kmlColorBy": "none",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "id": {
    "label": "ID",
    "format": "number"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "starRating": {
    "label": "Stars",
    "format": "number"
  },
  "reviewScore": {
    "label": "Review score",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "checkin": {
    "label": "Check-in",
    "format": "date"
  },
  "checkout": {
    "label": "Check-out",
    "format": "date"
  },
  "price": {
    "label": "Price",
    "format": "object"
  },
  "availability": {
    "label": "Availability",
    "format": "object"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "deep_link_url": {
    "label": "Deep link",
    "format": "text"
  },
  "products": {
    "label": "Products",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Booking.com Hotel Scraper – Prices, Room Rates & Reviews](https://apify.com/rl1987/booking-api-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/rl1987/booking-api-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/rl1987/booking-api-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`).
