Skip to content

DataForSEO

On Page Resources

‌‌ This endpoint will provide you with a list of resources, including images, scripts, stylesheets, and broken elements. You will get a detailed overview of every resource found on the crawled pages.

Free DataForSEOSEOdataforseo/on-page-resourcesActive

Use this tool with your agent

Give this to your agent
Use my connected Agentik MCP server. I want to use the tool dataforseo/on-page-resources (On Page Resources). Call inspect_tool with {"tool_id": "dataforseo/on-page-resources"} first and tell me the price before anything runs. Ask me for the inputs it needs; never invent values, IDs or file URLs. When I confirm, call run_tool with tool_id "dataforseo/on-page-resources" and my inputs, follow it with get_run if it is still running, and give me the result and the price Agentik reports. If the tool is unavailable, say so and use discover_tools to propose an alternative.
Show the prompt

Paste it into Claude, ChatGPT or Codex: your agent takes it from there, and shows the price before it runs.

Parameters

NameTypeRequiredDescription
idstringYesID of the task required field you can get this ID in the response of the Task POST endpoint example: "07131248-1535-0216-1000-17384017ad04"
urlstringNopage URL optional field specify this field if you want to get the resources for a specific page note that to obtain resource's meta from a particular URL, you should specify the URL in this field; if you do not indicate a url when setting a
limitintegerNothe maximum number of returned resources optional field default value: 100 maximum value: 1000
offsetintegerNooffset in the results array of returned resources optional field default value: 0 maximum value: 2000000 if you specify the 10 value, the first ten resources in the results array will be omitted and the data will be provided for the success
filtersany[]Noarray of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, <, <=, >,
relevant_pages_filtersany[]Nofilter the resources by relevant pages optional field you can use this field to obtain resources from pages matching to the defined parameters you can apply the same filters here as available for the pages endpoint you can add several filte
order_bystring[]Noresults sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc - results will be sorted in the ascending order desc - results will be sorted in the descending order y
search_after_tokenstringNotoken for subsequent requests optional field provided in the identical filed of the response to each request; use this parameter to avoid timeouts while trying to obtain over 20,000 results in a single request; by specifying the unique sear
tagstringNouser-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response

How your agent calls it

Call inspect_tool with the identifier below. No example input is published for this tool; collect the required inputs before calling run_tool.

{
  "tool_id": "dataforseo/on-page-resources"
}

Price and billing

Price
Free
Model
Per call
Detail
No charge per call. A workspace is still needed so your agent can call it.
  • The provider’s price, 0% markup.
  • One prepaid balance for every provider; your agent sees the price before it runs.
  • Pay for measured usage; unused reservations are released.