Fetch a page with Web Data
Web Data
Fetch
Fetches a target page through Web Data and returns the fetched HTML. Upstream scrape failures return structured v2 JSON errors with message “Failed to scrape the URL” and safe metadata only. Use this for page retrieval. Do not use it for usage reporting; use getWebDataUsage or getAccountUsage instead.
POST
Fetch a page with Web Data
Authorizations
Client API key for the authenticated account.
Body
application/json
Target page URL to fetch through Web Data.
Example:
"https://example.com"
2-letter country code for the request exit location.
Pattern:
^[a-zA-Z]{2}$Example:
"US"
City for the request exit location.
Minimum string length:
1Example:
"New York"
Access difficulty pool. Defaults to the upstream default.
Available options:
low, medium Example:
"low"
Maximum age of cached content in days.
Required range:
0 <= x <= 9007199254740991Example:
0