# Booking.com Hotel Details Scraper (for Germany)

Scrape name, nationality, review title, advantage, disadvantage etc. from Booking by details page URLs.

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

## Pricing

Free.

## 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 16 fields, including `Adresse`, `Anzahl_der_Bewertungen`, `Bewertung_abgegeben`, `Bewertungsgrad`, `Bewertungstitel`, `Details`, `Input_url`, `Kundenbewertung`, `Nachteil`, `Name`, `Nationalität`, `Person_Typ`, `Persönliche_Kundenbewertung`, `Titel`, `Vorteil`, `Zimmer_Typ`.

## 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 Details page URLs (up to 10000), Number of pages (up to 100) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Details page URLs (up to 10000)

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

### Number of pages (up to 100)

Optional. Number of pages Constraints: minimum=1, maximum=100.

## How to Use

# Booking.com Hotel Details Scraper (for Germany) — Usage Guide

Use this Octoparse template to collect hotel and review details from Booking.com hotel detail page URLs. Data source: [Booking.com](https://www.booking.com/).

## Price

This template currently has no per-line charge.

## Inputs

- **Details page URLs (up to 10000)** — required. Enter one URL per line.
- **Number of pages (up to 100)** — optional. Enter a number from 1 to 100.

## How to Run

1. Open the template and select **Try it** or **Start**.
2. Fill in the input fields.
3. Choose a local or cloud run.
4. Review the output rows, then export or process them.

You can schedule recurring runs, export rows to CSV, Excel, JSON, databases, or cloud storage, 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.

For local scheduled runs, keep your computer and Octoparse open.

## Output Fields

Each input URL returns Booking.com detail-page fields, including:

- `Input_url`
- Hotel data: `Titel`, `Adresse`, `Kundenbewertung`, `Bewertungsgrad`, `Anzahl_der_Bewertungen`
- Reviewer data: `Name`, `Nationalität`, `Bewertung_abgegeben`, `Bewertungstitel`, `Vorteil`, `Nachteil`, `Persönliche_Kundenbewertung`
- Stay data: `Zimmer_Typ`, `Details`, `Person_Typ`

The template collects the detail-page fields only; it does not return a complete review or comment history.

## Workflow with the Listing Scraper

If you need to generate detail-page URLs from search results, run [Booking Hotel Listing Scraper (for Germany)](https://www.octoparse.com/template/booking-hotel-listing-scraper-for-germany) first. Then pass its `url` output values into the **Details page URLs** field.

## Limitations

- The template cannot add data that Booking.com does not display on the detail page.
- Fields such as `Zimmer_Typ`, `Details`, and `Person_Typ` may be empty when the source record does not provide them.

## Tips

- Start with one or a few inputs, review the returned rows, then scale up.
- Use the most specific valid detail-page URLs (up to 10000) to reduce unrelated or duplicate records.
- Use a stable identifier from the main fields, such as `Input_url`, `Titel`, `Adresse`, `Kundenbewertung`, `Bewertungsgrad`, `Anzahl_der_Bewertungen`, `Name`, `Nationalität`, `Bewertung_abgegeben`, or `Bewertungstitel`, as the deduplication key when available.

## Notes

The URLs come from the template “URL [DE] Hotel Listing Booking”. You can first copy the URL list from the “Titel_url” data field in the listing template, and then paste it into the input box of this template.

## 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

- [Booking.com Hotel List Scraper (for Italy)](https://www.octoparse.com/template/crawler-lista-hotel-booking)
- [eBay Product Details Scraper (for Germany)](https://www.octoparse.com/template/ebay-produkt-details-scraper)
- [Booking.com Hotel Listing Scraper](https://www.octoparse.com/template/booking-com-scraper)
- [Booking Hotel Listing Scraper (for germany)](https://www.octoparse.com/template/booking-hotel-listing-scraper-for-germany)
- [Tripadvisor Hotel Scraper (for germany)](https://www.octoparse.com/template/tripadvisor-hotel-scraper-for-germany)

## Input Schema

```json
{
  "title": "Booking.com Hotel Details Scraper (for Germany) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "details_page_URLs": {
      "title": "Details page URLs (up to 10000) ",
      "description": "URLs",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "number_of_pages": {
      "title": "Number of pages (up to 100)",
      "description": "Number of pages ",
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "details_page_URLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "details_page_URLs": [
    "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&#hotelTmpl"
  ],
  "number_of_pages": 2.0
}
```

Example 2

```json
{
  "details_page_URLs": [
    "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&#hotelTmpl"
  ],
  "number_of_pages": 2.0
}
```

Example 3

```json
{
  "details_page_URLs": [
    "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&#hotelTmpl"
  ],
  "number_of_pages": 2.0
}
```

Example 4

```json
{
  "details_page_URLs": [
    "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&#hotelTmpl"
  ],
  "number_of_pages": 2.0
}
```

Example 5

```json
{
  "details_page_URLs": [
    "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&#hotelTmpl"
  ],
  "number_of_pages": 2.0
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Adresse": {
      "type": "string",
      "description": ""
    },
    "Anzahl_der_Bewertungen": {
      "type": "string",
      "description": ""
    },
    "Bewertung_abgegeben": {
      "type": "string",
      "description": ""
    },
    "Bewertungsgrad": {
      "type": "string",
      "description": ""
    },
    "Bewertungstitel": {
      "type": "string",
      "description": ""
    },
    "Details": {
      "type": "string",
      "description": ""
    },
    "Input_url": {
      "type": "string",
      "description": ""
    },
    "Kundenbewertung": {
      "type": "string",
      "description": ""
    },
    "Nachteil": {
      "type": "string",
      "description": ""
    },
    "Name": {
      "type": "string",
      "description": ""
    },
    "Nationalität": {
      "type": "string",
      "description": ""
    },
    "Person_Typ": {
      "type": "string",
      "description": ""
    },
    "Persönliche_Kundenbewertung": {
      "type": "string",
      "description": ""
    },
    "Titel": {
      "type": "string",
      "description": ""
    },
    "Vorteil": {
      "type": "string",
      "description": ""
    },
    "Zimmer_Typ": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Booking.com Hotel Details Scraper (for Germany) 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": "Flottwellstraße 45, Friedrichshain-Kreuzberg, 10785 Berlin, Germany\nExcellent location – rated 9.1/10!(score from 7223 reviews)\nReal guests • Real stays • Real opinions\n–Excellent location – show map–\nSubway/metro & Train Access\n2,650 ft walking from S Anhalter Bahnhof station",
  "Anzahl_der_Bewertungen": "7,358 reviews",
  "Bewertung_abgegeben": "October 8, 2026",
  "Bewertungsgrad": "Excellent ",
  "Bewertungstitel": "Makoto",
  "Details": "2 nights · October 2026",
  "Input_url": "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&chal_t=1791971949160&force_referer=#hotelTmpl",
  "Kundenbewertung": "8.8",
  "Nachteil": "Quite crowded in Sunday morning, both for breakfast and checkout (waited for more than 10 min). No luggage room left, so I had to leave my suitcase in open space. The room key is quite big to bring around. The surrounding roads are car-heavy, and sometimes cars are scarily fast.",
  "Name": "Makoto",
  "Nationalität": " Japan",
  "Person_Typ": "Solo traveler",
  "Persönliche_Kundenbewertung": "Scored 8.0\n8.0",
  "Titel": "",
  "Vorteil": "Great value for money. Spacious room and great breakfast options. The breakfast is a highlight for me. They had a great venue with terrace seats, and buffet had a great variety including falafel, mozzarella-tomato, various kind of omelet, spring roll, chocolate mousse etc.. The location is close to the U-Bahn station, shopping mall etc., and Potsdamer Plaz is quite convenient with a direct train to Berlin Brandenburg Airport. The area is quiet at night and felt safe. The price is convincing.",
  "Zimmer_Typ": "Single Room"
}
```

Example 2

```json
{
  "Adresse": "",
  "Anzahl_der_Bewertungen": "",
  "Bewertung_abgegeben": "",
  "Bewertungsgrad": "",
  "Bewertungstitel": "",
  "Details": "",
  "Input_url": "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&chal_t=1791519094129&force_referer=#hotelTmpl",
  "Kundenbewertung": "",
  "Nachteil": "",
  "Name": "",
  "Nationalität": "",
  "Person_Typ": "",
  "Persönliche_Kundenbewertung": "",
  "Titel": "",
  "Vorteil": "",
  "Zimmer_Typ": ""
}
```

Example 3

```json
{
  "Adresse": "Flottwellstraße 45, Friedrichshain-Kreuzberg, 10785 Berlin, Germany\nExcellent location – rated 9.1/10!(score from 7298 reviews)\nReal guests • Real stays • Real opinions\n–Excellent location – show map–\nSubway/metro & Train Access\n2,650 ft walking from S Anhalter Bahnhof station",
  "Anzahl_der_Bewertungen": "7,433 reviews",
  "Bewertung_abgegeben": "September 17, 2026",
  "Bewertungsgrad": "Excellent ",
  "Bewertungstitel": "Lynn",
  "Details": "3 nights · September 2026",
  "Input_url": "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&chal_t=1790064512770&force_referer=#hotelTmpl",
  "Kundenbewertung": "8.8",
  "Nachteil": "No tea / coffee facilities in the roo.m u7",
  "Name": "Lynn",
  "Nationalität": " Australia",
  "Person_Typ": "Solo traveler",
  "Persönliche_Kundenbewertung": "Scored 9.0\n9.0",
  "Titel": "Grimm's Potsdamer Platz",
  "Vorteil": "Fairy tale themes and decor",
  "Zimmer_Typ": "Single Room"
}
```

Example 4

```json
{
  "Adresse": "",
  "Anzahl_der_Bewertungen": "",
  "Bewertung_abgegeben": "",
  "Bewertungsgrad": "",
  "Bewertungstitel": "",
  "Details": "",
  "Input_url": "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&chal_t=1789493360805&force_referer=#hotelTmpl",
  "Kundenbewertung": "",
  "Nachteil": "",
  "Name": "",
  "Nationalität": "",
  "Person_Typ": "",
  "Persönliche_Kundenbewertung": "",
  "Titel": "",
  "Vorteil": "",
  "Zimmer_Typ": ""
}
```

Example 5

```json
{
  "Adresse": "",
  "Anzahl_der_Bewertungen": "",
  "Bewertung_abgegeben": "",
  "Bewertungsgrad": "",
  "Bewertungstitel": "",
  "Details": "",
  "Input_url": "https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&chal_t=1788863431892&force_referer=#hotelTmpl",
  "Kundenbewertung": "",
  "Nachteil": "",
  "Name": "",
  "Nationalität": "",
  "Person_Typ": "",
  "Persönliche_Kundenbewertung": "",
  "Titel": "",
  "Vorteil": "",
  "Zimmer_Typ": ""
}
```

## 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-details-scraper-for-germany",
  "taskName": "Booking.com Hotel Details Scraper (for Germany)",
  "parameters": "{\"details_page_URLs\":[\"https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&#hotelTmpl\"],\"number_of_pages\":2.0}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"details_page_URLs\":[\"https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&#hotelTmpl\"],\"number_of_pages\":2.0}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "booking-hotel-details-scraper-for-germany",
        "taskName": "Booking.com Hotel Details Scraper (for Germany)",
        "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-details-scraper-for-germany",
  "taskName": "Booking.com Hotel Details Scraper (for Germany)",
  "parameters": "{\"details_page_URLs\":[\"https://www.booking.com/hotel/de/grimms-am-potsdamer-platz.de.html?aid=2311236&label=de-row-booking-desktop-ygp5roBi33Y2htC7dIGmcgS652829002552%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-334113629%3Alp2158%3Ali%3Adec%3Adm&sid=010aaa979e4b24fac1245a444a401290&all_sr_blocks=139821101_374108186_1_2_0;checkin=2024-04-22;checkout=2024-04-23;dest_id=-1746443;dest_type=city;dist=0;group_adults=1;group_children=0;hapos=1;highlighted_blocks=139821101_374108186_1_2_0;hpos=1;matching_block_id=139821101_374108186_1_2_0;no_rooms=1;req_adults=1;req_children=0;room1=A;sb_price_type=total;sr_order=popularity;sr_pri_blocks=139821101_374108186_1_2_0__16400;srepoch=1713766383;srpvid=560c2bb485df01cd;type=total;ucfs=1&#hotelTmpl\"],\"number_of_pages\":2.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-details-scraper-for-germany`, 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-details-scraper-for-germany.json)
- [Manifest](https://www.octoparse.com/templates/booking-hotel-details-scraper-for-germany-manifest.json)
