API referenceCountries
Get a flag
Serve a country flag as SVG.
Serve a country flag as SVG.
Path Parameters
file*string
Query Parameters
shape?string
Value in
- "4x3"
- "1x1"
Response Body
image/svg+xml
curl -X GET "https://example.com/v1/flags/tr.svg"Empty
Get a country GET
Resolve a single ISO 3166-1 alpha-2 country code.
Search flights GET
Serves from the Redis cache when fresh. Concurrent identical searches are coalesced into a single upstream call. When the flight number operates more than one leg that day, pass `origin` (and optionally `destination`) to pick one; without a selector the provider default is returned and every leg is listed under `alternates`.