About this API
Each record holds title, url, category name, price currency, description body html, price amount and 31 more fields.
What you can filter
Choose what a run reads with tags and category.
- Output fields
- 37
- Inputs
- 2
Sample product record
Saved sample, not a live run.
title- Turkey Bacon & Egg White Sandwich
description.body_html- <p><meta charset="utf-8"><span>Extra crispy lean turkey bacon, egg whites, and …
price.amount- 0.00
price.variant_prices- 0.00
price.typed- 0
dates.created_atdates.published_atdates.updated_athandle- turkey-bacon-egg-white-sandwich
All 37 fields
category.product_type- Menu
tags- Type: Food
id- 6752815710252
images.media- { type, url }
category.name- —
price.currency- —
description.text- —
price.compare_at- —
price.detail- —
price.detail_compare_at- —
price.offers_currency- —
images.gallery- —
images.primary- —
options.values- —
options.items- —
variants.items- —
variants.variant- —
variants.id- —
variants.sku- —
availability.value- —
availability.offers- —
detail_id- —
product_id- —
_page.find_a_coffeebar_url- —
_page.get_the_app_url- —
links.detail- —
links.offers- —
Try it
Records
Saved sample, not a live run.
title |
url |
description.body_html |
price.amount |
price.variant_prices |
price.typed |
dates.created_at |
dates.published_at |
dates.updated_at |
handle |
category.product_type |
tags |
id |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Turkey Bacon & Egg White Sandwich | peets.com/products/turkey-bacon-egg-white… | <p><meta charset="utf-8"><span>Extra crispy lean turkey bacon, egg whites, and … | 0.00 | 0.00 | 0 | turkey-bacon-egg-white-sandwich | Menu | Type: Food | 6752815710252 |
Scroll sideways to see more columns.
Output fields
| Field | Description | Example | Type | Returned |
|---|---|---|---|---|
title |
— | Turkey Bacon & Egg White Sandwich | string | Optional |
url |
Link | peets.com/products/turkey-bacon-egg-white… | string | Optional |
description.body_ |
— | <p><meta charset="utf-8"><span>Extra crispy lean turkey bacon, egg whites, and … | string | Optional |
price.amount |
— | 0.00 | string | Optional |
price.variant_ |
— | 0.00 | array of string | Optional |
price.typed |
— | 0 | number | Optional |
dates.created_ |
Date or time | string | Optional | |
dates.published_ |
Date or time | string | Optional | |
dates.updated_ |
Date or time | string | Optional | |
handle |
— | turkey-bacon-egg-white-sandwich | string | Optional |
category.product_ |
— | Menu | string | Optional |
tags |
— | Type: Food | array | Optional |
id |
Identifier | 6752815710252 | number | Required |
category.name |
— | — | string | Optional |
price.currency |
— | — | string | Optional |
description.text |
— | — | string | Optional |
price.compare_ |
Date or time | — | array | boolean | number | object | string | Optional |
price.detail |
— | — | string | Optional |
price.detail_ |
Date or time | — | string | Optional |
price.offers_ |
Currency code | — | array | string | Optional |
17 more fields
| Field | Description | Example | Type | Returned |
|---|---|---|---|---|
images.gallery |
— | — | array | Optional |
images.primary |
— | — | string | Optional |
images.media |
— | { type, url } | array of object | Optional |
options.values |
— | — | array | Optional |
options.items |
— | — | array | Optional |
variants.items |
— | — | array | Optional |
variants.variant |
— | — | string | Optional |
variants.id |
— | — | string | Optional |
variants.sku |
— | — | array | string | Optional |
availability.value |
— | — | string | Optional |
availability.offers |
— | — | array | string | Optional |
detail_ |
Identifier | — | string | Optional |
product_ |
Identifier | — | string | Optional |
_ |
Link | — | string | Optional |
_ |
Link | — | string | Optional |
links.detail |
— | — | array | string | Optional |
links.offers |
— | — | array | string | Optional |
Inputs
-
tagsstringOptional. Only the records whose tags is, or lists, exactly this value (case-sensitive, whole value or one list element). The whole collection is read and filtered, so a run takes as long as an unfiltered one; max_items counts the records delivered, and the run answer's field_filter reports the records walked and delivered. A value no record holds delivers no records. Omit for every record.
-
categorystringOptional. The "category" value of the source's own request address (one segment of its path), sent exactly as typed. Omit it for the listing's own records. Default: all-menu-items.
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_e66155b4c5644486dc9e7a1d/endpoints/generated_e66155b4c5644486dc9e7a1d_search/run
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_e66155b4c5644486dc9e7a1d/endpoints/generated_e66155b4c5644486dc9e7a1d_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {},
"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 peets.com Product Search 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 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 Peets.
Changelog
-
v1.0 (major) ·