Skip to main content
Free IP API home

Country

Available on paid plans only.

This will return the country info by country code

Use a paid server with authentication. These endpoints use /api/; /api/v1/ is for the free API only.

JSON:

GET /api/countries/{code}

Response

For a successful request, you will receive a 200 OK response with the following JSON structure:

JSON:

{
  "code": "DE",
  "name": "Germany",
  "native": "Deutschland",
  "phone": [49],
  "continent": "EU",
  "capital": "Berlin",
  "currency": [
    "EUR"
  ],
  "languages": [
    "de"
  ]
}