# Booking Airport Taxis Scraper (`codingfrontend/booking-airport-taxis-scraper`) Actor

Extract public airport taxi transfer options, vehicle types, services, and prices from Booking pages.

- **URL**: https://apify.com/codingfrontend/booking-airport-taxis-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 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.

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 Airport Taxis Scraper

### What does Booking Airport Taxis Scraper do?

Booking Airport Taxis Scraper reads public Booking airport-taxi pages and emits normalized transfer-option records when the source exposes them in structured data or in the prepared public page markup. Records can contain provider, vehicle type, passenger and luggage capacity, public features, price and currency, airport code, pickup guidance, cancellation policy, result URL, and source provenance.

The Actor is designed for authorized public-page collection from [Booking](https://www.booking.com/taxi/). Apify provides API access, scheduling, monitoring, integrations, and standard proxy configuration around the run. The implementation uses bounded HTTPS requests, optionally through one supplied standard Apify Proxy route, and does not log in, book a ride, solve CAPTCHAs, reuse private cookies, or call private booking endpoints.

### Why use Booking Airport Taxis Scraper?

The Actor is useful for transfer-market research, airport ground-transport comparisons, public option catalogues, and pipeline prototypes. It keeps source-backed options separate from access or no-result diagnostics, preserves the requested and final URLs, and omits values that the public page does not expose. A successful process exit is not treated as proof that Booking returned options.

### How to use Booking Airport Taxis Scraper

1. Open the Actor and review the Input tab.
2. Add a prepared public Booking taxi URL, or omit startUrls and provide an airport code.
3. Optionally provide pickup and drop-off times, passenger count, and a result limit.
4. Run the Actor, then inspect both the dataset and the OUTPUT_SUMMARY key-value record.

### Input

The request-list startUrls field accepts public HTTPS Booking URLs. When no valid start URL is supplied, the Actor constructs a public taxi URL from airportCode, pickupDateTime, dropoffDateTime, and passengers. Invalid supplied URLs are retained as input diagnostics and do not silently trigger an unrelated default search. maxResults defaults to 50 and is bounded to 500. requestTimeoutMs defaults to 25,000 and is bounded to 60,000. Set includeDiagnostics to false only when you intentionally want diagnostics omitted from the dataset. fixtureHtml is a bounded local-QA option that skips network requests.

```
{
  "startUrls": [
    { "url": "https://www.booking.com/taxi/index.html?airport=LHR" }
  ],
  "airportCode": "LHR",
  "maxResults": 10
}
```

### Output

Normal rows use recordType taxiOption and diagnostic rows use recordType accessDiagnostic. Normal rows include stable local IDs and fields such as sourceUrl, canonicalUrl, finalUrl, sourceDomain, transport, extractionMethod, vehicleType, capacity, luggage, price, currency, and features when available. The run summary reports recordCount, taxiOptionCount, diagnosticCount, blockedCount, requestCount, pagesProcessed, and dataAvailable. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data table

| Field | Meaning |
| --- | --- |
| provider, vehicleType | Public provider and vehicle description |
| capacity, luggage | Published passenger and luggage limits |
| price, currency | Public fare values, when exposed |
| features | Public vehicle or transfer features |
| airportCode | Requested airport code |
| pickupInstructions, cancellationPolicy | Public service terms |
| url, canonicalUrl, sourceUrl | Source-backed URL provenance |
| status, diagnosticCode, detail | Explicit result or access state |

### Pricing / Cost estimation

#### How much does it cost to scrape Booking taxi data?

Apify pricing depends on the account plan, runtime, request count, proxy usage, and current platform terms. This Actor does not claim a fixed per-record price. Use the current Apify pricing page and the usage displayed for the run as the authoritative estimate.

### Tips or Advanced options

Prepared result URLs are more likely to expose a fare than the generic taxi landing page. Keep concurrency at the platform default and use small result limits while testing. Some public Booking pages render options only after client-side interaction or return a WAF challenge; this Actor records that boundary instead of treating landing-page text or a challenge response as a fare. Responses are capped at 8 MiB, redirects are limited to the official Booking host, retries are finite, and proxy use is reported in `OUTPUT_SUMMARY`.

### FAQ, disclaimers, and support

This Actor is for lawful, authorized collection of publicly available information. Review Booking terms, robots guidance, and applicable law before running it. Source markup, availability, and regional access can change. The Actor is not affiliated with Booking and does not guarantee live fare availability. Use the Apify Issues tab for support, or request a custom compliant browser/API integration when rendered interaction is required.

# Actor input Schema

## `startUrls` (type: `array`):

Public Booking taxi result or airport URLs.

## `airportCode` (type: `string`):

IATA airport code used when a URL is not supplied.

## `pickupDateTime` (type: `string`):

Optional pickup date/time passed to the public results URL.

## `dropoffDateTime` (type: `string`):

Optional drop-off date/time passed to the public results URL.

## `passengers` (type: `integer`):

Passenger count passed to the public results URL.

## `maxResults` (type: `integer`):

Maximum taxi options to save.

## `requestTimeoutMs` (type: `integer`):

Timeout for each public request.

## `maxRetries` (type: `integer`):

Maximum finite retries for transient HTTP or transport failures.

## `retryDelayMs` (type: `integer`):

Bounded base retry delay; Retry-After is honored when available.

## `requestDelayMs` (type: `integer`):

Respectful delay between ordered public requests.

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

Optional authorized Apify Proxy configuration for the public Booking request.

## `includeDiagnostics` (type: `boolean`):

Write truthful no-result and access-boundary rows to the dataset.

## `fixtureHtml` (type: `string`):

Optional bounded HTML fixture used only for deterministic local validation; public requests are skipped when provided.

## Actor input object example

```json
{
  "airportCode": "LHR",
  "passengers": 1,
  "maxResults": 50,
  "requestTimeoutMs": 25000,
  "maxRetries": 1,
  "retryDelayMs": 500,
  "requestDelayMs": 0,
  "includeDiagnostics": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

Normalized public taxi service options.

## `summary` (type: `string`):

Bounded request and source-error summary.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/booking-airport-taxis-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/booking-airport-taxis-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 '{}' |
apify call codingfrontend/booking-airport-taxis-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codingfrontend/booking-airport-taxis-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/aDTZpssQCpbBc2htq/builds/iRLW4xBX2ubmhZalu/openapi.json
