Country

Retrieves country information.

collapse allexpand all

{
  "id": "BR",
  "name": "Brasil",
  "locale": "pt_BR",
  "currency_id": "BRL",
  "decimal_separator": ",",
  "thousands_separator": ".",
  "time_zone": "GMT-03:00",
  "geo_information": {
    "location": {
      "latitude": -23.6821604,
      "longitude": -46.875494
    }
  },
  "states": [
    {
      "id": "BR-AC",
      "name": "Acre"
    },
    {
      "id": "BR-AL",
      "name": "Alagoas"
    },
    {
      "id": "BR-AP",
      "name": "Amapá"
    },
    {
      "id": "BR-AM",
      "name": "Amazonas"
    },
    {
      "id": "BR-BA",
      "name": "Bahia"
    },
    {
      "id": "BR-CE",
      "name": "Ceará"
    },
    {
      "id": "BR-DF",
      "name": "Distrito Federal"
    },
    {
      "id": "BR-ES",
      "name": "Espírito Santo"
    },
    {
      "id": "BR-GO",
      "name": "Goiás"
    },
    {
      "id": "BR-MA",
      "name": "Maranhão"
    },
    {
      "id": "BR-MT",
      "name": "Mato Grosso"
    },
    {
      "id": "BR-MS",
      "name": "Mato Grosso do Sul"
    },
    {
      "id": "BR-MG",
      "name": "Minas Gerais"
    },
    {
      "id": "BR-PR",
      "name": "Paraná"
    },
    {
      "id": "BR-PB",
      "name": "Paraíba"
    },
    {
      "id": "BR-PA",
      "name": "Pará"
    },
    {
      "id": "BR-PE",
      "name": "Pernambuco"
    },
    {
      "id": "BR-PI",
      "name": "Piauí"
    },
    {
      "id": "BR-RN",
      "name": "Rio Grande do Norte"
    },
    {
      "id": "BR-RS",
      "name": "Rio Grande do Sul"
    },
    {
      "id": "BR-RJ",
      "name": "Rio de Janeiro"
    },
    {
      "id": "BR-RO",
      "name": "Rondônia"
    },
    {
      "id": "BR-RR",
      "name": "Roraima"
    },
    {
      "id": "BR-SC",
      "name": "Santa Catarina"
    },
    {
      "id": "BR-SE",
      "name": "Sergipe"
    },
    {
      "id": "BR-SP",
      "name": "São Paulo"
    },
    {
      "id": "BR-TO",
      "name": "Tocantins"
    }
  ]
}
Attributes
connections
currency_id
Currency ID
decimal_separator
Currency decimal separator
geo_information
Geopositioning information.
Attributes
location
Polygon interior point which represents the location
Attributes
latitude
Latitude
longitude
Longitude
id
Country ID
locale
Language ID
methods
name
Country name
related_resources
thousands_separator
Currency thousands separator
time_zone
Country timezone