Links

GET /api/v1/links

Every link found on a page — internal and external — with its anchor text, rel attributes, dofollow status, link type and (for hreflang) language targeting. One call, no crawl task.

Query parameters

NameTypeDescription
url requiredstringThe page to extract links from.
direction optionalstringFilter to internal or external. Default: both.
check_status optionalbooleanIf true, fetch each target to fill status_code and is_broken.

Request

Response

200 · application/json
  1. {
  2. "url": "https://example.com",
  3. "totalCount": 4,
  4. "summary": {
  5. "total": 4,
  6. "internal": 3,
  7. "external": 1,
  8. "dofollow": 3,
  9. "nofollow": 1,
  10. "sponsored": 0,
  11. "ugc": 0,
  12. "emailLinks": 1,
  13. "telLinks": 0,
  14. "emptyAnchors": 2,
  15. "genericAnchors": 3
  16. },
  17. "items": [
  18. {
  19. "type": "anchor",
  20. "direction": "internal",
  21. "href": "https://example.com/about",
  22. "text": "About us",
  23. "dofollow": true,
  24. "rel": "",
  25. "statusCode": 200,
  26. "isBroken": false
  27. }
  28. ]
  29. }

Response fields

FieldTypeDescription
typestringanchor, image, canonical, alternate or meta.
directionstringinternal or external.
hrefstringAbsolute target URL.
textstringAnchor text (or image alt for image links).
dofollowbooleanFalse when rel="nofollow" (or sponsored/ugc).
statusCode / isBrokeninteger / booleanPopulated when check_status=true.
summary.internal / summary.externalintegerLink mix: counts of internal vs external links.
summary.dofollow / summary.nofollow / summary.sponsored / summary.ugcintegerrel attribute breakdown across all links.
summary.emailLinks / summary.telLinksintegerCounts of mailto: and tel: links.
summary.emptyAnchorsintegerLinks with no anchor text — bad for SEO.
summary.genericAnchorsintegerNon-descriptive anchors like "click here" / "read more".

See Errors for status codes.