What you get
| Field | Type |
|---|---|
title |
string |
price |
number | string |
currency |
string |
description |
string |
year |
string |
mileage |
string |
location |
array of string |
date |
string |
All 51 fields
Key fields
titlepricecurrencydescriptionyearmileagelocationdatebrandmodelurlimage_urlsf_ad_carousel_sr_onlybeskrivningplatsimageskickmodellmodellartypfuel_typeweightannonsinformation
Technical fields
ad_typeavailabilityidsrcimagesdetail_branddetail_availabilitymotorvolymcategory_pathincluded_itemspowercolorowner_countlisting_idother_detailsimage_urlsother_details_2other_details_3mandagtisdagonsdagtorsdagfredaglordagkungalv_urlvisa_foretagsfakta_pa_allabolag_se_urlother_details_4typed_owner_count
Sample records
2 saved records. This is a saved sample, not a live run.
title |
price |
currency |
description |
year |
mileage |
|---|---|---|---|---|---|
| Harley-Davidson Softail custom | 95000 | SEK | Säljer en mycket fin Harley-Davidson Softail Custom från 1993 med den klassiska… | 1993 ∙ 3 458 mil ∙ 1340 cc ∙ Bensin | 3 458 mil |
| KTM KTM 390 ADVENTURE | 42500 | SEK | Passa på BILLIG nu om ej såld snarast byter jag in den, sedan dyrare, Uttagen a… | 2024 ∙ Bensin | Inte specificerat |
Scroll sideways to see more columns.
Inputs
-
searchstring | array of stringOptional. Text for the site's search box. Leave it out to read everything.
-
engine_volume_fromstring | integerOptional. Omit it to leave this side open.
-
engine_volume_tostring | integerOptional. Omit it to leave this side open.
-
price_fromstring | integerOptional. Omit it to leave this side open.
-
price_tostring | integerOptional. Omit it to leave this side open.
17 more inputs
-
year_fromstring | integerOptional. Omit it to leave this side open.
-
year_tostring | integerOptional. Omit it to leave this side open.
-
engine_effect_fromstring | integerOptional. Omit it to leave this side open.
-
engine_effect_tostring | integerOptional. Omit it to leave this side open.
-
mileage_fromstring | integerOptional. Omit it to leave this side open.
-
mileage_tostring | integerOptional. Omit it to leave this side open.
-
sortchoiceOrder of the collection, as the site's own sort control offers it; omitted keeps the site's default order.
-
filtersobjectOptional. 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_urlURLOptional. 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`.
-
makechoiceOptional. Filters by make.
-
typechoiceOptional. Filters by type.
-
locationchoiceOptional. Filters by location.
-
engine_fuelchoiceOptional. Filters by engine fuel.
-
dealer_segmentchoiceOptional. Filters by dealer segment.
-
publishedbooleanFilters by published.
-
mc_conditionchoiceOptional. Filters by mc condition.
-
vat_deductiblebooleanFilters by vat deductible.
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 Run an API.
Request
POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_11813ff44f29773c14d94605/endpoints/generated_11813ff44f29773c14d94605_search/run
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
}'
Save the Idempotency-Key before you send, and reuse it only to retry the same request. The key needs the run scope. See Run a catalog API.
version pins major v1, whose newest minor (1.0) answers. Leave it out and the call runs on the latest major.
Changelog
-
v1.0 (major) ·
Use it from an AI agent
Open in your coding agent
Add CleanedWeb to your agent as an MCP server, such as a custom connector in Claude or ChatGPT, then sign in with your CleanedWeb account. An API key with the read and run scopes works too.
https://api.cleanedweb.com/mcp?profile=catalog
Then ask, for example: Use CleanedWeb to get 25 records from the Blocket Motorcycle Listings API.
The agent finds the API, runs it and reads the records. Runs are charged like any other run.
Coverage
- Category
- Commerce
A run stops when the source has no more records, or when it reaches a limit you set: the number of records, the time, or your budget.
CleanedWeb is not affiliated with Blocket Vehicle Listings.