{"uid":"cap_0RhPvRHSUjfhYWZY1d8z-","slug":"flightaware-5fdf3999","name":"FlightAware Flight Search Count","description":"Get count of flights matching a search.","url":"https://stabletravel.dev/api/flightaware/flights/search/count","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["query"],"properties":{"query":{"type":"string","description":"Search query string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["count"],"properties":{"count":{"type":"number"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"count":42}},"example":null,"exampleRequest":null,"tags":["x402"],"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":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8QXIs5k82-ARgjeFldy2g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the count of flights matching a given search query via the FlightAware API.","exampleAgentPrompt":"How many flights currently match the search query 'origin:KORD destination:KLAX' in FlightAware right now?","exampleUseCases":null,"resultDescription":"A single numeric count representing the number of flights that match the provided search query string.","failureModes":["Invalid or malformed search query string returns an error or zero count","Missing required 'query' parameter results in a 400 bad request","FlightAware API downtime or rate limiting returns a 5xx or timeout error","No matching flights returns a count of 0","Authentication or payment failure via x402 protocol"],"whenToPreferThis":"Use this endpoint when you need a quick numeric summary of how many flights match a specific search — for example, to gauge traffic volume, check disruption scale, or decide whether to fetch full flight details. Prefer this over the full flight search endpoint when you only need the count and want to minimize cost and payload size.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:48:03.168Z","isFirstParty":false}