About this API
Each record holds title, description, url, image url, media and 5 more fields.
What you can filter
Send the address of one page and the run returns its record.
- Output fields
- 10
- Inputs
- 2
Sample company record
Saved sample, not a live run.
title- Leneda
description- Leneda est la plateforme officielle de données énergétiques au Luxembourg, vous…
section_description- Leneda est la plateforme officielle de données énergétiques au Luxembourg, vous…
media- { type, url }
jeff_konnen- —
david_hottua- —
kevin_schutz- —
elrike_van_den_heuvel- —
Try it
Records
Saved sample, not a live run.
title |
description |
url |
image_url |
section_description |
|---|---|---|---|---|
| Leneda | Leneda est la plateforme officielle de données énergétiques au Luxembourg, vous… | data.public.lu/fr/organizations/leneda | download.data.public.lu/avatars/14/b13c4a… | Leneda est la plateforme officielle de données énergétiques au Luxembourg, vous… |
Scroll sideways to see more columns.
Output fields
| Field | Description | Example | Type | Returned |
|---|---|---|---|---|
title |
— | Leneda | string | Required |
description |
— | Leneda est la plateforme officielle de données énergétiques au Luxembourg, vous… | string | Optional |
url |
Link | data.public.lu/fr/organizations/leneda | string | Required |
image_ |
Image link | download.data.public.lu/avatars/14/b13c4a… | string | Optional |
section_ |
— | Leneda est la plateforme officielle de données énergétiques au Luxembourg, vous… | string | Optional |
media |
— | { type, url } | array of object | Optional |
jeff_ |
— | — | string | Optional |
david_ |
— | — | string | Optional |
kevin_ |
— | — | string | Optional |
elrike_ |
— | — | string | Optional |
Inputs
-
urlURL · requiredPaste the URL of a public.lu page of the same kind as the sample: its path looks like /{word}/organizations/{word}. 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_8f0e05e1193147daa222ab10/endpoints/generated_8f0e05e1193147daa222ab10_search/run
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_8f0e05e1193147daa222ab10/endpoints/generated_8f0e05e1193147daa222ab10_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://data.public.lu/fr/organizations/leneda/"
},
"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 data.public.lu Company 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
- 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 Public.
Changelog
-
v1.0 (major) ·