{"uid":"cap_okjGgmz8ITy06vuq9IInU","slug":"stabletravel-count-165ac277","name":"StableTravel FlightAware Flight Search Count","description":"Count the number of flights matching a search query","url":"https://stabletravel.dev/api/flightaware/flights/search/count?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Search query string"}}},"responseSchema":{"type":"object","required":["count"],"properties":{"count":{"type":"number"}},"additionalProperties":false},"example":{"request":{"query":"origin:KJFK destination:KLAX"},"response":{"count":12867}},"exampleRequest":{"query":"origin:KJFK destination:KLAX"},"tags":["flightaware","flights","google-flights","seats-aero","travel","data","web"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.04/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.04","per":"call","confidence":"exact"},{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7a0YYD4euhcXHlRGjRefo","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_dURsPYaC-8tgYCvqhUBqR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"StableTravel","brandSlug":"stabletravel","brandBaseUrl":"https://stabletravel.dev","brandDocsUrl":"https://stabletravel.dev","whatItDoes":"Returns the count of flights matching a FlightAware-style search query string","exampleAgentPrompt":"How many flights are there matching origin KJFK and destination KLAX according to FlightAware data?","exampleUseCases":null,"resultDescription":"A single numeric count representing how many flights in the FlightAware database match the given search query string.","failureModes":["Invalid query syntax returns an error — query must follow FlightAware search query format (e.g. 'origin:KJFK destination:KLAX')","Missing required 'query' parameter returns a 400 or validation error","Unrecognized airport codes or operator identifiers may return a count of zero","Service unavailability may return a 5xx error"],"whenToPreferThis":"Use this endpoint when you need to know the volume or prevalence of flights matching specific criteria (origin, destination, operator, etc.) without needing the full list of flight records. Ideal for analytics, feasibility checks, or pre-filtering before fetching detailed flight data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:48:22.234Z","isFirstParty":false,"canonicalSlug":"stabletravel-count-165ac277"}