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.

ParameterTypeRequiredAllowed values
urlstringRequiredUp to 2,048 characters
include_htmlbooleanOptionalAny
javascriptbooleanOptionalAny
response_typestringOptionaljson, markdown

Example request

cURLshell
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"