Accurate and current REST data for 257 locations around the globe.
Locations consist of countries, dependencies, islands, territories, and oceans. All entities return the same data template. Explore the template below.
Fact: The largest continent in the world is Asia. 
Cookies
We use cookies to enhance your browsing experience.
PROFILE
ENTITY
Profile
MODULES
Entities Flags
RESOURCES
Maps

Profile (data template)

General
{
    general: {
        name: {
            const:
            common:
            formal:
            native: { common:  formal:  language:  },
            translations: {
                common: { arabic:  chinese:  english:  french:  russian:  spanish:  },
                formal: { arabic:  chinese:  english:  french:  russian:  spanish:  },
            },
            etymology:
        }
        region:
        subregion:
        coordinates: {
            dd: { lat:  long:  }, dms: { lat:  long:  }, dmm: { lat:  long:  }
        }
        capital: {
            name:
            etymology:
            coordinates: {
                dd: { lat:  long:  }, dms: { lat:  long:  }, dmm: { lat:  long:  }
            }
            date_time: {
                iso:
                units: { year:  month:  day:  hour:  minute:  second:  millisecond:  offset:  }
                timezone:
            }
        }
        country_code: { alpha_2:  alpha_3:  numeric:  }
        currency_code: { alphabetic:  numeric:  }
        calling_code: { dial_out:  dial_in:  }
        internet_domain:
        flag: {
            emoji: { dec:  hex:  }, simple: { png:  svg:  }, detail: { png:  svg:  },
        }
        united_nations: { member:  observer:  admission:  }
    }
}
12345678910111213141516171819202122232425262728293031323334353637383940
Note: Profile is the template object for all entities. Entities can be countries, dependencies, islands, territories, or oceans.
Tip: You can get country data based on user location. This can be done automatically by the API or manually by providing an IP address. For more information, view all endpoints.
search profile
clear search
categories
  • General
  • Geography
  • Society
  • Environment
  • Government
  • Economy
  • Energy
  • Communications
  • Transportation
  • Military

Entities

The following is a list of all available entities in alphabetical order. These are the constant names used to request an entity. This list is retrievable.
  • A-C
  • D-K
  • L-R
  • S-Z



Tip: You can create custom endpoints to receive data only for the countries you specify. There are 0 available entities to choose from. To see how, visit the path builder.
A-C
,

Flags

Each entity contains three types of flags. An emoji flag provided in decimal and hexadecimal values, a simple flag with simplified graphics provided in SVG and PNG formats, and a detailed flag with detailed graphics provided in SVG and PNG image formats.
  • A-K
  • L-Z
A-K