---
title: "Marktplaats Autos API: Search | Perceptlayer"
description: "Search from Marktplaats Autos as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/marktplaats-autos/search
---

[APIs](https://perceptlayer.com/apis) / [Marktplaats Autos](https://perceptlayer.com/apis/marktplaats-autos) / Search

# Marktplaats Autos: Search

Search from Marktplaats Autos as JSON. 1 credit per successful call.

GET `/v1/marktplaats-autos/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `domain` | string | Required | www.marktplaats.nl, www.2dehands.be |
| `l1CategoryId` | integer | Required | Any |
| `l2CategoryIds[]` | list of integer | Optional | Any |
| `offset` | integer | Optional | Any |
| `limit` | integer | Optional | Any |
| `query` | string | Optional | Up to 200 characters |
| `sortBy` | string | Optional | OPTIMIZED, SORT\_INDEX, PRICE, LOCATION, ATTRIBUTE |
| `sortOrder` | string | Optional | INCREASING, DECREASING |
| `sortAttribute` | string | Optional | constructionYear, mileage |
| `attributesById[]` | list of integer | Optional | Any |
| `attributeRanges[]` | list of string | Optional | Up to 100 characters |
| `postcode` | string | Optional | Up to 10 characters |
| `distanceMeters` | integer | Optional | Any |
| `searchInTitleAndDescription` | boolean | Optional | Any |
| `viewOptions` | string | Optional | Up to 50 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/marktplaats-autos/search?domain=www.marktplaats.nl&l1CategoryId=91&offset=0&limit=30" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/marktplaats-autos?try=search#playground) with your own parameters. 1 credit per successful call; failed calls are free.
