DataForSEO OnPage API icon

DataForSEO OnPage API

DataForSEO

Get Resources

AI-generated

Summary

Crawl a target domain and retrieve its discovered resources, such as images, scripts, stylesheets, and broken elements. Optionally narrow results to a page URL, filter or sort the resources and their relevant pages, and control crawl settings.

Inputs

  • Target Domain (required) — Domain to crawl, without https:// or www.
  • Crawled Pages Limit (required) — Maximum number of pages to crawl.
  • Page URL — Optionally scope resource results to a specific page.
  • Crawl settings — Optional settings include the starting URL, crawl depth and delay, priority URLs, sitemap and robots.txt behavior, subdomain rules, browser and language settings, resource loading, JavaScript and XHR, cookies, content parsing, spelling and microdata checks, proxy pool, and which checks to disable.
  • Filters — JSON array of filters for the resource results.
  • Filter the Resources by Relevant Pages — JSON array of filters for pages associated with the resources.
  • Sort — Up to three sort rules, each with a field name and ascending or descending direction.
  • Limit — Maximum number of results to return, from 1 to 1000; defaults to 50.
  • Offset — Number of results to skip; defaults to 0.

Output shape

A single JSON result per input item containing the DataForSEO API response.

The node submits a crawl task and polls for its results. Invalid JSON in either filter field causes an operation error. The response may contain task status information if the crawl submission does not return the expected success status.

Links

Discussion