๐ฉ 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"
}