Request options and usage
Configure method, strategy, routing, redirects, readiness, and execution limits.
Configure only what the request needs
Important request controls include:
| Setting | Purpose |
|---|---|
url | Required public HTTP or HTTPS destination. |
method | GET or POST; rendering and readiness are intended for GET. |
strategy | Retrieval level: standard, adaptive, or premium; see the choices below. |
proxy | Optional country and sticky-session preferences. |
headers and body | Optional headers and body sent to the target URL. |
follow_redirects | Whether to follow safe public redirects. |
wait_for | Optional readiness selectors for rendered retrieval. |
success_criteria | Optional checks that the returned response must satisfy before it is accepted. |
timeout_ms | Total execution budget within the documented limits. |
max_request_units | Maximum request units the caller permits. |
Choose a retrieval strategy
| Strategy | Behaviour | Choose it when |
|---|---|---|
standard | Uses HTTP retrieval only. | The destination is straightforward and does not require rendered page readiness. |
adaptive | Starts efficiently and adds stronger retrieval automatically when needed. | Most public destinations; this is the recommended default. |
premium | Starts with rendered browser retrieval. | The destination requires JavaScript rendering immediately or has consistently needed browser retrieval. |
Readiness selectors require adaptive or premium.
Choose location and request continuity
The optional proxy object accepts location and continuity preferences:
| Field | Purpose |
|---|---|
country | Two-letter country from which the request should originate. Omit it when any available country is acceptable. |
session_id | Reuse a bounded continuity identifier for related requests. Omit it for independent requests. |
Select page readiness syntax
wait_for_type | Behaviour |
|---|---|
css | Interpret every wait_for entry as a CSS selector. |
xpath | Interpret every wait_for entry as an XPath expression. |
wait_for supports up to ten selectors and completes after at least one
selector matches. It is available only for rendered GET requests with
redirect following enabled.
Require a usable response
Use success_criteria when an HTTP success status alone does not prove that the
page is usable. Every supplied criterion must pass. A response that does not
pass is treated as incomplete, allowing the approved retry and browser
escalation policy to continue within the original time and request-unit limits.
| Field | Behaviour |
|---|---|
status_codes | Accept only one of up to twenty HTTP status codes. |
content_types | Accept one of up to ten media types; a type such as text/* matches any subtype. |
body_contains | Require every supplied text fragment to be present. |
body_excludes | Require every supplied text fragment to be absent. |
min_body_bytes | Require at least this many response-body bytes. |
{
"url": "https://example.com/products",
"strategy": "adaptive",
"success_criteria": {
"status_codes": [200],
"content_types": ["text/html"],
"body_contains": ["Products"],
"body_excludes": ["Access denied"],
"min_body_bytes": 1000
}
}Text checks are exact and case-sensitive. Each text list supports up to ten
unique fragments of at most 200 characters. Requests without
success_criteria retain the normal Web Unblocker success classification.
Set follow_redirects to true to follow safe public redirects or false to
return the first response. Use max_request_units as a cost ceiling: the
request stops rather than exceeding the supplied value.
Confirm your account limits in the Raspbytes dashboard before increasing
concurrency. A completed response includes the usage information needed to
measure and control request cost.
Updated 4 days ago

