cURL
curl --request GET \ --url https://api.shovels.ai/v2/zipcodes/search \ --header 'X-API-Key: <api-key>'
{ "items": [ { "geo_id": "<string>", "state": "<string>" } ], "size": 123, "next_cursor": "<string>" }
Searches for zipcodes based on the provided search term.
The code to search for in the zipcodes fields.
Cursor for pagination
1 <= x <= 100
A list of zipcodes that match the search code.
Paginated response for zipcodes.
The list of items returned in the response following given criteria.
Show child attributes
The 5-digit ZIP code with optional 4-digit extension separated by -.
The state of the ZIP code.
The number of items returned in the response.
The cursor for retrieving the next page of results.
Was this page helpful?