Skip to content
Eden Engine

States and Provinces of a Country (CountriesNow)

countriesnow/country-states

The first-level subdivisions (states, provinces or regions) of one country, each with its name and ISO 3166-2 style state code. Give the English country name or its alpha-2 code. An unknown country is refused as invalid input. CountriesNow data, passed through unmodified and served by Eden Engine; not an official CountriesNow product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

CountriesNow

Data from CountriesNow (countriesnow.space). Served by Eden Engine; not an official CountriesNow product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "countriesnow/country-states" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "countriesnow/country-states" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "countriesnow/country-states", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "countriesnow/country-states", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "country"
  ],
  "properties": {
    "country": {
      "type": "string",
      "maxLength": 60,
      "minLength": 2,
      "description": "Country name in English (Nigeria, South Korea) or its ISO 3166 alpha-2 code (NG). Case-insensitive."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "error",
    "data"
  ],
  "properties": {
    "msg": {
      "type": "string",
      "description": "A short status message."
    },
    "data": {
      "type": "object",
      "properties": {
        "iso2": {
          "type": "string"
        },
        "iso3": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "states": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "state_code": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "description": "name, iso codes and the states list of the country.",
      "additionalProperties": true
    },
    "error": {
      "type": "boolean",
      "description": "False on success."
    }
  },
  "description": "The service's envelope.",
  "additionalProperties": true
}