Simple REST API for serving high-quality circled flag images of countries worldwide
Flag Feed provides a simple and reliable way to access high-quality PNG flag images for countries around the world. All flags are served via REST endpoints using standard ISO 3166-1 alpha-2 country codes.
Flag Feed uses ISO 3166-1 alpha-2 country codes. These are two-letter codes that uniquely identify countries and dependent territories.
<img src="https://flagfeed.com/flags/us"
alt="United States Flag"
width="64" height="64">
fetch('https://flagfeed.com/flags/us')
.then(response => response.blob())
.then(blob => {
const img = document.createElement('img');
img.src = URL.createObjectURL(blob);
document.body.appendChild(img);
});
function CountryFlag({ countryCode }) {
return (
<img
src={`https://flagfeed.com/flags/${countryCode}`}
alt={`${countryCode.toUpperCase()} Flag`}
width={64}
height={64}
/>
);
}
Reasonable rate limits apply to prevent abuse.
Need help or have questions about the Flag Feed API?