LeboncoinAutos

get/leboncoin-autos/search

Request

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

Query parameters

brand[]string[]

Filter by car brand. Repeatable, e.g. brand[]=Opel.

model[]string[]

Filter by car model. Repeatable, e.g. model[]=Astra.

fuel[]string[]

1 Essence, 2 Diesel, 3 GPL, 4 Electrique, 5 Autre, 6 Hybride. Repeatable.

gearbox[]string[]

1 Manuelle, 2 Automatique. Repeatable.

vehicle_type[]string[]

Body type: citadine, berline, break, suv, coupe, cabriolet, monospace, utilitaire, autre.

price_mininteger nullable

Minimum price in euros.

price_maxinteger nullable

Maximum price in euros.

mileage_mininteger nullable

Minimum mileage in kilometres.

mileage_maxinteger nullable

Maximum mileage in kilometres.

regdate_mininteger nullable

Minimum first registration year.

regdate_maxinteger nullable

Maximum first registration year.

keywordsstring nullable

Free-text search term.

location[city]string nullable
location[zipcode]string nullable
location[department_id]string nullable
location[region_id]string nullable
owner_type'all' | 'pro' | 'private' | 'null' nullable

all, pro for professionals, or private.

sort_by'relevance' | 'time' | 'price' | 'proximity' | 'null' nullable

relevance, time, price or proximity.

sort_order'asc' | 'desc' | 'null' nullable

asc or desc.

pageinteger nullable

1-based page number.

limitinteger nullable

Listings per page, 1-100. Default 35.

Response

string required

Changes

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