{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/transport:adsb-lol/nearby":{"get":{"operationId":"transport_adsb_lol_nearby","summary":"Aircraft nearby","description":"Aircraft within a radius (nautical miles, max 250) of a point.","tags":["transport"],"parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number"},"example":51.47},{"name":"lon","in":"query","required":true,"schema":{"type":"number"},"example":-0.45},{"name":"radius","in":"query","required":false,"schema":{"type":"integer","default":25,"minimum":1,"maximum":250}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":15,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:adsb-lol/callsign":{"get":{"operationId":"transport_adsb_lol_callsign","summary":"By callsign","description":"Aircraft broadcasting a callsign (e.g. a flight number).","tags":["transport"],"parameters":[{"name":"callsign","in":"query","required":true,"schema":{"type":"string"},"example":"BAW123"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":15,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:adsb-lol/registration":{"get":{"operationId":"transport_adsb_lol_registration","summary":"By registration","description":"Aircraft by tail number.","tags":["transport"],"parameters":[{"name":"registration","in":"query","required":true,"schema":{"type":"string"},"example":"G-XLEA"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":15,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/transport:adsb-lol/hex":{"get":{"operationId":"transport_adsb_lol_hex","summary":"By ICAO hex","description":"Aircraft by 24-bit ICAO address.","tags":["transport"],"parameters":[{"name":"hex","in":"query","required":true,"schema":{"type":"string"},"example":"4ca853"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":15,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}