# Booking Com P Rapidapi — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search Booking.com properties and retrieve detailed information like pricing, amenities, reviews, and availability without manually browsing the site. Access structured property data instantly to compare accommodations and make informed booking decisions.

**Category:** Travel | **Website:** [booking-com.p.rapidapi.com/](https://booking-com.p.rapidapi.com/) | **Docs:** [parse.bot/marketplace/ed6bc303-cba8-490b-80f0-88ec29fcbe8f/booking-com-p-rapidapi-com-api](https://parse.bot/marketplace/ed6bc303-cba8-490b-80f0-88ec29fcbe8f/booking-com-p-rapidapi-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-booking-com-p-rapidapi-com-api-ed6bc303/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_property_details

Extract detailed information for a specific Booking.com hotel property URL. Returns structured data including name, address, rating, description, amenities, and images extracted from JSON-LD and HTML. Price may be null if no dates are specified in the URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | The full Booking.com property URL (e.g. 'https://www.booking.com/hotel/gb/stgileshotel.html'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-booking-com-p-rapidapi-com-api-ed6bc303/get_property_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### search_properties

Search for hotel properties by location or keyword. Returns a list of properties with name, URL, price, and rating. Results do not include check-in/check-out date pricing unless dates are specified in the search query.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of results to return. |
| `query` | string | Yes | Search keyword such as city name, hotel name, or area (e.g. 'London', 'Paris', 'New York'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-booking-com-p-rapidapi-com-api-ed6bc303/search_properties \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","query":"<string>"}'
```
