Piloterr

Blocket Search

Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.

GET
/v2/blocket/search

Blocket classifieds search. query is a keyword such as cykel, or a results URL. page starts at 1. Blocket Till salu, the general for-sale marketplace at /recommerce/forsale. Mobility, including cars, is not searched.

Credit cost: 2 credits per call

Authorization

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Query Parameters

query*string

Keyword or a full results URL. Example: cykel

page?number

Page number, starting at 1. Example: 2

return_page_source?boolean

Return the page HTML instead of the parsed listing

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Response Body

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/blocket/search?query=string'
Example Response
{
  "results": [
    {
      "url": "https://www.blocket.se/recommerce/forsale/item/28139555",
      "date": "2026-11-30",
      "image": "https://images.blocketcdn.se/dynamic/default/item/28139555/c6b04927-aa66-49af-b85f-9738b6a23d23",
      "price": 1800,
      "title": "Batavus cykel 12 månaders garanti",
      "currency": "SEK",
      "location": "Malmö",
      "price_display": "1 800 kr"
    }
  ],
  "pagination": {
    "next": "https://www.blocket.se/recommerce/forsale/search?q=cykel&page=2",
    "page": 1,
    "per_page": 53,
    "total_pages": 50,
    "total_results": 20587
  }
}