Skip to content
InternetData

IP Country Flag

Every IP range mapped to its country's flag, as an emoji and its Unicode code points.

Explore API
IDip_country_flag_v1
Formatscsvgz, mmdb
Update FrequencyDaily
Last UpdatedNovember 8th 2026 (today)
Entries916,784
File Size (csvgz)7.31 MB
File Size (mmdb)3.95 MB
On this page
  1. Overview
  2. Formats

Overview

Every IPv4 and IPv6 range matched to its country, with the flag as both an emoji and its Unicode code points: flag_emoji for a system that renders emoji, flag_unicode for one that does not. The country is the one IP Geolocation gives the same range; this file carries no region or city.

Free under CC BY-SA 4.0, like every Open database: credit InternetData with a link to internetdata.io, and share what you build from it under the same license.

Formats

bash
curl -L -o ip_country_flag_v1.csv.gz -X GET "https://internetdata.io/api/v2/database/download?id=ip_country_flag_v1&format=csvgz&apikey=$APIKEY"
Schema
NameTypeDescription
start_ipipaddressStart IP of the IP range.
end_ipipaddressEnd IP of the IP range.
countrystringISO 3166-1 alpha-2 country code.
country_namestringCountry name, where known.
flag_emojistringFlag emoji of the country, where known.
flag_unicodestringUnicode code points of the flag emoji.
Samples
start_ipend_ipcountrycountry_nameflag_emojiflag_unicode
209.120.175.48209.120.175.55CACanada🇨🇦U+1F1E8 U+1F1E6
38.88.240.13238.88.240.135USUnited States🇺🇸U+1F1FA U+1F1F8
80.255.2.16080.255.3.159DEGermany🇩🇪U+1F1E9 U+1F1EA
104.28.154.155104.28.154.180AUAustralia🇦🇺U+1F1E6 U+1F1FA
217.156.64.0217.156.67.255MDMoldova🇲🇩U+1F1F2 U+1F1E9