{"uid":"cap_BO4TcuT2IVYLqVvR3F0zb","slug":"x402engine-flight-search-api-70aa4efd","name":"x402engine Flight Search API","description":"x402engine — Search flights via Google Flights (SerpApi). Returns best flights, prices, airlines, and price insights.","url":"https://x402engine.app/api/travel/flights?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["origin","destination","departureDate"],"properties":{"stops":{"type":"string","description":"0=Any stops, 1=Nonstop, 2=Up to 1 stop, 3=Up to 2 stops"},"adults":{"type":"string","default":"1","description":"Number of adult passengers"},"origin":{"type":"string","example":"JFK","description":"Departure airport IATA code"},"children":{"type":"string","description":"Number of children"},"currency":{"type":"string","default":"USD","description":"Currency code (e.g. USD, EUR)"},"maxPrice":{"type":"string","description":"Maximum price filter"},"returnDate":{"type":"string","example":"2026-11-13","description":"Return date for round trips (YYYY-MM-DD)"},"destination":{"type":"string","example":"LAX","description":"Arrival airport IATA code"},"travelClass":{"type":"string","default":"1","description":"1=Economy, 2=Premium Economy, 3=Business, 4=First"},"departureDate":{"type":"string","example":"2026-11-10","description":"Departure date (YYYY-MM-DD); today or a future date"}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":3,"rating":{"score":"0.97","successRate":"0.99","reviews":3,"stars":"4.9","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"2.0000","medianCents":"2.0000","p90Cents":"2.0000","minCents":"2.0000","maxCents":"2.0000","p95Cents":"2.0000","sampleCount":70,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_L-gbHjpI1NexvzojXOf5b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches for available flights between two airports on a given date, with optional filters for stops, class, price, and passengers, billed per call via USDC micropayment.","exampleAgentPrompt":"Find me nonstop economy flights from JFK to LAX on May 15 for 2 adults — show options under $400 USD.","exampleUseCases":[{"title":"Budget solo trip planning","prompt":"Search for the cheapest one-stop flights from Chicago O'Hare to London Heathrow departing June 10, economy class, for 1 adult — show anything under $700 USD."},{"title":"Family round-trip vacation search","prompt":"Find round-trip flights from SFO to JFK for 2 adults and 1 child, departing July 4 and returning July 11, economy class — what are my options?"},{"title":"Business travel in premium cabin","prompt":"Look up business class flights from LAX to NRT departing September 3 for 1 adult — I want nonstop only if possible, priced in USD."}],"resultDescription":"Returns a list of available flights matching the search criteria, including airline, departure and arrival times, number of stops, travel class, price in the requested currency, and flight duration. Results are filtered by any optional parameters such as max price, stop count, or travel class provided in the query.","failureModes":["Missing required parameters (origin, destination, departureDate) returns a 400 validation error","Invalid IATA airport codes return no results or an error","Dates in the past or invalid date format (not YYYY-MM-DD) return an error","No flights found for the given route/date combination returns an empty result set","Payment failure or insufficient USDC balance returns HTTP 402","Rate limiting or upstream flight data provider outage returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to search for real-time flight availability and pricing between two specific airports on a given date, especially in a pay-per-call context without a subscription. It is well-suited for travel agents, trip-planning bots, or any workflow where the agent needs live flight data billed as a microtransaction in USDC on Base, MegaETH, or Solana rather than through a traditional API key subscription.","instructions":null,"reviewSummary":"x402engine.app delivers accurate, structured flight search results via Google Flights (SerpApi), consistently returning itineraries with prices, airline details, and price insights in seconds. All three reviews report full success with 5/5 accuracy and reliability across one-way, round-trip, and multi-route queries including nonstop filtering. No failures or inconsistencies were noted across varied routes and travel dates.","reviewSummaryHighlights":["Accurate structured results with prices and price insights on every query","Fast response times, returning multiple itineraries in seconds","Reliable across one-way, round-trip, and multi-route fare tracking use cases"],"reviewSummaryConcerns":[],"reviewSummaryGeneratedAt":"2026-10-10T16:15:19.544Z","activationCount":120,"lastUsedAt":"2026-10-30T14:09:34.659Z","lastSuccessfullyRanAt":"2026-10-30T14:09:34.659Z","lastHealthCheckAt":"2026-10-30T08:49:00.080Z","isFirstParty":false,"canonicalSlug":"x402engine-flight-search-api-70aa4efd"}