GET
/
searches
/
{id}
curl --request GET \
  --url https://commerce.driv.ly/api/searches/{id}
{
  "data": {
    "id": "src_5j3ks8d2hj3s",
    "lead": "Lead ID",
    "makes": [
      "Toyota",
      "Honda"
    ],
    "trims": [
      "SE",
      "EX"
    ],
    "models": [
      "Camry",
      "Civic"
    ],
    "vehicles": [
      "Vehicle ID"
    ],
    "bodyStyles": [
      "Sedan",
      "SUV"
    ],
    "minimumYear": 2015,
    "maximumYear": 2021,
    "drivetrains": [
      "FWD",
      "AWD"
    ],
    "maximumPrice": 30000,
    "vehicleSpecs": [
      "Vehicle Spec ID"
    ],
    "minimumRating": 4,
    "transmissions": [
      "Automatic",
      "Manual"
    ],
    "maximumOdometer": 50000
  },
  "success": true
}

Path Parameters

id
string
required

Search is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Response

200
application/json

Search Found

The response is of type object.