# Blocket Motorcycle Listings API

> Motorcycles and mopeds for sale on Blocket, searchable by keyword, region, make, type, fuel, condition and seller type, with each listing's title, price, model year, mileage, location and link.

- Page: https://cleanedweb.com/catalog/blocket-motorcycle-listings-api/
- Contract (JSON): https://cleanedweb.com/catalog/blocket-motorcycle-listings-api/contract.json
- Source: blocket.se (https://www.blocket.se/)
- Category: Commerce
- Updated: 2026-11-24

A run reads until the source ends or your `max_items`, `timeout_seconds` or budget stops it.

## Key fields

| Field | Type | Sample value |
| --- | --- | --- |
| `title` | string | `Harley-Davidson Softail custom` |
| `price` | number \| string | `95000` |
| `currency` | string | `SEK` |
| `description` | string | `Säljer en mycket fin Harley-Davidson Softail Custom från 1993 med den klassiska…` |
| `year` | string | `1993 ∙ 3 458 mil ∙ 1340 cc ∙ Bensin` |
| `mileage` | string | `3 458 mil` |
| `location` | array of string | `Ängelholm, Privat` |
| `date` | string | `2026-11-18` |

Sample values come from one saved record, not a live run. Every field with its type, and the schemas, are in https://cleanedweb.com/catalog/blocket-motorcycle-listings-api/contract.json. Some fields the source returns are not published, so a record can carry fields the schema does not list.

## Inputs

- `search` (string \| array of string): Optional. Text for the site's search box. Leave it out to read everything.
- `make` (string \| number): Optional. Filters by make. Options: BMW ( 1 000 ) (1481), Ducati ( 697 ) (1484), Harley-Davidson ( 1 644 ) (1486), Honda ( 1 046 ) (1487), Husqvarna ( 621 ) (7357), Kawasaki ( 1 440 ) (1489), KTM ( 1 264 ) (7771), Suzuki ( 609 ) (1497), and 94 more in https://cleanedweb.com/catalog/blocket-motorcycle-listings-api/contract.json.
- `type` (string \| number): Optional. Filters by type. Options: Adventure ( 400 ) (20), Chopper ( 21 ) (17), Cross/Enduro/Trial ( 2 199 ) (3), Cruiser ( 208 ) (16), Custom ( 1 786 ) (4), Klassisk/Naken ( 575 ) (2), Lätt MC ( 114 ) (5), MC Scooter ( 541 ) (18), and 9 more in https://cleanedweb.com/catalog/blocket-motorcycle-listings-api/contract.json.
- `location` (string \| number): Optional. Filters by location. Options: Blekinge ( 193 ) (0.300010), Dalarna ( 530 ) (0.300020), Gotland ( 83 ) (0.300009), Gävleborg ( 661 ) (0.300021), Halland ( 180 ) (0.300013), Jämtland ( 146 ) (0.300023), Jönköping ( 311 ) (0.300006), Kalmar ( 414 ) (0.300008), and 303 more in https://cleanedweb.com/catalog/blocket-motorcycle-listings-api/contract.json.
- `engine_fuel` (string \| number): Optional. Filters by engine fuel. Options: Diesel ( 3 ) (2), El ( 400 ) (4), Bensin (1), Hybrid bensin (6).
- `dealer_segment` (string \| number): Optional. Filters by dealer segment. Options: Företag (0), Privat (1).
- `published` (boolean): Filters by published.
- `mc_condition` (string \| number): Optional. Filters by mc condition. Options: Begagnad MC (2), Ny MC (1).
- `vat_deductible` (boolean): Filters by vat deductible.
- `engine_volume_from` (string \| integer): Optional. Omit it to leave this side open.
- `engine_volume_to` (string \| integer): Optional. Omit it to leave this side open.
- `price_from` (string \| integer): Optional. Omit it to leave this side open. Values the site offers: Pris min 85000 (85000), Pris min 89900 (89900).
- `price_to` (string \| integer): Optional. Omit it to leave this side open. Values the site offers: Pris max 85000 (85000), Pris max 89900 (89900).
- `year_from` (string \| integer): Optional. Omit it to leave this side open.
- `year_to` (string \| integer): Optional. Omit it to leave this side open.
- `engine_effect_from` (string \| integer): Optional. Omit it to leave this side open.
- `engine_effect_to` (string \| integer): Optional. Omit it to leave this side open.
- `mileage_from` (string \| integer): Optional. Omit it to leave this side open.
- `mileage_to` (string \| integer): Optional. Omit it to leave this side open.
- `sort` (string): Order of the collection, as the site's own sort control offers it; omitted keeps the site's default order. Options: Mest relevanta (RELEVANCE), Mil högt–lågt (MILEAGE_DESC), Mil lågt–högt (MILEAGE_ASC), Modell (MODEL).
- `filters` (object): Optional. This site's own filters for the category you ask for; they differ per category and are read live on every call. Keys are the site's own. A list filter takes a value code or its label (several in an array); a range takes {"min": n, "max": n} (either bound optional); a single toggle takes true. A key the category does not offer, an unknown value, or a filter the site did not apply is refused, never served unfiltered.
- `from_url` (string): Optional. A filtered results link copied from the site (its own address bar). It is decoded into typed inputs (the category, search, price range and filters it holds) and the run echoes them as \`decoded\`.

`enrich_records` is on by default and adds the fields that only appear on each record's detail page. Send `false` to read list fields only. See https://cleanedweb.com/docs/run-api/

## Request

`POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_11813ff44f29773c14d94605/endpoints/generated_11813ff44f29773c14d94605_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_11813ff44f29773c14d94605/endpoints/generated_11813ff44f29773c14d94605_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "make": "1481"
  },
  "version": 1,
  "max_items": 25
}'
```

Send an `Idempotency-Key` header with every run and save it before you send. Reuse it only to retry the same request. If the run does not end within `wait_seconds`, read the result with the same API key and key:

`GET https://api.cleanedweb.com/v1/catalog/public/apis/generated_11813ff44f29773c14d94605/endpoints/generated_11813ff44f29773c14d94605_search/result`

## Versions

Current: `1.0`. Pin a major with "version": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.

- v1: current, newest minor `1.0`

### Changelog

- `1.0` (major) 2026-11-23

The same changelog, as data, is in https://cleanedweb.com/catalog/blocket-motorcycle-listings-api/contract.json

## Use it from an AI agent

MCP server: https://api.cleanedweb.com/mcp?profile=catalog (Streamable HTTP). Sign in with a CleanedWeb account when the client asks (OAuth), or send an API key with the `read` and `run` scopes as `Authorization: Bearer`. Call `get_api` with `api_id` `generated_11813ff44f29773c14d94605`, then `run_api` with the `run_with` arguments it returns. See https://cleanedweb.com/docs/mcp/

## Run it

Reading the catalog needs no credential. Running needs a CleanedWeb account and an API key with the `run` scope; the first 5,000 records are free, then $1 per 1,000 records. See https://cleanedweb.com/docs/run-catalog-api/

CleanedWeb is not affiliated with Blocket Vehicle Listings.
