cURL
curl --request GET \ --url https://api.shovels.ai/v2/states/search \ --header 'X-API-Key: <api-key>'
{ "items": [ { "geo_id": "CA", "name": "CALIFORNIA" }, { "geo_id": "TX", "name": "TEXAS" }, { "geo_id": "MT", "name": "MONTANA" } ], "page": 1, "size": 3 }
Searches for US states based on the provided search term.
The name to search for in the state fields.
A list of states that match the search term.
Paginated response for states.
Was this page helpful?