# Booking Hôtel Info Scraper

Scrape hotel information (hotel name, description, price, location, etc.) from Booking with URLs input

- Template page: [https://www.octoparse.com/template/booking-hotel-info-scraper](https://www.octoparse.com/template/booking-hotel-info-scraper)
- Categories: Travel
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## Pricing

Current price: **$0.3/1,000 lines**. Billing is based on output rows; an Octoparse subscription may be required.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from detail pages.

## Output

The current workflow extracts 14 fields, including `Adresse`, `Appréciation`, `Chambre`, `Disponibilité`, `Expérience`, `Lit`, `Nom`, `Note`, `Prix`, `Prix_Nuit`, `Rating`, `Tag`, `Taxe`, `URL_detail`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete URLs (up to 1000), PageSize(The default maximum 11 pages) and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### URLs (up to 1000)

Required. URLs Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=10000.

### PageSize(The default maximum 11 pages)

Optional. PageSize Constraints: minimum=, maximum=11.

## How to Use

# Booking Hôtel Info Scraper

Collects hotel information (hotel name, description, price, location, etc.) from [Booking.com](https://www.booking.com/) using input URLs.

## Pricing

- Current price: **$0.3 / 1,000 lines**
- Billing is based on the number of output lines produced by the task.

## Inputs

- **URLs (up to 1000)** (required): enter one or more values, one per line.
- **PageSize(The default maximum 11 pages)** (optional): enter a number up to 11.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields listed above.
3. Run the task in the cloud.
4. Review the output rows and export or process the structured data.

## Output

Returns hotel search-result fields: `Nom`, `Adresse`, `Chambre`, `Lit`, `Disponibilité`, `Appréciation`, `Expérience`, `Note`, `Prix_Nuit`, `Prix`, `Taxe`, `Rating`, `Tag`, `URL_detail`.

## Cloud and Export

- Run in the cloud without keeping a local computer online.
- Export rows to CSV, Excel, JSON, databases, or cloud storage.
- Schedule recurring runs and reuse data through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).
- Scheduling and API access may require a paid Octoparse plan.

## Limitations

- Collects only the fields listed in Output from search-results pages; it does not add data that Booking.com does not display.
- Fields such as `Rating`, `Tag`, and `URL_detail` can be empty when the source record does not provide them.

## Tips

- Start with one or a few inputs and review the returned rows before scaling the task.
- Use the most specific valid URLs (up to 1000) to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the collected fields as the deduplication key when available.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [TripAdvisor Hôtel Info Scraper](https://www.octoparse.com/template/tripadvisor-hotel-info-scraper)
- [Booking Japan Listings Scraper](https://www.octoparse.com/template/booking-com-hotel-listings-scraper)
- [Booking Hotel Listing Scraper (for germany)](https://www.octoparse.com/template/booking-hotel-listing-scraper-for-germany)
- [Booking Details Scraper for Spanish](https://www.octoparse.com/template/booking-hotel-detalles-scraper)
- [Booking Review Scraper for Spain](https://www.octoparse.com/template/booking-resena-scraper)

## Input Schema

```json
{
  "title": "Booking Hôtel Info Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRLs": {
      "title": "URLs (up to 1000)",
      "description": "URLs",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "pageSize": {
      "title": "PageSize(The default maximum 11 pages)",
      "description": "PageSize",
      "type": "integer",
      "maximum": 11,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "uRLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "pageSize": 5,
  "uRLs": [
    "https://www.booking.com/searchresults.ja.html?ss=%E6%9D%B1%E4%BA%AC%2C+%E6%97%A5%E6%9C%AC&efdco=1&label=ja-row-booking-desktop-FFmx_HGnreJPinCwdz44RAS655523704756%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-65526620%3Alp9237749%3Ali%3Adec%3Adm&aid=2311236&lang=ja&sb=1&src_elem=sb&src=index&dest_id=-246227&dest_type=city&checkin=2026-12-01&checkout=2026-12-31&group_adults=2&no_rooms=1&group_children=0"
  ]
}
```

Example 2

```json
{
  "pageSize": 1,
  "uRLs": [
    "https://www.booking.com/searchresults.fr.html?aid=202160&label=mkt123sc-1e781fd6-1df7-438c-acda-b40d8404802c&dest_id=-1456928&dest_type=city&group_adults=2&req_adults=2&no_rooms=1&group_children=0&req_children=0"
  ]
}
```

Example 3

```json
{
  "pageSize": 1,
  "uRLs": [
    "https://www.booking.com/searchresults.fr.html?aid=202160&label=mkt123sc-1e781fd6-1df7-438c-acda-b40d8404802c&dest_id=-1456928&dest_type=city&group_adults=2&req_adults=2&no_rooms=1&group_children=0&req_children=0"
  ]
}
```

Example 4

```json
{
  "pageSize": 1,
  "uRLs": [
    "https://www.booking.com/searchresults.fr.html?ss=10+Rue+Jenner&lang=fr&dest_type=latlong&latitude=48.8345286&longitude=2.3641121&checkin=2026-08-06&checkout=2026-08-07&group_adults=2&no_rooms=1&group_children=0&selected_currency=EUR&nflt=ht_id%3D204%3Bclass%3D3%3Bdistance%3D3000&rows=26&offset=0"
  ]
}
```

Example 5

```json
{
  "uRLs": [
    "https://www.booking.com/searchresults.fr.html?label=gen173nr-10CAEoggI46AdIM1gEaE2IAQGYATO4ARfIAQzYAQPoAQH4AQGIAgGoAgG4AovDzdMGwAIB0gIkZTIyZjliYmQtNjk5OS00MTE5LTg1ZGQtODhlYjhlMzEyYTJk2AIB4AIB&aid=304142&ss=10+Rue+Jenner&efdco=1&lang=fr&src=index&dest_id=ChIJ-XXpvYpx5kcRi-x0N0W_4I4&dest_type=latlong&latitude=48.8345286&longitude=2.3641121&ac_position=0&ac_click_type=g&ac_langcode=fr&ac_suggestion_list_length=5&search_selected=true&search_pageview_id=71697245fa7509e7&checkin=2026-08-05&checkout=2026-08-06&group_adults=2&no_rooms=1&group_children=0&nflt=ht_id%3D204%3Bdistance%3D1000%3Bclass%3D3"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Adresse": {
      "type": "string",
      "description": ""
    },
    "Appréciation": {
      "type": "string",
      "description": ""
    },
    "Chambre": {
      "type": "string",
      "description": ""
    },
    "Disponibilité": {
      "type": "string",
      "description": ""
    },
    "Expérience": {
      "type": "string",
      "description": ""
    },
    "Lit": {
      "type": "string",
      "description": ""
    },
    "Nom": {
      "type": "string",
      "description": ""
    },
    "Note": {
      "type": "string",
      "description": ""
    },
    "Prix": {
      "type": "string",
      "description": ""
    },
    "Prix_Nuit": {
      "type": "string",
      "description": ""
    },
    "Rating": {
      "type": "string",
      "description": ""
    },
    "Tag": {
      "type": "string",
      "description": ""
    },
    "Taxe": {
      "type": "string",
      "description": ""
    },
    "URL_detail": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Booking Hôtel Info Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Adresse": "新宿区, 東京 中心部から2.7km",
  "Appréciation": "とても良い",
  "Chambre": "ダブルルーム　禁煙 ",
  "Disponibilité": "",
  "Expérience": "12606",
  "Lit": "1 lit double",
  "Nom": "ホテルグレイスリー新宿",
  "Note": "8.3",
  "Prix": "€ 6,711",
  "Prix_Nuit": "1 nuit, 2 adultes",
  "Rating": "4.0",
  "Tag": "年末セール",
  "Taxe": "税・手数料込",
  "URL_detail": "https://www.booking.com/hotel/fr/gracery-shinjuku.fr.html"
}
```

Example 2

```json
{
  "Adresse": "17e arr., Paris 5,3 km du centre",
  "Appréciation": "Très bien",
  "Chambre": "",
  "Disponibilité": "",
  "Expérience": "2017",
  "Lit": "None",
  "Nom": "Hotel Armoni Paris",
  "Note": "8.2",
  "Prix": "",
  "Prix_Nuit": "1 nuit, 2 adultes",
  "Rating": "4.0",
  "Tag": "",
  "Taxe": "",
  "URL_detail": "https://www.booking.com/hotel/fr/armoni-paris.fr.html"
}
```

Example 3

```json
{
  "Adresse": "17e arr., Paris 5,3 km du centre",
  "Appréciation": "Très bien",
  "Chambre": "",
  "Disponibilité": "",
  "Expérience": "2016",
  "Lit": "None",
  "Nom": "Hotel Armoni Paris",
  "Note": "8.2",
  "Prix": "",
  "Prix_Nuit": "1 nuit, 2 adultes",
  "Rating": "4.0",
  "Tag": "",
  "Taxe": "",
  "URL_detail": "https://www.booking.com/hotel/fr/armoni-paris.fr.html"
}
```

Example 4

```json
{
  "Adresse": "7e arr., Paris 3,2 km du centre",
  "Appréciation": "Superbe",
  "Chambre": "Chambre Classique",
  "Disponibilité": "Plus que 3 disponibles à ce tarif",
  "Expérience": "536",
  "Lit": "1 grand lit double",
  "Nom": "Le Cinq Codet",
  "Note": "8.6",
  "Prix": "€ 314",
  "Prix_Nuit": "1 nuit, 2 adultes",
  "Rating": "5.0",
  "Tag": "Offre Saisonnière",
  "Taxe": "Taxes et frais compris",
  "URL_detail": "https://www.booking.com/hotel/fr/le-cinq-codet.fr.html"
}
```

Example 5

```json
{
  "Adresse": "7e arr., Paris 3,2 km du centre",
  "Appréciation": "Superbe",
  "Chambre": "Chambre Classique",
  "Disponibilité": "Plus que 4 disponibles à ce tarif",
  "Expérience": "536",
  "Lit": "1 grand lit double",
  "Nom": "Le Cinq Codet",
  "Note": "8.6",
  "Prix": "€ 310",
  "Prix_Nuit": "1 nuit, 2 adultes",
  "Rating": "5.0",
  "Tag": "Offre Saisonnière",
  "Taxe": "Taxes et frais compris",
  "URL_detail": "https://www.booking.com/hotel/fr/le-cinq-codet.fr.html"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "booking-hotel-info-scraper",
  "taskName": "Booking Hôtel Info Scraper",
  "parameters": "{\"pageSize\":5,\"uRLs\":[\"https://www.booking.com/searchresults.ja.html?ss=%E6%9D%B1%E4%BA%AC%2C+%E6%97%A5%E6%9C%AC&efdco=1&label=ja-row-booking-desktop-FFmx_HGnreJPinCwdz44RAS655523704756%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-65526620%3Alp9237749%3Ali%3Adec%3Adm&aid=2311236&lang=ja&sb=1&src_elem=sb&src=index&dest_id=-246227&dest_type=city&checkin=2026-12-01&checkout=2026-12-31&group_adults=2&no_rooms=1&group_children=0\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"pageSize\":5,\"uRLs\":[\"https://www.booking.com/searchresults.ja.html?ss=%E6%9D%B1%E4%BA%AC%2C+%E6%97%A5%E6%9C%AC&efdco=1&label=ja-row-booking-desktop-FFmx_HGnreJPinCwdz44RAS655523704756%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-65526620%3Alp9237749%3Ali%3Adec%3Adm&aid=2311236&lang=ja&sb=1&src_elem=sb&src=index&dest_id=-246227&dest_type=city&checkin=2026-12-01&checkout=2026-12-31&group_adults=2&no_rooms=1&group_children=0\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "booking-hotel-info-scraper",
        "taskName": "Booking Hôtel Info Scraper",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "booking-hotel-info-scraper",
  "taskName": "Booking Hôtel Info Scraper",
  "parameters": "{\"pageSize\":5,\"uRLs\":[\"https://www.booking.com/searchresults.ja.html?ss=%E6%9D%B1%E4%BA%AC%2C+%E6%97%A5%E6%9C%AC&efdco=1&label=ja-row-booking-desktop-FFmx_HGnreJPinCwdz44RAS655523704756%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-65526620%3Alp9237749%3Ali%3Adec%3Adm&aid=2311236&lang=ja&sb=1&src_elem=sb&src=index&dest_id=-246227&dest_type=city&checkin=2026-12-01&checkout=2026-12-31&group_adults=2&no_rooms=1&group_children=0\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `booking-hotel-info-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/booking-hotel-info-scraper.json)
- [Manifest](https://www.octoparse.com/templates/booking-hotel-info-scraper-manifest.json)
