How each product works

How to use Website Scraper

What Website Scraper takes in, which fields it returns and how credits are charged for each lookup.

Last updated 2026-10-22

What it does

Fetches a public web page and returns its title, metadata, readable text and links.

What you send

Send these fields in the JSON body of the request.

Request fields for Website Scraper
FieldTypeRequiredLimits
urlstringRequiredup to 2,048 characters
format"markdown" or "text" or "html"Optionalno extra limit

Request fields for Website Scraper

What you get back

The data object of a successful response carries these fields. Every response also lists its sources, the credits_charged and whether it was a cache_hit.

Each field is described in the API reference.

Response fields for Website Scraper
FieldType
final_urlstring
statusinteger
titlestring
descriptionstring
canonicalstring
languagestring
headingslist
format"markdown" or "text" or "html"
contentstring
content_truncatedboolean
linksobject
imagesinteger
word_countinteger
fetched_atstring

Response fields for Website Scraper

What it costs

10 credits per successful scrape (errors, empty and blocked pages are free).

What each outcome costs
CaseCharge
Found10 credits
Nothing found0 credits
Repeat inside 7 days0 credits
Errors and invalid requests0 credits

What each outcome costs

Run it

From code, send a POST request to https://YOUR_API_HOST/v1/website-scraper with your API key.

curl -X POST https://YOUR_API_HOST/v1/website-scraper \
  -H "Authorization: Bearer $LOOKVALID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","format":"markdown"}'

A request to Website Scraper

Full parameters and response fields are in the API reference. To run a list of values, use a bulk CSV job.

Good to know

  • A repeat of the same lookup within 7 days is served from your cache and costs 0 credits.
  • When the lookup finds nothing it returns found: false and costs 0 credits.
  • Invalid input and errors are never charged.
  • The API allows 200 requests per 10 seconds per key.

Still stuck? Write to hello@lookvalid.com.