Fields
currency
CountryCurrencyInfoCountry currency info (code, name, symbol), e.g., {"code": "USD", "name": "United States Dollar", "symbol": "$"}.
display_name
StringUser-friendly version of the geographical data, which may be more descriptive or formatted differently.
hierarchy
CountryHierarchyLocation hierarchy within the country (e.g., states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"}, {"name": "City", "slug": "city"}]).
iso2
StringTwo-letter ISO code representing the country (e.g., "US").
iso3
StringThree-letter ISO code representing the country (e.g., "USA").
name
StringThe name of the country (e.g., "United States").
phone_code
StringCountry dialing code (e.g., "+91" for India, "+1" for US).
timezones
[String]List of time zones used in the country (e.g., ["America/New_York", "America/Los_Angeles"]).
id
StringUnique identifier for the country.
latitude
StringGeographical latitude of the country (e.g., "37.7749").
longitude
StringGeographical longitude of the country (e.g., "-122.4194").
type
StringIndicates the type of object.
Was this section helpful?