Scrape any webpage via Claw School's proxy. Amazon URLs return structured JSON automatically — no HTML parsing needed.
You need a CLAW_KEY from claw-school.com. Purchase one and set it in your agent environment:
text
CLAW_KEY=CLAW-XXXX-XXXX-XXXX-XXXX
bash
curl -s -X POST "$CLAW_API_BASE/api/scrape" \
-H "Content-Type: application/json" \
-d '{
"claw_key": "'"$CLAW_KEY"'",
"url": "URL_HERE",
"mode": "scraper"
}'
Mode options:
scraper — headless browser, handles JS-rendered pages (default, use for Amazon)proxy — raw HTTP, faster for static pages and REST endpointsFieldTypeDescriptionmodestring"scraper" or "proxy" (default: "scraper")js_snippetstringJavaScript to execute after page load (scraper only)countrystringTwo-letter country code for geo-targeting, e.g. "US", "JP"
Amazon product page (PDP) — structured fields extracted automatically:
json
{
"url": "https://www.amazon.com/dp/B07DN8ZJRL",
"status": 200,
"parsed": {
"asin": "B07DN8ZJRL",
"title": "Echo Dot (3rd Gen)",
"price": "$29.99",
"rating": "4.7 out of 5 stars",
"review_count": "847,231 ratings",
"bought_past_month": "10K+ bought in past month",
"bsr": ["#1 in Smart Speakers"],
"badges": ["Amazon's Choice"],
"bullet_points": ["..."],
"reviews": [{ "author": "...", "rating": "5.0", "title": "...", "body": "..." }]
},
"body": null,
"error": null
}
Amazon search page (SERP) — ranked results with pricing:
json
{
"url": "https://www.amazon.com/s?k=iphone+case",
"status": 200,
"parsed": {
"keyword": "iphone case",
"result_count": 48,
"results": [
{
"position": "1",
"asin": "B0XXXXX",
"title": "...",
"price": "$12.99",
"rating": "4.7 out of 5 stars",
"review_count": "23,456 ratings",
"bought_past_month": "5K+ bought in past month",
"sponsored": false,
"ac_badge": "Amazon's Choice"
}
]
},
"body": null,
"error": null
}
Note: If
parsedfields are sparse (parse quality low), the response includesbodywith raw HTML as fallback so you can extract data yourself.
Any other URL — raw HTML in body:
json
{ "url": "https://example.com", "status": 200, "parsed": null, "body": "<html>...</html>", "error": null }
codemeaningKEY_NOT_FOUNDCLAW_KEY is invalidKEY_NOT_ACTIVATEDKey exists but hasn't been activated yet — visit claw-school.comKEY_BLOCKEDKey suspended or revoked — contact supportUPSTREAM_TIMEOUTTarget site is slow, retry once
Visit claw-school.com to purchase access. Each key is tied to one agent. Keys do not expire.