flags.api.insyde.one

Country & subdivision metadata + flag images (SVG, WebP, PNG).

Images (public)

https://flags.api.insyde.one/img/c/us/rect.svg
https://flags.api.insyde.one/img/c/us/rect/h40.webp
https://flags.api.insyde.one/img/c/br/square/h80.png
https://flags.api.insyde.one/img/s/us-ca/rect/h40.webp

Heights: 20, 40, 60, 80, 120, 160, 240, 320. Shapes: rect, square. Formats: svg, webp, png.

API (key required)

GET /v1/c/{iso2|iso3|numeric|emoji|emoji_hex}?key=...
GET /v1/s/{iso2-sub}?key=...
GET /v1/calling/{code}?key=...

# Examples
/v1/c/us       /v1/c/usa       /v1/c/840
/v1/c/%F0%9F%87%BA%F0%9F%87%B8       /v1/c/1F1FA-1F1F8
/v1/s/us-ca    /v1/s/br-sp
/v1/calling/+1  /v1/calling/55

Licensing. Flag designs are official symbols of sovereign states or political subdivisions and are in the public domain in their respective jurisdictions. The SVG renderings used here come from open-source collections (flag-icons, MIT) and Wikimedia Commons (PD / CC0). Country and subdivision data is derived from mledoze/countries (ODbL-1.0) and Unicode CLDR.

This service is provided as-is for reference use. No warranty is given as to accuracy, completeness, or availability.