Skip to main content
POST
/
api
/
google
/
flights
/
calendar
/google/flights/calendar
curl --request POST \
  --url https://api.anysite.io/api/google/flights/calendar \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "origin": "<string>",
  "destination": "<string>",
  "depart_date": "<string>",
  "return_date": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "depart_date": "<string>",
    "return_date": "<string>",
    "@type": "@google_flights_calendar_cell",
    "price": 123,
    "currency": "USD"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
origin
string
required

Origin airport or city IATA code

Pattern: ^[A-Za-z]{3}$
Examples:

"JFK"

"LAX"

"LON"

destination
string
required

Destination airport or city IATA code

Pattern: ^[A-Za-z]{3}$
Examples:

"LAX"

"JFK"

"CDG"

depart_date
string
required

Outbound date in YYYY-MM-DD format

Example:

"2026-07-15"

return_date
string
required

Return date in YYYY-MM-DD format

Example:

"2026-07-22"

count
integer
required

Maximum number of date combinations to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

depart_date
string
required
return_date
string
required
@type
string
default:@google_flights_calendar_cell
price
number | null
currency
string
default:USD