# Google Flights Scraper ## Overview | Property | Value | |----------|-------| | **Status** | private | | **Method** | `GET` | | **Endpoint** | `/v1/website/rendering` | | **Base URL** | `https://api.browsersolver.com` | | **Credit Cost** | 2 credits per call | | **Documentation** | https://www.browsersolver.com/library/website-rendering-google-flights-scraper | ## Access This endpoint is **private**. Requests return HTTP 403 until access is granted. There is no self-serve request-access button. Open a support ticket from the dashboard Help desk (https://app.browsersolver.com/app?returnTo=help-desk/tickets/new) and include the endpoint path, your use case, target fields, and expected volume. ## Description Capture post-render HTML from Google Flights travel search pages for monitoring and enrichment pipelines. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.browsersolver.com/register ## Example Request ```bash curl --location --request GET 'https://api.browsersolver.com/v1/website/rendering' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Google Flights HTML (reference/google-flights) ```json Google Flights

Google Flights DOM built for BrowserSolver rendering examples.

``` ## Documentation ## What it does Send a Google Flights URL to **Google Flights Scraper** and receive the post-render HTML document. ## Request ``` GET https://api.browsersolver.com/v1/website/rendering?query=https://www.google.com/travel/flights?q=Flights%20to%20Lisbon%20from%20Paris ``` | Field | Required | Notes | |---|---|---| | `query` | yes | Absolute Google Flights URL | ## Returns HTML string after JavaScript. ## Typical jobs - Watch fares and availability - Collect itinerary cards - Feed travel intel **Pricing:** 2 credits per successful call via [Website Rendering](/v1/website/rendering). ## Workflows - Monitor fares and availability - Extract schedule and cabin data - Archive hotel amenity modules ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Absolute Google Flights URL | | `wait_in_seconds` | number | no | Extra pause after load (0-30) | | `wait_for` | string | no | CSS/XPath selector that must appear | | `block_ads` | boolean | no | Drop ad traffic during render | | `timeout` | number | no | Max render seconds (default 30) | ## Tips - Prefer [Website Crawler](/v1/website/crawler) if markup arrives without JS. - Use [Website WebUnlocker](/v1/website/webunlocker) only on approved, heavily protected hosts.