{"uid":"cap_DC53ZJwkCkcFsKdroxPUd","slug":"brainiac-airport-connection-risk-calculator-9af3152f","name":"BRAINIAC Airport Connection Risk Calculator","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/aviation-intelligence/airport-connection-risk-calculate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"file":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"maxItems":20},"flights":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"seats":{"type":"number","maximum":1000,"minimum":0},"origin":{"type":"string","maxLength":8},"source":{"type":"string","maxLength":200},"status":{"type":"string","maxLength":80},"airline":{"type":"string","maxLength":120},"distanceKm":{"type":"number","maximum":40000,"minimum":0},"fuelBurnKg":{"type":"number","maximum":1000000,"minimum":0},"passengers":{"type":"number","maximum":1000,"minimum":0},"airlineIata":{"type":"string","maxLength":8},"destination":{"type":"string","maxLength":8},"aircraftType":{"type":"string","maxLength":40},"flightNumber":{"type":"string","maxLength":20},"actualArrivalAt":{"type":"string","maxLength":40},"actualDepartureAt":{"type":"string","maxLength":40},"scheduledArrivalAt":{"type":"string","maxLength":40},"aircraftRegistration":{"type":"string","maxLength":20},"scheduledDepartureAt":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":5000},"openSky":{"type":"object","required":["icao24"],"properties":{"icao24":{"type":"string","maxLength":12,"minLength":1}},"additionalProperties":false},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"subject":{"type":"string","maxLength":160},"issuedAt":{"type":"string","maxLength":40},"expiresAt":{"type":"string","maxLength":40},"documentType":{"type":"string","maxLength":80},"registration":{"type":"string","maxLength":20}},"additionalProperties":false},"maxItems":2000},"diversions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"reason":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"flightId":{"type":"string","maxLength":80},"resumedAt":{"type":"string","maxLength":40},"divertedAt":{"type":"string","maxLength":40},"flightNumber":{"type":"string","maxLength":20},"diversionAirport":{"type":"string","maxLength":8},"finalDestination":{"type":"string","maxLength":8},"plannedDestination":{"type":"string","maxLength":8}},"additionalProperties":false},"maxItems":2000},"connections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"airport":{"type":"string","maxLength":8},"inboundFlightId":{"type":"string","maxLength":80},"outboundFlightId":{"type":"string","maxLength":80},"minimumConnectMinutes":{"type":"number","maximum":1440,"minimum":0}},"additionalProperties":false},"maxItems":2000},"groundTimes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":200},"airport":{"type":"string","maxLength":8},"arrivalAt":{"type":"string","maxLength":40},"departureAt":{"type":"string","maxLength":40},"flightNumber":{"type":"string","maxLength":20},"registration":{"type":"string","maxLength":20},"scheduledGroundMinutes":{"type":"number","maximum":10000,"minimum":0}},"additionalProperties":false},"maxItems":5000},"registrations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"model":{"type":"string","maxLength":120},"owner":{"type":"string","maxLength":160},"icao24":{"type":"string","maxLength":12},"source":{"type":"string","maxLength":200},"country":{"type":"string","maxLength":80},"operator":{"type":"string","maxLength":160},"aircraftType":{"type":"string","maxLength":40},"manufacturer":{"type":"string","maxLength":120},"registration":{"type":"string","maxLength":20},"serialNumber":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":2000},"emissionFactors":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","maxLength":200},"kgCo2PerKm":{"type":"number","maximum":1000,"minimum":0},"aircraftType":{"type":"string","maxLength":40},"kgCo2PerPassengerKm":{"type":"number","maximum":10,"minimum":0}},"additionalProperties":false},"maxItems":200},"maintenanceLogs":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string","maxLength":40},"id":{"type":"string","maxLength":80},"hours":{"type":"number","maximum":100000,"minimum":0},"cycles":{"type":"number","maximum":1000000,"minimum":0},"source":{"type":"string","maxLength":200},"status":{"type":"string","maxLength":80},"taskCode":{"type":"string","maxLength":80},"description":{"type":"string","maxLength":400},"registration":{"type":"string","maxLength":20}},"additionalProperties":false},"maxItems":5000},"expiryWarningDays":{"type":"number","maximum":3650,"minimum":0}}},"responseSchema":{"type":"json","example":{"items":[{"id":"C1","risk":"missed","source":"Caller-supplied","airport":"JFK","slackMinutes":-10,"inboundFlightId":"F1","outboundFlightId":"F2","inboundFlightNumber":"BA100","outboundFlightNumber":"BA117","minimumConnectMinutes":90,"paidFlightTrackingUsed":false,"availableConnectMinutes":80}],"status":"calculated","findings":[{"code":"connection_risk","kind":"conflict","detail":"Connection slack -10 minutes is missed.","subject":"C1"}],"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Flight schedules, diversions, registrations, maintenance logs, documents, ground times, emission factors, and connections are copied only from labeled fields supplied by the caller, or from key-free OpenSky aircraft metadata when openSky.icao24 is requested.","No paid flight-tracking API or authenticated airline system is used and no API key is required.","Delay, connection, diversion, ground-time, and emissions results use only supplied times/distances/factors (or a small disclosed public-style CO2 factor table when no factor or fuel burn is supplied).","Document expiry checks compare caller-supplied expiry dates to asOf only. Regulatory compliance is not determined.","Operations reports aggregate only sections for which records were supplied or optionally fetched."],"highRiskCount":1,"apiKeyRequired":false,"openSkyFetched":false,"connectionCount":1,"paidProviderUsed":false,"paidFlightTrackingUsed":false,"authenticatedAirlineSystemUsed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.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_2j_lB1It8UhZ4gu7j9Bfk","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":"Calculates the risk of missing flight connections at airports based on inbound/outbound flight schedules, minimum connect times, and actual or scheduled arrival/departure data.","exampleAgentPrompt":"I have two flights — BA100 arriving at JFK at 10:00am and BA117 departing JFK at 11:20am, with a minimum connect time of 90 minutes. Can you calculate whether I'll make that connection and how many minutes of slack I have?","exampleUseCases":[{"title":"Tight layover risk check","prompt":"I'm connecting from BA100 arriving JFK at 10:00am to BA117 departing at 11:20am — the minimum connect time there is 90 minutes. Can you check if I'll make it and by how many minutes?"},{"title":"Delay impact on itinerary connections","prompt":"My inbound flight F1 is now arriving 25 minutes late — does that mean I'll miss my connection to F2 which departs in 80 minutes? The minimum connect time at this airport is 60 minutes."},{"title":"Bulk connection audit for travel agency","prompt":"I have a CSV of 200 passenger itineraries with their inbound and outbound flight times and minimum connection times at each airport — can you run through all of them and flag any missed or high-risk connections?"}],"resultDescription":"Returns a list of connection assessments, each with a risk status (e.g. 'missed', 'tight', 'safe'), slack minutes (positive or negative), inbound and outbound flight identifiers, and minimum connect time used. Also returns a findings array with coded conflict details, a summary of high-risk connection count, flags indicating whether paid tracking or authenticated airline systems were used (always false for this endpoint), and a list of limitations about data sources.","failureModes":["Missing required connection pair fields (origin, destination, times) returns a validation error","Negative slack minutes indicates a missed connection — not an API error but a computed risk outcome","If no flights array is supplied the endpoint cannot calculate connections and returns empty results","Truncated or malformed base64 file input may cause parsing failure","Exceeding maxItems (5000 flights) will cause a schema validation rejection","asOf date mismatch with supplied times may produce unexpected expiry or timing comparisons"],"whenToPreferThis":"Use this endpoint when you need a lightweight, no-account, pay-per-call connection risk calculation using caller-supplied flight data only — no API key or airline system access required. It is ideal for travel agents, itinerary builders, or operations tools that already have structured flight schedule data and want fast, low-cost connection feasibility analysis. Prefer alternatives if you need live flight tracking data, as this endpoint uses only caller-supplied times and free OpenSky metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:39.852Z","isFirstParty":false,"canonicalSlug":"brainiac-airport-connection-risk-calculator-9af3152f"}