Zipcodebase integration (Location, Data). Imported from open-connector.
https://app.zipcodebase.com/api/v1/status
/search
| Param | Type | Required | Description |
|---|---|---|---|
| codes | array | required | The postal codes to query. |
| country | string | optional | Optional ISO 3166-1 alpha-2 country code used to narrow the request. |
/distance
| Param | Type | Required | Description |
|---|---|---|---|
| code | string | required | The postal code to query. |
| compare | array | required | The postal codes to query. |
| country | string | required | The ISO 3166-1 alpha-2 country code, such as us or nl. |
| unit | string | optional | Optional distance unit returned by Zipcodebase. |
/radius
| Param | Type | Required | Description |
|---|---|---|---|
| code | string | required | The postal code to query. |
| radius | number | required | The positive distance or radius value. |
| country | string | required | The ISO 3166-1 alpha-2 country code, such as us or nl. |
| unit | string | optional | Optional distance unit returned by Zipcodebase. |
/match
| Param | Type | Required | Description |
|---|---|---|---|
| codes | array | required | The postal codes to query. |
| distance | number | required | The positive distance or radius value. |
| country | string | required | The ISO 3166-1 alpha-2 country code, such as us or nl. |
| unit | string | optional | Optional distance unit returned by Zipcodebase. |
/code/city
| Param | Type | Required | Description |
|---|---|---|---|
| city | string | required | The city name to search for. |
| country | string | required | The ISO 3166-1 alpha-2 country code, such as us or nl. |
| state_name | string | optional | The state or province name to search for. |
/code/state
| Param | Type | Required | Description |
|---|---|---|---|
| state_name | string | optional | The state or province name to search for. |
| country | string | optional | The ISO 3166-1 alpha-2 country code, such as us or nl. |