Delivery and page readiness
Choose synchronous or queued delivery and wait for rendered page content when needed.
Choose synchronous or asynchronous delivery
Queue longer work with POST /requests/. The API returns 202 Accepted and a
request identifier. Read GET /requests/{request_id}/ until it reaches a
terminal status, or cancel queued and running work with DELETE on the same
resource.
curl --fail-with-body --silent --show-error \
-X POST 'https://api.raspbytes.com/api/v1/unblock/requests/' \
-H "X-API-Key: $RASPBYTES_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"url": "https://example.com/products",
"method": "GET",
"strategy": "adaptive"
}'List history with pagination when an application needs recent requests rather
than a single result.
Wait for rendered content
For rendered GET requests, provide CSS selectors or XPath expressions in
wait_for and select their syntax with wait_for_type. The request completes
after at least one selector matches.
{
"url": "https://example.com/products",
"method": "GET",
"strategy": "adaptive",
"wait_for": ["main.products", "[data-ready=true]"],
"wait_for_type": "css"
}Readiness selectors require adaptive or premium mode. Keep selectors stable
and specific enough to represent usable page state.
Updated 16 days ago
Did this page help you?

