2s ISO 3166-2 Subdivision Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-10-14).
Looks up ISO 3166-2 subdivision codes (states, provinces, regions) by code or lists all subdivisions for a given country.
The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.
Returns a JSON object indicating whether the subdivision was found, the queried code or country, the source provider, and either a single subdivision object (with code, name, and country) when looking up by code, or an array of subdivision objects when listing by country.
GEThttps://2s.io/api/iso/subdivision?utm_source=zero.xyzUse this endpoint when you need authoritative ISO 3166-2 subdivision data — either to decode a subdivision code to its human-readable name, or to enumerate all subdivisions for a given country. Prefer this over general geocoding APIs when you specifically need ISO-standard codes and names for states, provinces, or regions.
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"country": "US"
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object |
{
"data": {
"found": true,
"query": {
"code": null,
"country": "US"
},
"source": {
"url": "https://www.iso.org/iso-3166-country-codes.html",
"license": "Public domain (ISO 3166-2 code list)",
"provider": "ISO 3166-2 subdivision codes (bundled; olahol/iso-3166-2.json)"
},
"country": "United States",
"subdivision": null,
"subdivisions": [
{
"code": "US-AK",
"name": "Alaska",
"country": "US"
},
{
"code": "US-AL",
"name": "Alabama",
"country": "US"
},
{
"code": "US-AR",
"name": "Arkansas",
"country": "US"
},
{
"code": "US-AS",
"name": "American Samoa",
"country": "US"
},
{
"code": "US-AZ",
"name": "Arizona",
"country": "US"
},
{
"code": "US-CA",
"name": "California",
"country": "US"
},
{
"code": "US-CO",
"name": "Colorado",
"country": "US"
},
{
"code": "US-CT",
"name": "Connecticut",
"country": "US"
},
{
"code": "US-DC",
"name": "District of Columbia",
"country": "US"
},
{
"code": "US-DE",
"name": "Delaware",
"country": "US"
},
{
"code": "US-FL",
"name": "Florida",
"country": "US"
},
{
"code": "US-GA",
"name": "Georgia",
"country": "US"
},
{
"code": "US-GU",
"name": "Guam",
"country": "US"
},
{
"code": "US-HI",
"name": "Hawaii",
"country": "US"
},
{
"code": "US-IA",
"name": "Iowa",
"country": "US"
},
{
"code": "US-ID",
"name": "Idaho",
"country": "US"
},
{
"code": "US-IL",
"name": "Illinois",
"country": "US"
},
{
"code": "US-IN",
"name": "Indiana",
"country": "US"
},
{
"code": "US-KS",
"name": "Kansas",
"country": "US"
},
{
"code": "US-KY",
"name": "Kentucky",
"country": "US"
},
{
"code": "US-LA",
"name": "Louisiana",
"country": "US"
},
{
"code": "US-MA",
"name": "Massachusetts",
"country": "US"
},
{
"code": "US-MD",
"name": "Maryland",
"country": "US"
},
{
"code": "US-ME",
"name": "Maine",
"country": "US"
},
{
"code": "US-MI",
"name": "Michigan",
"country": "US"
},
{
"code": "US-MN",
"name": "Minnesota",
"country": "US"
},
{
"code": "US-MO",
"name": "Missouri",
"country": "US"
},
{
"code": "US-MP",
"name": "Northern Mariana Islands",
"country": "US"
},
{
"code": "US-MS",
"name": "Mississippi",
"country": "US"
},
{
"code": "US-MT",
"name": "Montana",
"country": "US"
},
{
"code": "US-NC",
"name": "North Carolina",
"country": "US"
},
{
"code": "US-ND",
"name": "North Dakota",
"country": "US"
},
{
"code": "US-NE",
"name": "Nebraska",
"country": "US"
},
{
"code": "US-NH",
"name": "New Hampshire",
"country": "US"
},
{
"code": "US-NJ",
"name": "New Jersey",
"country": "US"
},
{
"code": "US-NM",
"name": "New Mexico",
"country": "US"
},
{
"code": "US-NV",
"name": "Nevada",
"country": "US"
},
{
"code": "US-NY",
"name": "New York",
"country": "US"
},
{
"code": "US-OH",
"name": "Ohio",
"country": "US"
},
{
"code": "US-OK",
"name": "Oklahoma",
"country": "US"
},
{
"code": "US-OR",
"name": "Oregon",
"country": "US"
},
{
"code": "US-PA",
"name": "Pennsylvania",
"country": "US"
},
{
"code": "US-PR",
"name": "Puerto Rico",
"country": "US"
},
{
"code": "US-RI",
"name": "Rhode Island",
"country": "US"
},
{
"code": "US-SC",
"name": "South Carolina",
"country": "US"
},
{
"code": "US-SD",
"name": "South Dakota",
"country": "US"
},
{
"code": "US-TN",
"name": "Tennessee",
"country": "US"
},
{
"code": "US-TX",
"name": "Texas",
"country": "US"
},
{
"code": "US-UM",
"name": "United States Minor Outlying Islands",
"country": "US"
},
{
"code": "US-UT",
"name": "Utah",
"country": "US"
},
{
"code": "US-VA",
"name": "Virginia",
"country": "US"
},
{
"code": "US-VI",
"name": "Virgin Islands, U.S.",
"country": "US"
},
{
"code": "US-VT",
"name": "Vermont",
"country": "US"
},
{
"code": "US-WA",
"name": "Washington",
"country": "US"
},
{
"code": "US-WI",
"name": "Wisconsin",
"country": "US"
},
{
"code": "US-WV",
"name": "West Virginia",
"country": "US"
},
{
"code": "US-WY",
"name": "Wyoming",
"country": "US"
}
]
},
"meta": {
"cost": {
"usd": 0.0012,
"tier": 0
},
"caller": "x402",
"version": null,
"endpoint": "iso.subdivision",
"settlement": {
"txHash": "0xbce0eafc54dca8b1e664f24e861f28ef74aae77c02501a0611f3768d2e2cf666",
"network": "eip155:8453",
"success": true
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"