Skip to main content
Core and Advanced plans are no longer available for purchase. Please consider migrating to the all-in-one Web Scraper API; check out the guide here.
To improve efficiency, our API provides a functionality to request multiple formats in a single response.
  • This feature is available with Web API Advanced plans.
  • Only supported for asynchronous integration type.

Supported formats

TypeDescription
rawThe raw response body from the URL, which is usually but not exclusively an HTML document
parsedThe parsed page content, provided in JSON format
markdownMarkdown response
xhrXHR requests captured during page rendering
pngA screenshot of the web page in PNG format
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.
ParseXHRMarkdownHeadlessReal-time outputAvailable output
true--* OR htmlparsedhtml, parsed
true--pngparsedhtml, parsed, png
truetrue-htmlparsedhtml, parsed, xhr
true-true- OR htmlparsedhtml, parsed, markdown
truetruetruehtmlparsedhtml, parsed, xhr, markdown
-true-htmlxhrhtml, xhr
-truetruehtmlmarkdownhtml, xhr, markdown
--truepngmarkdownhtml, markdown, png
---pngpnghtml, png
---- OR htmlhtmlhtml

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 desired response type, i.e.: https://scraper-api.decodo.com/v3/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.