{"uid":"cap_SG03YOr-HSyAOxPQzaW9W","slug":"google-flights-scraper-x402-a615607e","name":"Google Flights Scraper (x402)","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://x402.186-241-26-229.sslip.io/v1/google-flights?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gl":{"type":"string","default":"us","description":"Country code for the search page, such as us."},"hl":{"type":"string","default":"en","description":"Language code for the search page, such as en."},"adults":{"type":"integer","default":1,"maximum":9,"minimum":1,"description":"Number of adult travelers included in the displayed price."},"airlines":{"type":"string","default":"","description":"Optional comma-separated airline codes, such as AA,DL. Keep matching returned itineraries."},"currency":{"type":"string","default":"USD","description":"Three-letter currency code for displayed prices, such as USD or EUR."},"maxItems":{"type":"integer","default":100,"minimum":0,"description":"Maximum flight rows to save. Set 0 for every itinerary exposed in the initial result set."},"max_price":{"type":"integer","minimum":1,"description":"Keep only returned itineraries at or below this displayed price."},"max_stops":{"type":"integer","minimum":0,"description":"Keep itineraries with at most this many stops. Set 0 for nonstop flights."},"arrival_id":{"type":"string","description":"One three-letter IATA airport code, such as JFK. The search is for one arrival airport."},"return_date":{"type":"string","description":"Optional return date in YYYY-MM-DD format. Leave empty for a one-way search."},"departure_id":{"type":"string","description":"One three-letter IATA airport code, such as LAX. The search is for one departure airport."},"outbound_date":{"type":"string","description":"Departure date in YYYY-MM-DD format. Use a future date with published fares."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"flightId":null,"tripType":null,"outboundDate":null,"arrivalAirport":null,"resultCategory":null,"departureAirport":null,"arrivalAirportName":null,"departureAirportName":null}],"product":"google-flights"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JW5OqEoVC0v_ONEfpYct0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches Google Flights and returns structured flight itinerary data for a given origin, destination, and date, billed per successful call via x402 micropayment.","exampleAgentPrompt":"Search Google Flights for round-trip flights from LAX to JFK departing on 2025-08-10 and returning on 2025-08-17 for 2 adults — show me only nonstop options under $400 USD.","exampleUseCases":[{"title":"Budget traveler finding cheap nonstops","prompt":"Find me nonstop flights from ORD to MIA departing 2025-09-05 for 1 adult, show only itineraries under $200 USD."},{"title":"Business trip round-trip search","prompt":"I need round-trip flights from SFO to LHR departing 2025-10-12 and returning 2025-10-19 for 1 adult — only show Delta or United options in USD."},{"title":"Family vacation flight planning","prompt":"Search Google Flights for flights from DFW to MCO on 2025-12-20 for 3 adults, returning December 27 — keep results with at most 1 stop and under $350 each."}],"resultDescription":"Returns a JSON object with a count of matching itineraries and an array of flight items, each containing fields like flightId, tripType, outboundDate, departureAirport, arrivalAirport, departureAirportName, arrivalAirportName, and resultCategory. Failed or empty result sets are not charged.","failureModes":["Invalid or unsupported IATA airport code returns empty result set (not charged)","Past or invalid outbound date yields no itineraries","Overly restrictive filters (max_price too low, max_stops=0 on thin routes) return empty results (not charged)","Google Flights anti-scraping changes may intermittently reduce result availability","Unsupported currency or locale codes may fall back to defaults or return errors"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable flight itinerary data from Google Flights without managing browser automation or scraping infrastructure yourself. It is ideal for travel planning agents, price comparison workflows, and itinerary suggestion pipelines that require real fare data on a pay-per-successful-call basis. Prefer it over raw scraping when you want cost predictability (no charge for empty runs) and a clean JSON schema ready for downstream processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:46:28.712Z","isFirstParty":false,"canonicalSlug":"google-flights-scraper-x402-a615607e"}