Extract Inline Links API

inline_links lists each unique link on the page, up to 300, including same-page #fragment links. internal is true for links on the same website, including its subdomains.

API Examples

JSON Structure Overview

{
  ...
  "inline_links": [
    {
      "position": "Integer - Position of the link",
      "title": "String - Text of the link",
      "link": "String - URL of the link",
      "displayed_link": "String - Host of the link",
      "rel": "String - rel attribute of the link",
      "internal": "Boolean - Returns true if the link is on the same website, including its subdomains",
      "serpapi_extract_link": "String - Extract API link for extracting this URL next"
    },
    ...
  ],
  ...
}