MarktplaatsAutos

get/marktplaats-autos/search

Request

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

Query parameters

domain'www.marktplaats.nl' | 'www.2dehands.be' required

Marketplace host: www.marktplaats.nl or www.2dehands.be

l1CategoryIdinteger required

Level-1 category id. Auto's = 91.

l2CategoryIds[]integer[]

Repeatable make filter ids from the taxonomy endpoint, e.g. 157 for Volkswagen.

offsetinteger

Pagination offset, zero-based. Defaults to 0.

limitinteger

Listings per page, 1 to 50. Defaults to 30.

querystring

Free-text search.

sortBy'OPTIMIZED' | 'SORT_INDEX' | 'PRICE' | 'LOCATION' | 'ATTRIBUTE'

OPTIMIZED, SORT_INDEX, PRICE, LOCATION or ATTRIBUTE.

sortOrder'INCREASING' | 'DECREASING'

INCREASING or DECREASING.

sortAttribute'constructionYear' | 'mileage'

constructionYear or mileage. Required when sortBy is ATTRIBUTE.

attributesById[]integer[]

Repeatable facet value ids, e.g. 473 for Benzine.

attributeRanges[]string[]

Repeatable Key:min:max ranges, e.g. PriceCents:10000:30000.

postcodestring

Postcode for the location filter, e.g. 1011 AB.

distanceMetersinteger

Radius in meters around the postcode, e.g. 100000.

searchInTitleAndDescriptionboolean

Set to true to restrict the query to title and description.

viewOptionsstring

Display mode, e.g. list-view.

Response

string required

Changes

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