Skip to content
Eden Engine

Postal Code to Place Lookup (Zippopotam.us)

zippopotam/postal-code-lookup

The place a postal code belongs to, by ISO 3166 alpha-2 country code and postal code: country, place name, state or region with its abbreviation, and approximate latitude and longitude. Several places can share one code. Great Britain and Canada are answered by the outward part only, for example SW1A or M5S. An unknown code is refused as VALIDATION.

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.

Data source

Zippopotam.us

Postal code data from Zippopotam.us, made available under the Open Database License (ODbL 1.0, opendatacommons.org/licenses/odbl/1.0/), with individual contents under the Database Contents License (DbCL 1.0). Credit Zippopotam.us as the source. Responses are passed through unmodified. Served by Eden Engine; not an official Zippopotam.us product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

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

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "zippopotam/postal-code-lookup" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "zippopotam/postal-code-lookup" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "zippopotam/postal-code-lookup", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "zippopotam/postal-code-lookup", 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 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "country_code",
    "postal_code"
  ],
  "properties": {
    "postal_code": {
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9 -]{0,11}$",
      "description": "The postal code, for example 10115, 90210, SW1A or M5S. For Great Britain and Canada give the outward part only."
    },
    "country_code": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "description": "ISO 3166 alpha-2 country code, for example US, DE or GB."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "country",
    "country abbreviation",
    "post code",
    "places"
  ],
  "properties": {
    "places": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "place name",
          "longitude",
          "latitude"
        ],
        "properties": {
          "state": {
            "type": "string"
          },
          "latitude": {
            "type": "string",
            "description": "Decimal degrees, as a string."
          },
          "longitude": {
            "type": "string",
            "description": "Decimal degrees, as a string."
          },
          "place name": {
            "type": "string"
          },
          "state abbreviation": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "description": "One entry per place the code covers."
    },
    "country": {
      "type": "string"
    },
    "post code": {
      "type": "string"
    },
    "country abbreviation": {
      "type": "string"
    }
  },
  "additionalProperties": true
}