# Google Flights API on SandBase

> Google Flights data API endpoints available through one SandBase API key.

Source: https://www.sandbase.ai/apis/google-flights

- Endpoints: 4
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [Google Flights Autocomplete](https://www.sandbase.ai/apis/google-flights/autocomplete.md): $0.01 per call
  Get Google Flights airport and city suggestions for a partial place name, with IATA codes and location IDs.
- [Google Flights Calendar](https://www.sandbase.ai/apis/google-flights/calendar.md): $0.01 per call
  Get the lowest Google Flights fare for each departure date in a range between two airports, for one-way or round trips.
- [Google Flights Deals](https://www.sandbase.ai/apis/google-flights/deals.md): $0.01 per call
  Find discounted Google Flights fares from a departure airport, with destination, price, discount, dates and airline.
- [Google Flights Search](https://www.sandbase.ai/apis/google-flights/search.md): $0.015 per call
  Google Flights itineraries for a route and date: airlines, times, stops, durations, prices and price insights.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
