MotorsCoUk

get/motors_co_uk/search

Request

  • Base URL: https://scrappa.co/api
  • URL: https://scrappa.co/api/motors_co_uk/search
  • Auth: API key in header X-API-KEY

Query parameters

postcodestring required

UK postcode, e.g. M1 1AE. Example: M1 1AE.

radiusinteger

Search radius in miles, 1 to 1000. Defaults to 50.

vehicle_type'CAR' | 'VAN'

CAR or VAN. Defaults to CAR.

makestring

Make name from the makes endpoint. Example: Ford.

modelstring

Model name from the models endpoint. Needs make. Example: Focus.

min_priceinteger

Minimum price in GBP.

max_priceinteger

Maximum price in GBP.

max_mileageinteger

Maximum mileage in miles.

max_ageinteger

Maximum vehicle age in years.

fuel_typestring

One fuel type, e.g. Diesel, Petrol or Electric.

body_typestring

One body type, e.g. Estate or Hatchback.

transmissionstring

Manual or Automatic.

sort'PRICE_LOW' | 'PRICE_HIGH' | 'MILEAGE_LOW' | 'MILEAGE_HIGH' | 'AGE_LOW' | 'AGE_HIGH' | 'DISTANCE'

PRICE_LOW, PRICE_HIGH, MILEAGE_LOW, MILEAGE_HIGH, AGE_LOW, AGE_HIGH or DISTANCE. Defaults to PRICE_LOW.

pageinteger

1-based page number. Defaults to 1.

page_sizeinteger

Vehicles per page, 1 to 50. Defaults to 20.

Response

string required

Changes

No recorded changes to this operation across all 4 revisions of this API.