# Booking Rental Cars Scraper (`lexis-solutions/booking-cars-scraper`) Actor

Scrape car rental listings from Booking.com—including car types, prices, rental companies, availability, and pickup locations. Ideal for travel platforms, price comparison, and market research. Fast, structured, and customizable extraction from Booking.com’s car rental section.

- **URL**: https://apify.com/lexis-solutions/booking-cars-scraper.md
- **Developed by:** [Lexis Solutions](https://apify.com/lexis-solutions) (community)
- **Categories:** Travel, Automation, Real estate
- **Stats:** 39 total users, 2 monthly users, 90.7% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.40 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Booking Cars Scraper

![banner](https://i.ibb.co/84Bjh0Bt/booking-cars-cover.png)

The **Booking Cars Scraper** is an Apify actor that extracts car rental offers from Booking Cars. It searches by pickup and optional drop-off locations, dates, and driver details, and can enrich results with supplier, package content, insurance, and extras for deeper analysis.

***

### ✨ Key Features

- **Accurate location search**: Uses Booking Cars location suggestions to resolve your pickup and drop-off queries.
- **Flexible date/time & driver settings**: Set pickup/drop-off dates and times; provide driver age or a 30–65 preset.
- **Fast search results**: Collect core vehicle offer data (price, class, transmission, fuel, depots, fees) with a single request.
- **Deep enrichment (optional)**: Fetch supplier info, reviews, tags, alerts, extras, insurance, and more for each vehicle.

***

### 💡 Why It's Important

Booking Cars aggregates offers from multiple suppliers. With this actor, you can:

- **Compare prices and packages** across suppliers in your target locations and dates.
- **Analyze fleet and policy details** such as mileage, insurance, extras, and cancellation.
- **Automate monitoring** of availability and pricing for business intelligence.

***

### 👤 Who Is It For?

This actor is a great fit for:

- **Travel agencies and aggregators** optimizing inventory and pricing.
- **Market researchers and analysts** studying car rental trends.
- **Developers and data teams** building travel products and dashboards.

***

### 🚀 Business Use Cases

- **Price Monitoring**: Track prices across dates and locations for competitive insights.
- **Supplier Benchmarking**: Compare vehicle classes, fees, insurance, and package differences.
- **Destination Intelligence**: Analyze depot coverage and availability around airports and city centers.

***

### 🛠 Input Schema

```json
{
  "pickupLocationQuery": "Cairo", // Required: term for pickup location suggestions
  "dropoffLocationQuery": "Downtown Cairo", // Optional: defaults to pickup location
  "pickupDate": "2025-10-10", // Optional: defaults to +2 days if omitted
  "dropoffDate": "2025-10-17", // Optional: defaults to +10 days if omitted
  "pickupTime": "10:00:00", // Required format HH:MM:SS
  "dropoffTime": "22:30:00", // Required format HH:MM:SS
  "driverAged30To65": true, // If true, driverAge is set to 30 automatically
  "driverAge": 30, // Optional when driverAged30To65 is true; otherwise provide or defaults to 30
  "maxItems": 20, // Limit of offers to return
  "deepSearch": true, // If true, enrich each offer with supplier and package content
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

Notes:

- `pickupLocationQuery` is required. The actor resolves it via Booking Cars location suggestions API.
- `pickupTime` and `dropoffTime` must be in `HH:MM:SS` format.
- If dates are omitted, they are auto-filled (pickup = +2 days; dropoff = +10 days).
- `proxyConfiguration` is optional and disabled by default. For more stable Apify cloud runs, enable Apify Proxy with a residential proxy group because Booking Cars can reject or delay the cookies required by the scraper when requests come from cloud or datacenter IPs.
- The proxy is used both when refreshing Booking cookies with Playwright and when calling Booking Cars HTTP APIs.

Optional Apify proxy configuration for more stable cloud runs:

```json
{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### 📦 Output Schema

- The actor can return either basic search results or enriched deep-search results.

1. Basic search result (when `deepSearch` is false)

```json
{
  "type": "vehicle",
  "id": "54548726",
  "name": "Toyota Corolla",
  "price": {
    "amount": 185.43,
    "currency": "USD"
  },
  "basePriceAmount": 185.43,
  "basePrice": {
    "amount": 185.43,
    "currency": "USD"
  },
  "creditCardRequired": true,
  "carClass": "Compact",
  "fuel": "Petrol",
  "mileageType": "Unlimited",
  "transmission": "Automatic",
  "propositionType": "PAY_NOW",
  "numberOfDoors": 4,
  "airConditioning": true,
  "image": "https://cars.booking.com/images/vehicles/corolla.png",
  "payWhen": "PICKUP",
  "pickupDepot": {
    "id": "CAI_AIRPORT_T1",
    "name": "Cairo Intl Airport T1",
    "address": "Airport Rd, Cairo"
  },
  "dropoffDepot": {
    "id": "CAI_DOWNTOWN",
    "name": "Downtown Cairo",
    "address": "Tahrir Sq, Cairo"
  },
  "fees": [
    {
      "name": "One-way fee",
      "amount": 25.0,
      "currency": "USD"
    }
  ]
}
```

2. Enriched deep-search result (when `deepSearch` is true)

```json
{
  "id": "710118491",
  "name": "Nissan Sunny",
  "price": {
    "amount": 135.68,
    "currency": "USD",
    "deposit": 135.66,
    "discount": 0
  },
  "basePriceAmount": 6507.51,
  "basePrice": {
    "amount": 6507.51,
    "currency": "EGP",
    "deposit": 6507.51,
    "discount": 0
  },
  "creditCardRequired": false,
  "carClass": "CDAR",
  "fuel": "N/A",
  "mileageType": "LIMITED",
  "transmission": "AUTOMATIC",
  "propositionType": "BR",
  "numberOfDoors": "4",
  "airConditioning": true,
  "image": "https://cars.booking.com/images/car_images/new_images/nissan/versa_lrg.jpg",
  "payWhen": "PAY_NOW",
  "pickupDepot": {
    "distanceData": {
      "distanceFromSearchLocation": {
        "kilometres": 0.09784232100702364,
        "miles": 0.06079640591510452
      }
    },
    "locationType": "IN_TERMINAL",
    "name": "Cairo International Airport",
    "cityNameEn": "Cairo",
    "countryIsoCode": "EG",
    "iataCode": "CAI",
    "id": "4497906",
    "latitude": 30.11145676,
    "longitude": 31.39678684,
    "address": "El Orouba Road, El Nozha, Terminal 2 & 3, Cairo, Egypt, 11776",
    "supplierId": "62"
  },
  "dropoffDepot": {
    "distanceData": {
      "distanceFromSearchLocation": {
        "kilometres": 0.09784232100702364,
        "miles": 0.06079640591510452
      }
    },
    "locationType": "IN_TERMINAL",
    "name": "Cairo International Airport",
    "cityNameEn": "Cairo",
    "countryIsoCode": "EG",
    "iataCode": "CAI",
    "id": "4497906",
    "latitude": 30.11145676,
    "longitude": 31.39678684,
    "address": "El Orouba Road, El Nozha, Terminal 2 & 3, Cairo, Egypt, 11776",
    "supplierId": "62"
  },
  "fees": [
    {
      "name": "THEFT_EXCESS",
      "includedInDriveAwayPrice": false,
      "price": {
        "amount": 570,
        "currency": "USD",
        "maxPrice": 570,
        "minPrice": 570
      },
      "basePrice": {
        "amount": 570,
        "currency": "USD",
        "maxPrice": 570,
        "minPrice": 570
      },
      "distanceUnit": "M"
    },
    {
      "name": "MILEAGE",
      "includedInDriveAwayPrice": false,
      "price": {
        "amount": 0.24,
        "currency": "USD",
        "maxPrice": 0.24,
        "minPrice": 0.24
      },
      "basePrice": {
        "amount": 0.24,
        "currency": "USD",
        "maxPrice": 0.24,
        "minPrice": 0.24
      },
      "distanceUnit": "KM",
      "perWhat": "PER_RENTAL"
    },
    {
      "name": "FUEL_POLICY",
      "includedInDriveAwayPrice": false,
      "price": {
        "amount": 20,
        "currency": "USD",
        "maxPrice": 20,
        "minPrice": 20
      },
      "basePrice": {
        "amount": 20,
        "currency": "USD",
        "maxPrice": 20,
        "minPrice": 20
      },
      "distanceUnit": "M",
      "type": "RETURN_SAME"
    },
    {
      "name": "DEPOSIT",
      "includedInDriveAwayPrice": false,
      "price": {
        "amount": 570,
        "currency": "USD",
        "maxPrice": 570,
        "minPrice": 570
      },
      "basePrice": {
        "amount": 570,
        "currency": "USD",
        "maxPrice": 570,
        "minPrice": 570
      },
      "distanceUnit": "M"
    },
    {
      "name": "DAMAGE_EXCESS",
      "includedInDriveAwayPrice": false,
      "price": {
        "amount": 570,
        "currency": "USD",
        "maxPrice": 570,
        "minPrice": 570
      },
      "basePrice": {
        "amount": 570,
        "currency": "USD",
        "maxPrice": 570,
        "minPrice": 570
      },
      "distanceUnit": "M"
    }
  ],
  "supplier": {
    "id": "62",
    "name": "Budget",
    "logo": "https://cdn2.rcstatic.com/sp/images/suppliers/62_logo_200.png",
    "text": "Supplied by Budget"
  },
  "info": [
    {
      "id": "number-of-seats",
      "icon": "PersonHalfIcon",
      "text": "5 seats"
    },
    {
      "id": "transmission",
      "icon": "GearboxAutomaticIcon",
      "text": "Automatic"
    },
    {
      "id": "large-bags",
      "icon": "SuitcaseIcon",
      "text": "1 Large bag",
      "tooltip": {
        "tooltipInfo": {
          "title": "The boot can hold:",
          "content": [
            "1 large bag (about 78 x 53 x 34 cm)",
            "1 small bag (about 52 x 35 x 24 cm)"
          ]
        },
        "closeAriaLabel": "Close",
        "tooltipAriaLabel": "Luggage capacity info"
      }
    },
    {
      "id": "small-bags",
      "icon": "CabinTrolleyIcon",
      "text": "1 Small bag",
      "tooltip": {
        "tooltipInfo": {
          "title": "The boot can hold:",
          "content": [
            "1 large bag (about 78 x 53 x 34 cm)",
            "1 small bag (about 52 x 35 x 24 cm)"
          ]
        },
        "closeAriaLabel": "Close",
        "tooltipAriaLabel": "Luggage capacity info"
      }
    },
    {
      "id": "mileage",
      "icon": "DashboardIcon",
      "text": "1600 km per rental"
    }
  ],
  "review": {
    "score": "8",
    "scoreAriaLabel": "8",
    "rating": "Very good",
    "ratingReviewAriaLabel": "Customer rating 8 Very good",
    "reviewCount": "300+ reviews",
    "categories": {
      "title": "Customer ratings",
      "closeAriaLabel": "close",
      "items": [
        {
          "label": "Value for money",
          "rating": 7.8
        },
        {
          "label": "Car cleanliness",
          "rating": 8.7
        },
        {
          "label": "Easy to find",
          "rating": 8.3
        },
        {
          "label": "Helpfulness",
          "rating": 8.9
        },
        {
          "label": "Drop-off speed",
          "rating": 7.9
        },
        {
          "label": "Car condition",
          "rating": 8
        },
        {
          "label": "Pick-up speed",
          "rating": 6.3
        }
      ]
    },
    "link": {
      "text": "View customer reviews"
    }
  },
  "tags": [],
  "alerts": [],
  "extras": [
    {
      "basePrice": {
        "amount": 30,
        "currency": "USD",
        "maxPrice": 30,
        "minPrice": 0,
        "prePayable": false,
        "pricePerWhat": "EACH_PER_RENTAL",
        "totalAmountForRental": 30
      },
      "comments": "If you want other people to drive as well",
      "displayPriority": 8,
      "extraTypeId": 1,
      "group": "ADDITIONAL_DRIVER",
      "id": "14407932476010",
      "image": "extra_extra-driver.jpg",
      "mandatory": false,
      "maxQuantity": 3,
      "name": "Additional driver",
      "otaCode": "0",
      "price": {
        "amount": 30,
        "currency": "USD",
        "maxPrice": 30,
        "minPrice": 0,
        "prePayable": false,
        "pricePerWhat": "EACH_PER_RENTAL",
        "totalAmountForRental": 30
      },
      "quantityAvailable": 3,
      "type": "ADDITIONAL_DRIVER"
    },
    {
      "basePrice": {
        "amount": 60,
        "currency": "USD",
        "maxPrice": 60,
        "minPrice": 0,
        "prePayable": false,
        "pricePerWhat": "EACH_PER_RENTAL",
        "totalAmountForRental": 60
      },
      "comments": "For babies: up to 9 kg / 20 lbs (about 1 year old)",
      "displayPriority": 15,
      "extraTypeId": 6,
      "group": "INFANT_SEAT",
      "id": "14407933596010",
      "image": "extra_extra-infant.jpg",
      "mandatory": false,
      "maxQuantity": 2,
      "name": "Baby seat",
      "otaCode": "7",
      "price": {
        "amount": 60,
        "currency": "USD",
        "maxPrice": 60,
        "minPrice": 0,
        "prePayable": false,
        "pricePerWhat": "EACH_PER_RENTAL",
        "totalAmountForRental": 60
      },
      "quantityAvailable": 2,
      "type": "BABY_SEAT"
    },
    {
      "basePrice": {
        "amount": 60,
        "currency": "USD",
        "maxPrice": 60,
        "minPrice": 0,
        "prePayable": false,
        "pricePerWhat": "EACH_PER_RENTAL",
        "totalAmountForRental": 60
      },
      "comments": "For bigger children: 18-45 kg / 40-100 lbs (about 4-11 years old)",
      "displayPriority": 17,
      "extraTypeId": 26,
      "group": "BOOSTER_SEAT",
      "id": "14407934716010",
      "image": "extra_extra-booster.jpg",
      "mandatory": false,
      "maxQuantity": 2,
      "name": "Booster seat",
      "otaCode": "9",
      "price": {
        "amount": 60,
        "currency": "USD",
        "maxPrice": 60,
        "minPrice": 0,
        "prePayable": false,
        "pricePerWhat": "EACH_PER_RENTAL",
        "totalAmountForRental": 60
      },
      "quantityAvailable": 2,
      "type": "CHILD_BOOSTER_SEAT"
    },
    {
      "basePrice": {
        "amount": 60,
        "currency": "USD",
        "maxPrice": 60,
        "minPrice": 0,
        "prePayable": false,
        "pricePerWhat": "EACH_PER_RENTAL",
        "totalAmountForRental": 60
      },
      "comments": "For small children: 9-18 kg / 20-40 lbs (about 1-3 years old)",
      "displayPriority": 18,
      "extraTypeId": 31,
      "group": "CHILD_SEAT",
      "id": "14407935836010",
      "image": "extra_extra-child.jpg",
      "mandatory": false,
      "maxQuantity": 2,
      "name": "Child seat",
      "otaCode": "8",
      "price": {
        "amount": 60,
        "currency": "USD",
        "maxPrice": 60,
        "minPrice": 0,
        "prePayable": false,
        "pricePerWhat": "EACH_PER_RENTAL",
        "totalAmountForRental": 60
      },
      "quantityAvailable": 2,
      "type": "CHILD_SEAT"
    }
  ],
  "insurance": {
    "products": [
      {
        "documents": [
          {
            "name": "PolicyWording",
            "uri": "/document/quote/623c4030-67af-41e2-8d42-9b2b8ebb6c2f/PolicyWording"
          }
        ],
        "name": "Full Protection",
        "paymentType": "single",
        "priceBreakdown": {
          "basePrice": {
            "amount": 4885.45,
            "currency": "EGP",
            "maxPrice": 0,
            "minPrice": 0,
            "prePayable": true,
            "pricePerWhat": "EACH_PER_RENTAL"
          },
          "price": {
            "amount": 101.84,
            "currency": "USD",
            "maxPrice": 0,
            "minPrice": 0,
            "prePayable": true,
            "pricePerWhat": "EACH_PER_RENTAL"
          },
          "rateReference": "vW50Z9XwGhExDcAO41wXiFQe84uymr7oXg33NTZP66yqm0UbUCUwZ8wQLZDF0qer:fyqDCnSJ5Wu7dVkB+d8g/Q==",
          "reference": "623c4030-67af-41e2-8d42-9b2b8ebb6c2f#1wd6pukxtjy7w"
        },
        "productReference": "RC_FULL_PROTECTION",
        "providerDetails": {
          "coverAmount": {
            "currency": "EGP",
            "value": "3911800.00"
          },
          "productCode": "FP MXROW to ROW - Asservo",
          "reference": "SZUF-W6WH-INS"
        },
        "typeId": "335"
      }
    ],
    "reference": "623c4030-67af-41e2-8d42-9b2b8ebb6c2f"
  },
  "freeCancellation": true,
  "sponsoredVehicle": false
}
```

👀 p.s.

Got feedback or need an extension?

Lexis Solutions is a [certified Apify Partner](https://apify.com/partners/find). We can help you with custom solutions or data extraction projects.

Contact us over [Email](mailto:scraping@lexis.solutions) or [LinkedIn](https://www.linkedin.com/company/lexis-solutions)

### Support Our Work 💝

If you're happy with our work and scrapers, you're welcome to leave us a company review [here](https://apify.com/partners/find/lexis-solutions/review) and leave a review for the scrapers you're subscribed to. It will take you less than a minute but it will mean a lot to us!

Image Credit: https://www.booking.com/

# Actor input Schema

## `pickupLocationQuery` (type: `string`):

Enter pickup location query

## `dropoffLocationQuery` (type: `string`):

Enter dropoff location query

## `pickupDate` (type: `string`):

Enter pickup date in this format YYYY-MM-DD

## `dropoffDate` (type: `string`):

Enter dropoff date in this format YYYY-MM-DD

## `pickupTime` (type: `string`):

Enter pickup time in this format: HH:MM:SS

## `dropoffTime` (type: `string`):

Enter dropoff time in this format: HH:MM:SS

## `driverAge` (type: `integer`):

Enter driver age

## `driverAged30To65` (type: `boolean`):

Enable this option if the driver age should be between 30 and 65, this will override the driver age input

## `maxItems` (type: `integer`):

The maximum number of results to scrape

## `deepSearch` (type: `boolean`):

When enabled, the scraper will perform additional requests to fetch more detailed or enriched data for each item

## `proxyConfiguration` (type: `object`):

Your proxy configuration from Apify.

## Actor input object example

```json
{
  "pickupLocationQuery": "Amsterdam",
  "pickupTime": "10:00:00",
  "dropoffTime": "22:30:00",
  "driverAged30To65": true,
  "maxItems": 10,
  "deepSearch": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "pickupLocationQuery": "Amsterdam",
    "pickupTime": "10:00:00",
    "dropoffTime": "22:30:00"
};

// Run the Actor and wait for it to finish
const run = await client.actor("lexis-solutions/booking-cars-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "pickupLocationQuery": "Amsterdam",
    "pickupTime": "10:00:00",
    "dropoffTime": "22:30:00",
}

# Run the Actor and wait for it to finish
run = client.actor("lexis-solutions/booking-cars-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "pickupLocationQuery": "Amsterdam",
  "pickupTime": "10:00:00",
  "dropoffTime": "22:30:00"
}' |
apify call lexis-solutions/booking-cars-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lexis-solutions/booking-cars-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/X6WsK5YMaXQmN32JU/builds/8EvSbQk31PbKuwtgx/openapi.json
