postal_code
ZIP code lookup, postal code to city, state and coordinates. Look up a postal or ZIP code in about 120 countries: place names, state or province, county and coordinates. Send country (2 letters) and code; for the UK, Canada and the Netherlands only the first part of the code (outward code, FSA) is covered. Data: GeoNames (CC BY 4.0). Price: $0.002 per call (x402, USDC on Base).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>",
"code": "<code>"
},
"name": "postal_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| country | Yes |