Skip to content

DataForSEO

On Page Links

‌‌ This endpoint will provide you with a list of internal and external links detected on a target website. The following link types are supported: anchor – links that point to a specific portion of a webpage; image – links that point to an image; canonical – links that point to a canonical page; meta – links with meta http-equiv=refresh ; alternate – links with link rel="alternate" pointing to an alternative version of a webpage ; redirect – link

Free DataForSEOSEOdataforseo/on-page-linksActive

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-links (On Page Links). Call inspect_tool with {"tool_id": "dataforseo/on-page-links"} 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-links" 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"
page_fromstringNorelative page URL optional field if you use this field, the API response will contain only links from the specified page note that in this field you can specify relative URLs only
page_tostringNorelative page URL optional field if you use this field, the API response will contain only internal links pointing to the specified page note that in this field you can specify relative URLs only
limitintegerNothe maximum number of returned links optional field default value: 100 maximum value: 1000
offsetintegerNooffset in the results array of returned links optional field default value: 0 maximum value: 2000000 if you specify the 10 value, the first ten links in the results array will be omitted and the data will be provided for the successive link
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, =, <>, in
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-links"
}

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.