Zip Codes Lookup
ZipCodesLookupZip Codes Lookup: Zip Codes Lookup finds all postal codes within a US city or resolves a five-digit ZIP code to its city and state. Paid plans add the IANA time zone, geographic coordinates and the distance from the ZIP to a second ZIP. (Cost: 2 credits)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ZipCodesLookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | The zip code for which you want to get the data | |
| city | No | The city for which you want to get the zip code data (e.g., Los Angeles) | |
| state | No | The state for which you want to get the zip code data | |
| distanceTo | No | A second US ZIP code; adds a distance object with the straight-line distance between the two ZIP centroids |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |