Skip to main content
Queue up multiple requests and receive the task_id instantly – after the task is completed, you can retrieve the results from your request using said task_id.

Queue a Single Task

Single query or URL endpoint: https://scraper-api.decodo.com/v3/task
Make a POST request to this endpoint with your preferred parameters to receive the task_id for retrieval once the task is done, along with the parameters used.

Response Example:


Retrieve result using task_id

Single query or URL endpoint: https://scraper-api.decodo.com/v3/task/{task_id}/results
Make a GET request to this endpoint, replacing {task_id} with the ID received from the previous POST request to retrieve the result.
Results can be retrieved an unlimited number of times within 24 hours of the initial request

Get task status using task_id

Asynchronous task status can be checked manually:
Response will contain request information and task status. If task is in progress status will be set to pending:
When task has been completed successfully status will be changed to done:
If task has failed, status will be set to faulted.

Queue Multiple Tasks

Batch query or URL endpoint: https://scraper-api.decodo.com/v3/task/batch
Make a POST request to this endpoint, providing multiple queries or URLs in JSON format.
Batch requests are limited to 1 request per second.
With a single batch, you can submit either multiple queries or URLs, but not both. Also, one batch must have only one target, like google_search shown in the example below.Number of URLs/queries you can submit depends on your subscription rate limit.

Receive task status to your callback_url

This will work with any async endpoint by entering the callback_url as one of the parameters

We will make a POST request to your provided URL with the task_id and parameters used once the task is done. You can use a website like this one to test receiving a response.
Example using a single task endpoint:
Example of a response you will receive:
You can then use the id to retrieve the result of your task using this endpoint:
  • https://scraper-api.decodo.com/v3/task/{task_id}/results
For example, to retrieve the result from the above example, you would send a GET request to:
  • https://scraper-api.decodo.com/v3/task/7039164056019693569/results

Authenticating Callbacks

To verify that a callback request is actually from Scraper API, include a note in the passthrough parameter. The parameter passthrough along with its contents will be present in the payload sent back to your endpoint.

Support

Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.

Feedback

Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.