inputobject · requiredProvider-specific public source, URL or search criteria.
Search Google Flights for fares, airlines and times between airports.
by ApifyReady to run$0.0211 per page · $2.11 per 100 pages
“Find flights from JFK to LAX a month from today.”
Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.
{
"tool_id": "apify.johnvc-google-flights",
"input": {
"input": {
"arrival_id": "LAX",
"departInDays": 30,
"departure_id": "JFK"
},
"maxItems": 1
}
}{
"items": [
{
"all_flights": [
{
"price": 405,
"route": "JFK-LAX",
"stops": 1,
"airlines": "JetBlue",
"category": "best",
"currency": "USD",
"duration": "10h 39m",
"overnight": false,
"stops_label": "1 stop",
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"arrival_time": "2026-12-23 00:59",
"travel_class": "Economy",
"often_delayed": false,
"outbound_date": "2026-12-22",
"departure_time": "2026-12-22 17:20",
"flight_numbers": "B6 2918, B6 1187",
"arrival_airport": "LAX",
"duration_minutes": 639,
"departure_airport": "JFK"
}
],
"page_number": 1,
"best_flights": [
{
"type": "One way",
"price": 405,
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/B6.png",
"total_duration": 639
}
],
"other_flights": [
{
"type": "One way",
"price": 377,
"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AA.png",
"total_duration": 1084
}
],
"search_metadata": {
"source": "google_flights",
"max_pages_set": 1,
"pages_processed": 1,
"best_flights_count": 3,
"other_flights_count": 32,
"total_flights_found": 35,
"booking_options_count": 0,
"pagination_limit_reached": true
}
}
],
"item_count": 1
}Copy the prompt and paste it into your agent, then tell it what you need.
Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Google Flights Search (tool ID: apify.johnvc-google-flights). Ask me for the details you need, then show me the result.
Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.
No agent yet? Create your account on the web and connect one from your dashboard later.
Scrollport has no free tier: it costs $0.0211 per page ($2.11 per 100 pages), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.
No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.
Search Google Flights between up to three departure and three arrival airports (IATA codes) for a one-way or return trip, by date or by days from today (departInDays, returnAfterDays), optionally limited by stops, price or basic economy. Each results page lists the best and other flights with price, airlines, flight numbers, departure and arrival times, stops, layovers and duration. maxItems sets the pages read, 1 to 3. You're charged per results page plus a small fee per run. The worked example shows selected fields: long text is shortened, nested lists keep one item and expiring media links are left out.
inputobject · requiredProvider-specific public source, URL or search criteria.
maxItemsinteger · optionalMaximum number of records to return.
minimum: 1 · maximum: 3
item_countnumberitemsarrayResult records.
upstream_error: The scraper could not return usable results; the wallet was not charged.Check the input and limits, or retry later.