Get links report

Top linking sites, top linked pages, internal links and top linking text of a property.

GET https://cotlet.dev/api/v1/google-search-console/links-report

read

Returns one table of the Links report: top linking sites (root domains, subdomains are merged), top linked pages, internal links, or top linking text (external links only, matched case-insensitively). Google limits each table to 1,000 rows and the report is a sample of links, not a full list. Links without anchor text show as (empty).

Parameters

Parameters: get_links_report
NameTypeDescription
property string required string Property as Search Console lists it: sc-domain:example.com for a Domain property, https://example.com/ for a URL-prefix property.
table enum required enum top_linking_sites, top_linked_pages, internal_links or top_linking_text.
limit integer integer 1 to 1000. Default: 100.
cursor string string Next page cursor from the previous call.

Request

cURL
curl "https://cotlet.dev/api/v1/google-search-console/links-report?property=property&table=top_linking_sites" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("google-search-console", "get_links_report", {"property":"property","table":"top_linking_sites"})
Node.js
const result = await cotlet.call('google-search-console', 'get_links_report', {"property":"property","table":"top_linking_sites"});
CLI
cotlet call google-search-console get_links_report --data '{"property":"property","table":"top_linking_sites"}'

Example response

JSON

{
  "property": "sc-domain:example.com",
  "table": "top_linking_sites",
  "rows": [
    {
      "site": "newsletter.example.net",
      "links": 214,
      "linked_pages": 18
    },
    {
      "site": "blog.example.org",
      "links": 96,
      "linked_pages": 9
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.