# Spot underpriced Lego sets on Marktplaats by city

**Use case:** 

Search marktplaats.nl for Lego listings under a price cap, with city and seller info in every row. $2 per 1,000 listings returned, empty searches free.

## Input

```json
{
  "searches": [
    "lego"
  ],
  "testRun": false,
  "onlyFound": false,
  "includeKeywords": [],
  "excludeKeywords": [],
  "maxListingsPerSearch": 50,
  "maxPrice": 50,
  "priceType": "",
  "postcode": "",
  "deltaMode": false,
  "deltaName": "",
  "alertOnNew": true,
  "alertOnPriceDrop": true,
  "minPriceDropPct": 5,
  "skipFirstRun": false,
  "includeSellerInfo": false,
  "columns": [
    "searchQuery",
    "listingCount",
    "totalAvailable",
    "truncated",
    "newCount",
    "priceDropCount",
    "listings",
    "listingId",
    "url",
    "title",
    "description",
    "price",
    "priceType",
    "city",
    "countryName",
    "postedAt",
    "postedText",
    "imageUrl",
    "imageCount",
    "condition",
    "category",
    "sellerHash",
    "sellerVerified",
    "sellerType",
    "isPromoted",
    "sellerId",
    "sellerName",
    "isNew",
    "changeType",
    "previousPrice",
    "priceDropPct",
    "firstSeenAt"
  ],
  "expandRows": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "query": {
    "label": "Search submitted",
    "format": "string"
  },
  "found": {
    "label": "Found?",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Details",
    "format": "string"
  },
  "searchQuery": {
    "label": "Search",
    "format": "string"
  },
  "listingCount": {
    "label": "Listings returned",
    "format": "number"
  },
  "totalAvailable": {
    "label": "Total matching on Marktplaats",
    "format": "number"
  },
  "truncated": {
    "label": "More results were available",
    "format": "boolean"
  },
  "newCount": {
    "label": "New listings this run",
    "format": "number"
  },
  "priceDropCount": {
    "label": "Price drops this run",
    "format": "number"
  },
  "listings": {
    "label": "All listings found (full list)",
    "format": "array"
  },
  "listingId": {
    "label": "Marktplaats listing ID",
    "format": "string"
  },
  "url": {
    "label": "Listing link",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "price": {
    "label": "Price (EUR)",
    "format": "number"
  },
  "priceType": {
    "label": "Price type",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "countryName": {
    "label": "Country",
    "format": "string"
  },
  "postedAt": {
    "label": "Posted (date)",
    "format": "string"
  },
  "postedText": {
    "label": "Posted (as Marktplaats words it)",
    "format": "string"
  },
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "imageCount": {
    "label": "Photo count",
    "format": "number"
  },
  "condition": {
    "label": "Condition",
    "format": "string"
  },
  "category": {
    "label": "Category ID",
    "format": "string"
  },
  "sellerHash": {
    "label": "Seller (anonymous hash)",
    "format": "string"
  },
  "sellerVerified": {
    "label": "Seller verified",
    "format": "boolean"
  },
  "sellerType": {
    "label": "Seller type",
    "format": "string"
  },
  "isPromoted": {
    "label": "Promoted listing",
    "format": "boolean"
  },
  "sellerId": {
    "label": "Seller ID (only with seller info on)",
    "format": "string"
  },
  "sellerName": {
    "label": "Seller name (only with seller info on)",
    "format": "string"
  },
  "isNew": {
    "label": "Is this listing new?",
    "format": "boolean"
  },
  "changeType": {
    "label": "Change type",
    "format": "string"
  },
  "previousPrice": {
    "label": "Previous price (EUR)",
    "format": "number"
  },
  "priceDropPct": {
    "label": "Price drop %",
    "format": "number"
  },
  "firstSeenAt": {
    "label": "First seen on a run",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Checked at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Marktplaats Scraper: New Listing & Price Alerts](https://apify.com/accountable_eel/marktplaats-listing-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/accountable_eel/marktplaats-listing-lookup.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/accountable_eel/marktplaats-listing-lookup.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
