APIs / Web Scraper / Scrape
Web Scraper: Scrape
Scrape from Web Scraper as JSON. 1 credit per successful call.
GET /v1/web-scraper/scrape
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
url | string | Required | Up to 2,048 characters |
include_html | boolean | Optional | Any |
javascript | boolean | Optional | Any |
response_type | string | Optional | json, markdown |
Example request
curl "https://api.perceptlayer.com/v1/web-scraper/scrape?url=https%3A%2F%2Fexample.com&include_html=0&javascript=0" \
-H "X-API-Key: $API_KEY"