Skip to main content
1

Enable "Asynchronous requests"

In the Web Unlocker API zone, under “Advanced settings”, enable the “Asynchronous requests” toggle.
Enable async requests
2

Send your first async request

The following request submits an asynchronous Web Unlocker API job:
cURL
Replace <API_KEY> with your API key and web_unlockerwith your Web Unlocker zone name.
3

Wait and check status

We recommend to wait 20 seconds prior to the first polling request to get the response, 10 seconds for the second poll and 5 for the rest.Bright Data may apply rate limit for excessive poling requests without response.The request returns a response_id used to retrieve results after processing completes.
If the request is still processing, the API returns HTTP 202:
HTTP/202
Processing time is typically up to 5 minutes and may extend to 8 hours during peak periods.Responses are retained for up to 48 hours from submission time.
4

Retrieve your results

The following request retrieves the completed result:
The response body is written to results.json.
5

Verify the output

Display the saved file:
The file contains structured JSON results from the Web Unlocker API. For example:
Sample Response
Congratulations! If the file contains valid JSON search results, you’re done!

Can Bright Data send the response to a target which I specify?

Not the response body - you always pull that with the response_id. But Bright Data does send a notification to your webhook_url when the job is ready, so no polling loop is needed. See Webhooks setup.