Country profile by ISO 3166 alpha-2 code
Country profile by ISO 3166 alpha-2 code: ISO codes, name, region, income group, lending type, capital with coordinates, and the latest population and GDP per capita with their years, as JSON.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
311 msmedian answer time
$0.003listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://pennydatahq.com/api/country/:code
| Category | Code and developer |
|---|---|
| Provider host | pennydatahq.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.003 | 311 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 563 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 298 ms |
| 2026-11-23 | valid payment request | 402 | $0.003 | 321 ms |
| 2026-11-22 | valid payment request | 402 | $0.003 | 309 ms |
| 2026-11-21 | valid payment request | 402 | $0.003 | 308 ms |
| 2026-11-20 | valid payment request | 402 | $0.003 | 312 ms |
| 2026-11-19 | valid payment request | 402 | $0.003 | 306 ms |
| 2026-11-18 | valid payment request | 402 | $0.003 | 314 ms |
| 2026-11-17 | valid payment request | 402 | $0.003 | 584 ms |
| 2026-11-16 | valid payment request | 402 | $0.003 | 380 ms |
| 2026-11-15 | valid payment request | 402 | $0.003 | 312 ms |
| 2026-11-14 | valid payment request | 402 | $0.003 | 317 ms |
| 2026-11-13 | valid payment request | 402 | $0.003 | 542 ms |
| 2026-11-12 | valid payment request | 402 | $0.003 | 305 ms |
| 2026-11-11 | valid payment request | 402 | $0.003 | 300 ms |
| 2026-11-10 | valid payment request | 402 | $0.003 | 553 ms |
| 2026-11-09 | valid payment request | 402 | $0.003 | 301 ms |
| 2026-11-08 | valid payment request | 402 | $0.003 | 292 ms |
| 2026-11-07 | valid payment request | 402 | $0.003 | 313 ms |
| 2026-11-06 | valid payment request | 402 | $0.003 | 302 ms |
| 2026-11-05 | valid payment request | 402 | $0.003 | 308 ms |
| 2026-11-04 | valid payment request | 402 | $0.003 | 300 ms |
| 2026-11-03 | valid payment request | 402 | $0.003 | 296 ms |
| 2026-11-02 | valid payment request | 402 | $0.003 | 298 ms |
Example input (from the provider)
{
"method": "GET",
"pathParams": {
"code": ":code"
},
"queryParams": {},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"properties": {
"code": {
"description": "2-letter ISO 3166 country code, any case. Regions and income groups (for example WLD, EU) are not countries and return not found.",
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"capital": {
"type": [
"string",
"null"
]
},
"capital_latitude": {
"type": [
"number",
"null"
]
},
"capital_longitude": {
"type": [
"number",
"null"
]
},
"gdp_per_capita_usd": {
"description": "GDP per capita in current US dollars, latest year with data; null when none",
"properties": {
"value": {
"type": "number"
},
"year": {
"type": "integer"
}
},
"type": [
"object",
"null"
]
},
"income_group": {
"type": [
"string",
"null"
]
},
"iso2": {
"type": "string"
},
"iso3": {
"type": "string"
},
"lending_type": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"population": {
"description": "Total population, latest year with data; null when none",
"properties": {
"value": {
"type": "number"
},
"year": {
"type": "integer"
}
},
"type": [
"object",
"null"
]
},
"region": {
"type": [
"string",
"null"
]
}
},
"required": [
"iso2",
"iso3",
"name"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}