GET
/
addresses
/
search
curl --request GET \
  --url https://api.shovels.ai/v2/addresses/search \
  --header 'X-API-Key: <api-key>'
{
  "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

X-API-Key
string
header
required

Query Parameters

q
string
required

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.