About this API
Each record holds title, location name, url, image url, advert description, additional information and 4 more fields.
What you can filter
Send the address of one page and the run returns its record.
- Output fields
- 10
- Inputs
- 2
Sample listing record
Saved sample, not a live run.
title- Audi Q7 4M Bonnet Hood Genuine Used 2015-2019
location.name- Oldham
advert_description- Genuine used Audi Q7 4M bonnet (hood) in good condition. Fits the Audi Q7 4M, m…
additional_information- This advert has no additional information available. Why not get in touch with …
location.map_url- maps.google.com
category- Audi Q7 4M Bonnet Hood Genuine Used 2015-2019
details.advert_type- —
details.era- —
Try it
Records
Saved sample, not a live run.
title |
location.name |
url |
image_url |
advert_description |
additional_information |
location.map_url |
category |
|---|---|---|---|---|---|---|---|
| Audi Q7 4M Bonnet Hood Genuine Used 2015-2019 | Oldham | preloved.co.uk/adverts/show/123163301/aud… | preloved.thcdn.com/73/21/7321e64894684e05… | Genuine used Audi Q7 4M bonnet (hood) in good condition. Fits the Audi Q7 4M, m… | This advert has no additional information available. Why not get in touch with … | maps.google.com | Audi Q7 4M Bonnet Hood Genuine Used 2015-2019 |
Scroll sideways to see more columns.
Output fields
| Field | Description | Example | Type | Returned |
|---|---|---|---|---|
title |
— | Audi Q7 4M Bonnet Hood Genuine Used 2015-2019 | string | Required |
location.name |
— | Oldham | string | Optional |
url |
Link | preloved.co.uk/adverts/show/123163301/aud… | string | Required |
image_ |
Image link | preloved.thcdn.com/73/21/7321e64894684e05… | string | Optional |
advert_ |
— | Genuine used Audi Q7 4M bonnet (hood) in good condition. Fits the Audi Q7 4M, m… | string | Optional |
additional_ |
— | This advert has no additional information available. Why not get in touch with … | string | Optional |
location.map_ |
Link | maps.google.com | string | Optional |
category |
— | Audi Q7 4M Bonnet Hood Genuine Used 2015-2019 | string | Optional |
details.advert_ |
— | — | string | Optional |
details.era |
— | — | string | Optional |
Inputs
-
urlURL · requiredPaste the URL of a preloved.co.uk page of the same kind as the sample: its path looks like /adverts/show/{int}/{slug}. Any such page works, not only the one the API was built from.
-
urlsarray of stringPages of that kind (1 to 50 in all, with url): one record each, in this order, once per page; a call may give urls and no url. A page that fails (off the pattern, unreadable, no product data) is told by its code in the run's metadata (item_pages) and does not fail the run while another page is read.
Request
POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_5e1ac34c93cb8b9970c5cbaf/endpoints/generated_5e1ac34c93cb8b9970c5cbaf_search/run
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_5e1ac34c93cb8b9970c5cbaf/endpoints/generated_5e1ac34c93cb8b9970c5cbaf_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://www.preloved.co.uk/adverts/show/123163301/audi-q7-4m-bonnet-hood-genuine-used-2015-2019.html"
},
"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.
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 Preloved Listing Details API.
The agent finds the API, runs it and reads the records. Runs are charged like any other run.
Coverage
- Version
- v1 1.0
- Category
- Commerce
- Updated
A run reads the one page you name and returns its record. Your limits on records, time and budget still apply.
CleanedWeb is not affiliated with Preloved.
Changelog
-
v1.0 (major) ·