Scrapestack Integration¶
Official Scrapestack API Documentation
Scrapestack provides web page scraping through a hosted scraping API. Use KeyPool to call Scrapestack with your team token and a stable base URL.
Endpoint¶
{YOUR_KEYPOOL_BASE_URL}/v1/scrapestack
Authentication¶
Send your KeyPool team token as a bearer token. Do not pass an upstream access_key query parameter.
Authorization: Bearer {KEYPOOL_TOKEN}
Quick Start¶
Scrape A URL¶
curl -G "${KEYPOOL_BASE_URL}/v1/scrapestack/scrape" \
-H "Authorization: Bearer ${KEYPOOL_TOKEN}" \
--data-urlencode "url=https://example.com" \
--data-urlencode "render_js=false"
Common Parameters¶
| Parameter | Purpose |
|---|---|
url |
Target URL to scrape |
render_js |
Render JavaScript before returning the page when supported |
premium_proxy |
Use premium proxy routing when supported |
country_code |
Optional proxy country code |
device |
Optional device profile |
Interactive API Reference¶
For in-browser testing, see API Reference -> Scrapestack.