Piloterr

Blocket Ad

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

GET
/v2/blocket/ad

One Blocket classified. query is the full ad URL from a search result.

Credit cost: 1 credit 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
return_page_source?boolean

Return the page HTML instead of the parsed ad

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
url?string
date?string
image?string
price?integer
title?string
currency?string
location?string
description?string
price_display?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/blocket/ad?query=string'
Example Response
{
  "url": "https://www.blocket.se/recommerce/forsale/item/28139555",
  "date": "2026-11-10",
  "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": "21376 Malmö",
  "description": "Svart Batavus, bekväm och pålitlig elcykel som fungerar felfritt och är i fint skick.",
  "price_display": "1 800 kr"
}