FlightByte
API referenceCountries

Get a flag

Serve a country flag as SVG.

GET
/v1/flags/{file}

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