mirror of
https://gitlab.com/restcountries/restcountries.git
synced 2026-03-31 15:07:46 +01:00
0d86f1ce03
start of week also includes saturday
6.1 KiB
6.1 KiB
API data fields
In this table you can find the fields of the different API versions, extra information and sources.
| field | v2 | v3 | v3.1 | Info |
|---|---|---|---|---|
| alpha2Code / cca2 | v | v | v | ISO 3166-1 alpha-2 two-letter country codes |
| alpha3Code / cca3 | v | v | v | ISO 3166-1 alpha-3 three-letter country codes |
| altSpellings | v | v | v | Alternate spellings of the country name |
| area | v | v | v | Geographical size |
| borders | v | v | v | Border countries |
| callingCodes / idd | v | v | v | International dialing codes |
| capital | v | v | v | Capital cities |
| capitalInfo > latlng | Capital latitude and longitude | |||
| car > signs | v | Car distinguised (oval) signs | ||
| car > side | v | Car driving side | ||
| cioc | v | v | v | Code of the International Olympic Committee |
| coatOfArms | v | MainFacts.com links to svg and png images | ||
| continents | v | List of continents the country is on | ||
| currencies | v | v | v | List of all currencies |
| demonym | v | Inhabitants of the country | ||
| demonyms (m/f) | v | v | Genderized inhabitants of the country | |
| independent | v | v | v | ISO 3166-1 independence status (the country is considered a sovereign state) |
| fifa | v | FIFA code | ||
| flag | v | v | v | v2: Link to the svg flag on Flagpedia, v3: flag emoji |
| flags | v | v | v | Flagpedia links to svg and png flags |
| gini | v | v | v | Worldbank Gini index |
| landlocked | v | v | Landlocked country | |
| languages | v | v | v | List of official languages |
| latlng | v | v | v | Latitude and longitude |
| maps | v | v | v | Link to Google maps and Open Street maps |
| name | v | v | v | Country name |
| name > official/common | v | v | Official and common country name | |
| nativeName | v | v | Native country name | |
| nativeName > official/common | v | v | Official and common native country name | |
| numericCode / ccn3 | v | ISO 3166-1 numeric code (UN M49) | ||
| population | v | v | v | Country population |
| postalCodes > format/regex | Country postal codes | |||
| region | v | v | v | UN demographic regions |
| regionalBlocs | v | |||
| startOfWeek | Day of the start of week (Sunday/Monday/Saturday) | |||
| status | v | v | ISO 3166-1 assignment status | |
| subregion | v | v | v | UN demographic subregions |
| timezones | v | Timezones | ||
| topLevelDomain / tld | v | v | v | Internet top level domains |
| translations | v | v | v | List of country name translations |
| unMember | v | v | UN Member status |