About this API
Each record holds title, price, currency, description, brand, condition and 18 more fields.
What you can filter
Choose what a run reads with urls.
- Output fields
- 24
- Input
- 1
Sample product record
Saved sample, not a live run.
title- 7" Relaxed Shorts
price- 34.00
currency- USD
description- Smooth stretch cotton twill shorts in a relaxed fit. Button closure, zip fly. S…
brand- Gap
condition- NewCondition
rating- 4.22
reviews- Write a Review Customers are highly satisfied with these relaxed shorts, noting…
images- https://www.gap.com/webcontent/0062/524/687/cn62524687.jpg, https://www.gap.com…
All 24 fields
review_count- 51
availability- InStock
color- iconic khaki
category- Shorts
media_images- https://content.gapinc.com/b/0061/726/735/cn61726735.png, https://content.gapin…
on_50_for_encore_members_url- gap.com/my-account/sign-in
variant_prices- 34.00
category_path- Men, Shorts
media- { alt, type, url }
related_items- —
vintagesoft_relaxed_sweat_shorts_url- —
loose_boot_jeans_url- —
baggy_jeans_url- —
{
"availability": "InStock",
"brand": "Gap",
"category": "Shorts",
"category_path": [
"Men",
"Shorts"
],
"color": "iconic khaki",
"condition": "NewCondition",
"currency": "USD",
"description": "Smooth stretch cotton twill shorts in a relaxed fit. Button closure, zip fly. Side slant pockets, back welt pockets. Made with 98% regenerative cotton which is grown using holistic agricultural practices that improve soil health, climate resilience, water retention, and local biodiversity. This product was made in a factory that invests in gender equity and women’s empowerment through RISE. Learn more at gapinc.com/equity. Product #889839",
"image": "https://www.gap.com/webcontent/0062/524/687/cn62524687.jpg",
"images": [
"https://www.gap.com/webcontent/0062/524/687/cn62524687.jpg",
"https://www.gap.com/webcontent/0061/791/704/cn61791704.jpg",
"https://www.gap.com/webcontent/0061/791/712/cn61791712.jpg",
"https://www.gap.com/webcontent/0061/791/721/cn61791721.jpg",
"https://www.gap.com/webcontent/0061/791/723/cn61791723.jpg",
"https://www.gap.com/webcontent/0061/810/094/cn61810094.jpg",
"https://www.gap.com/webcontent/0061/823/684/cn61823684.jpg",
"https://www.gap.com/webcontent/0061/823/704/cn61823704.jpg",
"https://www.gap.com/webcontent/0061/823/771/cn61823771.jpg",
"https://www.gap.com/webcontent/0061/860/296/cn61860296.jpg",
"https://www.gap.com/webcontent/0061/829/590/cn61829590.jpg",
"https://www.gap.com/webcontent/0061/726/692/cn61726692.jpg",
"https://www.gap.com/webcontent/0061/737/424/cn61737424.jpg",
"https://www.gap.com/webcontent/0061/726/750/cn61726750.jpg",
"https://www.gap.com/webcontent/0061/726/751/cn61726751.jpg",
"https://www.gap.com/webcontent/0061/752/178/cn61752178.jpg",
"https://www.gap.com/webcontent/0061/726/706/cn61726706.jpg",
"https://www.gap.com/webcontent/0061/726/713/cn61726713.jpg",
"https://www.gap.com/webcontent/0061/726/747/cn61726747.jpg",
"https://www.gap.com/webcontent/0061/726/768/cn61726768.jpg",
"https://www.gap.com/webcontent/0061/726/790/cn61726790.jpg"
],
"media_images": [
"https://content.gapinc.com/b/0061/726/735/cn61726735.png",
"https://content.gapinc.com/b/0061/726/728/cn61726728.png",
"https://content.gapinc.com/b/0061/737/448/cn61737448.png",
"https://content.gapinc.com/b/0061/726/776/cn61726776.png",
"https://content.gapinc.com/b/0061/726/791/cn61726791.png",
"https://content.gapinc.com/b/0061/752/184/cn61752184.png"
],
"on_50_for_encore_members_url": "https://www.gap.com/my-account/sign-in?targetURL=%2Fbrowse%2Fproduct.do%3Fpid%3D8898390320042%26cid%3Dundefined%26vid%3Dundefined%26pcid%3Dundefined&mlink=1,1,PDP_ENCORE_SIGNIN_JOIN",
"price": "34.00",
"rating": 4.22,
"review_count": 51,
"reviews": "Write a Review Customers are highly satisfied with these relaxed shorts, noting their breathable fabric and comfortable fit. The wider leg opening is mentioned by some, but overall, they’re a reliable choice for summer activities. This is an AI-generated summary of customer reviews. Likes Fit Quality Style Fabric Dislikes No Trending Dislikes Loading reviews Write a Review Customers are highly satisfied with these relaxed shorts, noting their breathable fabric and comfortable fit. The wider leg opening is mentioned by some, but overall, they’re a reliable choice for summer activities. This is an AI-generated summary of customer reviews. Likes Fit Quality Style Fabric Dislikes No Trending Dislikes Loading reviews",
"title": "7\" Relaxed Shorts",
"url": "https://www.gap.com/browse/product.do?pid=8898390320042",
"variant_prices": "34.00"
}
Output fields
| Field | Description | Example | Type | Returned |
|---|---|---|---|---|
title |
— | 7" Relaxed Shorts | string | Required |
price |
Price | 34.00 | string | Optional |
currency |
Currency code | USD | string | Optional |
description |
— | Smooth stretch cotton twill shorts in a relaxed fit. Button closure, zip fly. S… | string | Optional |
brand |
— | Gap | string | Optional |
condition |
— | NewCondition | string | Optional |
rating |
Rating | 4.22 | number | string | Optional |
url |
Link | gap.com/browse/product.do | string | Required |
reviews |
— | Write a Review Customers are highly satisfied with these relaxed shorts, noting… | string | Optional |
images |
Image link | https://www.gap.com/webcontent/0062/524/687/cn62524687.jpg, https://www.gap.com… | array of string | Optional |
review_ |
How many | 51 | number | string | Optional |
availability |
— | InStock | string | Optional |
color |
— | iconic khaki | string | Optional |
image |
Image link | gap.com/webcontent/0062/524/687/cn6252468… | string | Optional |
category |
— | Shorts | string | Optional |
media_ |
Image link | https://content.gapinc.com/b/0061/726/735/cn61726735.png, https://content.gapin… | array of string | Optional |
on_ |
Link | gap.com/my-account/sign-in | string | Optional |
variant_ |
— | 34.00 | string | Optional |
category_ |
— | Men, Shorts | array of string | Optional |
media |
— | { alt, type, url } | array of object | Optional |
related_ |
— | — | array of string | Optional |
vintagesoft_ |
Link | — | string | Optional |
loose_ |
Link | — | string | Optional |
baggy_ |
Link | — | string | Optional |
Inputs
-
urlsstring | array of string · requiredA page of the same kind as the build page, on com: its path matches pid={int}; it need not be the build page. One page, or a list of pages (1 to 50): one record each, in this order, once per page. In a list, 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_7a5749851874dba594029afb/endpoints/generated_7a5749851874dba594029afb_search/run
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_7a5749851874dba594029afb/endpoints/generated_7a5749851874dba594029afb_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://www.gap.com/browse/product.do?pid=8898390320042"
},
"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 gap.com 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
- Products & shopping
- 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 Gap.
Changelog
-
v1.0 (major) ·