Find Postal Codes
find_postal_codesLook up postal/ZIP codes and places by each other. Pass "postal_code" (+ country) to find the place(s) a code maps to ("what city is ZIP 90210"); or pass "place" (+ country) to find the postal codes for a place name ("postal codes for Paris"). Returns place name, country, admin region (state/county), postal code, and coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 10, max 100). | |
| place | No | Place name to find postal codes for (e.g. "Paris", "Springfield"). Use instead of postal_code. | |
| _apiKey | Yes | GeoNames username | |
| country | No | ISO 3166-1 alpha-2 country code (e.g. "US", "FR"). Strongly recommended — codes and place names repeat across countries. | |
| postal_code | No | Postal/ZIP code to look up (e.g. "90210", "75001"). Provide country for accuracy. |