๐Ÿšฉ Open Flags API 5,697+ Flags. One API.

Fast, reliable, and free API for country and regional flags. Powered by Elixir with < 5ms response times.

โšก

Lightning Fast

ETS-cached responses in under 5ms. Built with Elixir for maximum performance.

๐ŸŒ

Global Coverage

200+ countries and 5,697 regional flags. ISO 3166 compliant.

๐Ÿ”’

Secure & Authenticated

JWT authentication with API key management and rate limiting.

๐Ÿ“Š

Rich Metadata

Full region names, search terms, country codes, and more.

๐ŸŽจ

SVG Format

Scalable vector graphics for perfect rendering at any size.

๐Ÿ”

Powerful Search

Search by country, region, or ISO code. Pagination included.

Quick Example

curl https://api.openflags.dev/api/v1/flags/US-CA

{
"iso_code": "US-CA",
"country_iso": "US",
"region_name": "California",
"flag_url": "/flags/US/US-CA/flag.svg",
"coat_url": "/flags/US/US-CA/coat.svg"
}