DataForSEO OnPage API icon

DataForSEO OnPage API

DataForSEO

Get Pages By Resource

AI-generated

Summary

Retrieve pages associated with a specific resource URL from a DataForSEO OnPage crawl. Provide the target domain, crawl page limit, and resource URL; use the optional crawl settings to configure the crawl, then filter, sort, and page through the matching results.

Inputs

  • Target Domain (required) — Domain to crawl, without https:// or www.
  • Crawled Pages Limit (required) — Maximum number of pages for the crawl.
  • Resource URL (required) — Resource URL returned by DataForSEO’s Resources endpoint; the operation finds pages where that resource is located.
  • Crawl settings — Optional start URL, crawl depth and delay, priority URLs, sitemap and robots.txt settings, browser and language settings, resource and script loading, cookies, subdomain rules, spelling checks, and other crawl checks. These settings configure the crawl submitted with the request.
  • Filters — JSON array of DataForSEO-supported result filters. Invalid JSON raises an operation error.
  • Sort — Up to three sort rules, each with a field name and ascending or descending direction. More than three raises an operation error.
  • Limit — Maximum number of matching results to return (UI range 1–1000; default 50).
  • Offset — Number of matching results to skip (default 0).

Output shape

A single n8n item containing the DataForSEO API response.

The node submits an OnPage crawl task and polls for its result when the initial task status is 20100. The response is the API response object; the source does not reshape it into individual page items.

Links

Discussion