Web Scraping
Web Scraping Pricing and Options
#Pricing
- standard request: 1 credit
- with
proxy_country: 2 credits - with
bypass_captcha=true: 3 credits
Credits are only deducted for successful requests.
#Request Example
curl -X POST /v1/web \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"method": "GET",
"request_headers": {
"Accept": "application/json"
}
}'
#Request Body
{
"url": "https://example.com",
"method": "GET",
"request_headers": {
"Accept": "application/json"
},
"request_body": {
"key": "value"
},
"proxy_country": "us",
"bypass_captcha": "false"
}
#Fields
urlrequired, must start withhttp://orhttps://methodorrequest_method:GET,POST,PUT,PATCH,DELETErequest_headersoptional objectrequest_bodyoptional object, required when usingPOSTproxy_countryoptional proxy country from the configured allow-listbypass_captchaoptional stringtrueorfalse
#Important Rules
If bypass_captcha=true, you cannot also send:
- custom non-GET methods
- custom headers
- request body
proxy_country
#Response
{
"response": "<html>...raw response body...</html>"
}