cURL
curl --request GET \ --url https://api.shovels.ai/v2/cities/search \ --header 'X-API-Key: <api-key>'
{ "items": [ { "geo_id": "<string>", "name": "<string>", "state": "<string>" } ], "size": 123, "next_cursor": "<string>" }
Searches for cities based on the provided search term.
The name to search for in the city fields.
A list of cities that match the search text.
Paginated response for geographical entities.
The list of items returned in the response following given criteria.
Show child attributes
Geolocation ID
Formatted entity name
State abbreviation
The number of items returned in the response.
The cursor for retrieving the next page of results.
Was this page helpful?