Contractors
Addresses
Counties
Jurisdictions
Zipcodes
States
Addresses
Search Addresses
Searches for addresses that have at least one associated permit based on the provided text.
GET
/
addresses
/
search
Copy
curl --request GET \
--url https://api.shovels.ai/v2/addresses/search \
--header 'X-API-Key: <api-key>'
Copy
{
"items": [
{
"street_no": "1232",
"street": "MARKET ST",
"city": "SAN FRANCISCO",
"county": "SAN FRANCISCO",
"zip_code": "94103",
"zip_code_ext": "1234",
"state": "CA",
"jurisdiction": "SAN FRANCISCO",
"lat": 37.7749,
"long": -122.41,
"geo_id": "1",
"name": "123 Market St, San Francisco, CA"
},
{
"street_no": "1233",
"street": "MARKET ST",
"city": "SAN FRANCISCO",
"county": "SAN FRANCISCO",
"zip_code": "94103",
"zip_code_ext": "1234",
"state": "CA",
"jurisdiction": "SAN FRANCISCO",
"lat": 37.7749,
"long": -122.41,
"geo_id": "2",
"name": "1233 Market St, San Francisco, CA"
},
{
"street_no": "1234",
"street": "MARKET ST",
"city": "SAN FRANCISCO",
"county": "SAN FRANCISCO",
"zip_code": "94103",
"zip_code_ext": "1234",
"state": "CA",
"jurisdiction": "SAN FRANCISCO",
"lat": 37.7749,
"long": -122.41,
"geo_id": "3",
"name": "1234 Market St, San Francisco, CA"
}
],
"page": 1,
"size": 3
}
Authorizations
Query Parameters
The text to search for in the address fields.
Response
200
application/json
A list of addresses that match the search text, ordered by relevance and in USPS notation.
Paginated response for addresses.
Was this page helpful?
Copy
curl --request GET \
--url https://api.shovels.ai/v2/addresses/search \
--header 'X-API-Key: <api-key>'
Copy
{
"items": [
{
"street_no": "1232",
"street": "MARKET ST",
"city": "SAN FRANCISCO",
"county": "SAN FRANCISCO",
"zip_code": "94103",
"zip_code_ext": "1234",
"state": "CA",
"jurisdiction": "SAN FRANCISCO",
"lat": 37.7749,
"long": -122.41,
"geo_id": "1",
"name": "123 Market St, San Francisco, CA"
},
{
"street_no": "1233",
"street": "MARKET ST",
"city": "SAN FRANCISCO",
"county": "SAN FRANCISCO",
"zip_code": "94103",
"zip_code_ext": "1234",
"state": "CA",
"jurisdiction": "SAN FRANCISCO",
"lat": 37.7749,
"long": -122.41,
"geo_id": "2",
"name": "1233 Market St, San Francisco, CA"
},
{
"street_no": "1234",
"street": "MARKET ST",
"city": "SAN FRANCISCO",
"county": "SAN FRANCISCO",
"zip_code": "94103",
"zip_code_ext": "1234",
"state": "CA",
"jurisdiction": "SAN FRANCISCO",
"lat": 37.7749,
"long": -122.41,
"geo_id": "3",
"name": "1234 Market St, San Francisco, CA"
}
],
"page": 1,
"size": 3
}
Assistant
Responses are generated using AI and may contain mistakes.