Skip to main content
To improve efficiency, our API provides a functionality to request multiple formats in a single response with /scrape endpoint.
This feature is only supported for /scrape endpoint for both - realtime and asynchronous integration types.
The following table shows available response formats, which are determined by the parameters included in your API request. Keep in mind that not all targets support every parameter; therefore, the output results can vary.

How to specify multiply formats

Two steps:
  1. Requested output types should be available in the request payload
  2. Types should be specified in the API URL as ?type parameter
Realtime endpoint: https://data.decodo.com/v1/scrape?type= Asynchronous endpoint: https://data.decodo.com/v1/task?type=

Fetching a multi-format response through the Results endpoint using task_id

To receive a multi-format response, add ?type= parameter to the results request URL and specify the desired response type, i.e.: https://data.decodo.com/v1/task/{task_id}/results?type=raw,xhr

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.