State and province codes (ISO 3166-2)
State and province codes (ISO 3166-2): every state, province, region, county and district code with its name, type and parent for 200 countries (5,046 codes), incl. Nigeria's 36 states and FCT, Kenya's 47 counties, India's states and union territories and all of Africa. List a country, look up codes (NG-LA) or find a code by name (Lagos). Source: Debian iso-codes (LGPL). For forms, tax, shipping and KYC agents.
Answeringour last check, 2026-12-02
5 of 5checks answered this week
53 msmedian answer time
$0.001listed price per call
$0.001price 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://agentstall.padawanconsulting.com/v1/subdivision-codes
| Category | Code and developer |
|---|---|
| Provider host | agentstall.padawanconsulting.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-12-02 | valid payment request | 402 | $0.001 | 53 ms |
| 2026-12-01 | valid payment request | 402 | $0.001 | 38 ms |
| 2026-11-30 | valid payment request | 402 | $0.001 | 39 ms |
| 2026-11-29 | valid payment request | 402 | $0.001 | 503 ms |
| 2026-11-28 | valid payment request | 402 | $0.001 | 585 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"code": "NG-LA",
"country": "NG",
"name": "Lagos",
"top": "true"
},
"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"
},
"queryParams": {
"properties": {
"code": {
"description": "ISO 3166-2 codes, comma-separated, up to 100, e.g. NG-LA,KE-30,IN-MH",
"type": "string"
},
"country": {
"description": "2-letter ISO country codes, comma-separated, up to 60: lists their subdivisions",
"type": "string"
},
"name": {
"description": "Subdivision name to find its code (accents ignored; exact matches first). Give at least one of country, code or name",
"type": "string"
},
"top": {
"description": "Optional: 'true' returns only top-level subdivisions (no parent)",
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}