{"uid":"cap_xUQtSJAaF-sdfLl8vnxWy","slug":"stabletravel-flightaware-disruption-counts-by-entity-f2bc6482","name":"StableTravel FlightAware Disruption Counts by Entity","description":"Pay-per-request access to flights, award availability, hotels, activities, and transfers. No auth, no subscriptions.","url":"https://stabletravel.dev/api/flightaware/disruption-counts/entity_type","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","properties":{"cursor":{"type":"string"},"max_pages":{"type":"number"},"time_period":{"enum":["today","yesterday","last3days","last7days","last14days","last30days"],"type":"string"},"entity_id_filter":{"type":"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":["entities"],"properties":{"links":{"type":"object","properties":{"next":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"entities":{"type":"array","items":{"type":"object","properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"score":{"anyOf":[{"type":"number"},{"type":"null"}]},"total":{"anyOf":[{"type":"number"},{"type":"null"}]},"delays":{"anyOf":[{"type":"number"},{"type":"null"}]},"entity_id":{"type":"string"},"entity_type":{"type":"string"},"cancellations":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false}},"num_pages":{"type":"number"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"entities":[{"name":"American Airlines","score":0.12,"total":47,"delays":42,"entity_id":"AAL","entity_type":"airline","cancellations":5}],"num_pages":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7mE-12jeXC0OEcfzXk_p_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns flight disruption counts (delays and cancellations) ranked by a disruption score for airlines or airports over a specified time period.","exampleAgentPrompt":"Which airlines have had the most delays and cancellations over the last 7 days? Show me the disruption scores and counts ranked by how bad each one is.","exampleUseCases":[{"title":"Identify worst-performing airlines for rebooking","prompt":"I need to know which airlines had the most cancellations yesterday so I can avoid rebooking customers on them today. Show me the top disruptors ranked by cancellation count."},{"title":"Track airport reliability for travel planning","prompt":"We're planning a company retreat next month. Which airports have had the highest disruption rates over the past 30 days? I want to choose a destination with the most reliable flights."},{"title":"Monitor carrier performance for loyalty program","prompt":"Pull the disruption stats for United Airlines over the last 14 days—I need to see their delay and cancellation counts to decide if we should adjust our partnership benefits."}],"resultDescription":"A paginated list of entities (airlines or airports) with their disruption scores, total flight counts, delay counts, cancellation counts, entity IDs, and entity types. Also includes pagination metadata (num_pages, next cursor link).","failureModes":["Invalid entity_type path parameter returns an error or empty result","Unsupported time_period enum value causes a 400 bad request","entity_id_filter with a non-existent ID returns an empty entities array","Pagination cursor mismatch or expired cursor returns no results","Payment not received results in 402 response blocking the data"],"whenToPreferThis":"Use this endpoint when you need aggregated, ranked disruption statistics (delays + cancellations + score) across multiple airlines or airports for a historical time window. Prefer this over single-airport delay endpoints when you want comparative rankings or trend data across entities rather than real-time status at one specific airport.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:40:08.607Z","isFirstParty":false}