About this API
Each record holds title, description, brand, details, url, offer price and 20 more fields.
What you can filter
Send the address of one page and the run returns its record.
- Output fields
- 26
- Inputs
- 2
Sample product record
Saved sample, not a live run.
title- Vitacost, Everyday, Vitamin D3, 125 mcg (5,000 IU), 365 Mini Softgels
description- Description Cholecalciferol Dietary Supplement New, smaller softgels! This high…
brand- Vitacost
details- Description Cholecalciferol Dietary Supplement New, smaller softgels! This high…
sku- 158727
gtin- 844197013715
category- [Vitacost Brands]
review_originally_posted_on- iHerb.com
share- Link
All 26 fields
images.items- { url }
images.media- { alt, type, url }
offer.price- —
offer.currency- —
images.url- —
images.primary- —
offer.availability- —
supplement.serving_size- —
supplement.total_servings- —
supplement.best_by- —
rating.stars_5- —
rating.stars_4- —
rating.stars_3- —
rating.stars_2- —
rating.stars_1- —
rating.breakdown- —
Try it
Records
Saved sample, not a live run.
title |
description |
brand |
details |
url |
sku |
gtin |
category |
review_originally_posted_on |
share |
|---|---|---|---|---|---|---|---|---|---|
| Vitacost, Everyday, Vitamin D3, 125 mcg (5,000 IU), 365 Mini Softgels | Description Cholecalciferol Dietary Supplement New, smaller softgels! This high… | Vitacost | Description Cholecalciferol Dietary Supplement New, smaller softgels! This high… | vitacost.com/products/vitacost-everyday-v… | 158727 | 844197013715 | [Vitacost Brands] | iHerb.com | Link |
Scroll sideways to see more columns.
Output fields
| Field | Description | Example | Type | Returned |
|---|---|---|---|---|
title |
— | Vitacost, Everyday, Vitamin D3, 125 mcg (5,000 IU), 365 Mini Softgels | string | Required |
description |
— | Description Cholecalciferol Dietary Supplement New, smaller softgels! This high… | string | Optional |
brand |
— | Vitacost | string | Optional |
details |
— | Description Cholecalciferol Dietary Supplement New, smaller softgels! This high… | string | Optional |
url |
Link | vitacost.com/products/vitacost-everyday-v… | string | Required |
sku |
Identifier | 158727 | string | Optional |
gtin |
Identifier | 844197013715 | string | Optional |
category |
— | [Vitacost Brands] | string | Optional |
review_ |
Date or time | iHerb.com | string | Optional |
share |
— | Link | string | Optional |
offer.price |
— | — | string | Optional |
offer.currency |
— | — | string | Optional |
images.url |
— | — | string | Optional |
images.items |
— | { url } | array of object | Optional |
images.primary |
— | — | string | Optional |
images.media |
— | { alt, type, url } | array of object | Optional |
offer.availability |
— | — | string | Optional |
supplement.serving_ |
— | — | string | Optional |
supplement.total_ |
— | — | string | Optional |
supplement.best_ |
— | — | string | Optional |
6 more fields
| Field | Description | Example | Type | Returned |
|---|---|---|---|---|
rating.stars_ |
— | — | string | Optional |
rating.stars_ |
— | — | string | Optional |
rating.stars_ |
— | — | string | Optional |
rating.stars_ |
— | — | string | Optional |
rating.stars_ |
— | — | string | Optional |
rating.breakdown |
— | — | object | Optional |
Inputs
-
urlURL · requiredPaste the URL of a vitacost.com or on another store's site page of the same kind as the sample: its path looks like /products/{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_7a34ed8fe20e5a015cf7d89b/endpoints/generated_7a34ed8fe20e5a015cf7d89b_search/run
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_7a34ed8fe20e5a015cf7d89b/endpoints/generated_7a34ed8fe20e5a015cf7d89b_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://vitacost.com/products/vitacost-everyday-vitamin-d3-125-mcg-5-000-iu-365-mini-softgels-158727"
},
"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 Vitacost Product 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 Vitacost.
Changelog
-
v1.0 (major) ·