OnPage
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 – links with redirect status.
post/v3/on_page/links
Request
- Base URL: https://api.dataforseo.com
- URL: https://api.dataforseo.com/v3/on_page/links
- Auth: HTTP basic
Request body
Example request
[
{
"id": "07281559-0695-0216-0000-c269be8b7592",
"page_from": "/apis/google-trends-api",
"filters": [
[
"dofollow",
"=",
true
],
"and",
[
"direction",
"=",
"external"
]
],
"limit": 10
}
]Response
Successful operation
Changes
- info
api operation id
OnPageLinksremoved and replaced withLinks
- info
- info
api operation id
Linksremoved and replaced withOnPageLinks
- info