CSV2GEO icon

CSV2GEO

Geocode addresses to coordinates across 200+ countries

Postcode → Boundary

AI-generated

Summary

Convert a postcode (postal code) in a specified country into detailed administrative boundary information, including optional polygon geometry as GeoJSON, population data, bounding box, and Wikidata identifiers.

Inputs

  • Postcode (required) — The postcode to look up, in any common format (e.g., '90210', 'SW1A 1AA', 'K1A 0B1').
  • Country (ISO 3166-1 alpha-2) (required) — The two-letter ISO country code representing the country of the postcode (e.g., 'US').
  • Boundary Options — Optional parameters to include additional data: whether to include polygon geometry as GeoJSON, polygon precision level (low, medium, full resolution), language tag to translate division names, and whether to include a map of other translated names.

Output shape

a single JSON object per input containing the boundary details corresponding to the postcode

The output contains administrative boundary attributes such as id, name, subtype, country, region, population, Wikidata ID, latitude, longitude, bounding box, optional polygon geometry (GeoJSON), and a confidence score. Geometry and other names are included only if requested in boundary options. Each output is paired with the input item for traceability.

Examples

Example 1: Lookup US postcode 90210 boundaries including geometry with medium precision

Postcode=90210, Country=US, Boundary Options includeGeometry=true, precision=med

Links

Discussion