# Google Flights Fares

> Flight offers from Google Flights as JSON: price, airline, stops, times, duration

- Vendor: `googleflightsfares` · version 1.0 · category Travel · tags google flights, airfare, flight prices, travel search, fare tracking
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/googleflightsfares
- This document: https://apiclay.com/docs/googleflightsfares.md
- OpenAPI 3.1: https://apiclay.com/api/googleflightsfares/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `googleflightsfares`
- Updated: 2026-11-18

## About

## Google Flights Fares

Flight offers for a trip, as clean JSON.

### Routes

#### /search

Offers for a plain-English trip query: price (INR), airline, stops, departs, arrives, duration and the full summary. Rendered in a browser (adds the platform browser fee).

```bash
curl -G 'https://api.apiclay.com/v1/api/googleflightsfares/search' -H 'token: YOUR_TOKEN' --data-urlencode 'q=Flights to BOM from DEL on 2026-12-15'
```

### Notes

Write q like the Google Flights search box: 'Flights to  from  on '. Prices are in Indian rupees. Data comes from public Google Flights pages. Not affiliated with Google.

## Pricing

- Pay as you go: 0.01 credits/request
- Trial: 10 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.
- Browser rendering (0.005 credits per rendered call): A call that renders the page in a browser adds the browser fee to the route price: routes with render mode js, routes with render mode auto when the call switches to the browser (pre-charged, refunded when it does not), and calls sent with `X-ApiClay-Render: js`.
- Trial and plan requests still pay the browser fee.
- Response headers on a billed call: `X-ApiClay-Browser-Fee`.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /search — Flight offers
- Gateway: `GET https://api.apiclay.com/v1/api/googleflightsfares/search`
- Public query params: `q` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 5.5 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/googleflightsfares/search?q=<q>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
