# Shanghai Hotel Prices in CNY (上海酒店价格)

**Use case:** 

上海酒店价格：在 Google Hotels 中国市场用简体中文搜索“上海酒店”，返回 30 家酒店的每晚价格和整段住宿总价（人民币）。 The same search in English works too; prices are per night and per stay in CNY, with the deal note where Google shows one. Cost: 30 hotel rows at $0.004 = at most $0.12 a run.

## Input

```json
{
  "queries": [
    "上海酒店"
  ],
  "hotels": [],
  "hotelNames": [],
  "checkIn": "30 days",
  "checkOut": "32 days",
  "sweepDays": 0,
  "adults": 2,
  "childrenAges": [],
  "currency": "CNY",
  "language": "zh-CN",
  "country": "cn",
  "maxHotels": 30,
  "sortBy": "relevance",
  "freeCancellation": false,
  "minPrice": 0,
  "maxPrice": 0,
  "minRating": "any",
  "hotelClass": [],
  "amenities": [],
  "specialOffers": false,
  "includeOffers": false,
  "offerLevel": "sources",
  "maxOffersPerHotel": 0,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "sessions": 4,
  "perIp": 0.5
}
```

## Output

```json
{
  "rank": {
    "label": "#",
    "format": "integer"
  },
  "name": {
    "label": "Hotel",
    "format": "string"
  },
  "nightly": {
    "label": "Nightly",
    "format": "number"
  },
  "total": {
    "label": "Stay total",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "stars": {
    "label": "Stars",
    "format": "integer"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviews": {
    "label": "Reviews",
    "format": "integer"
  },
  "deal": {
    "label": "Deal",
    "format": "string"
  },
  "source": {
    "label": "Lowest from",
    "format": "string"
  },
  "check_in": {
    "label": "Check-in",
    "format": "string"
  },
  "check_out": {
    "label": "Check-out",
    "format": "string"
  },
  "nights": {
    "label": "Nights",
    "format": "integer"
  },
  "query": {
    "label": "Search",
    "format": "string"
  },
  "entity_id": {
    "label": "Entity id",
    "format": "string"
  },
  "website": {
    "label": "Website",
    "format": "string"
  },
  "maps_url": {
    "label": "Maps",
    "format": "string"
  },
  "google_url": {
    "label": "Google Hotels",
    "format": "string"
  },
  "thumbnail": {
    "label": "Photo",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Hotels Prices Scraper & API — OTA Rates, Rate Parity](https://apify.com/kestrel/google-hotels-prices.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kestrel/google-hotels-prices.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/google-hotels-prices.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`).
