SEO API

SEO 反向链接 API

通过 AnyAPI SEO 获取某个域名或 URL 的反向链接,每条附带链接页面、锚文本、dofollow 标记、权威排名、垃圾评分以及首次和最近发现日期,以标准化 JSON 返回。

US$0.08/千条结果,按请求付费,无需订阅。

notion.so - Ahrefs Site Explorer
app.ahrefs.com/site-explorer/backlinks/v2/exact
ahrefsSearch
OverviewOrganic searchPaid searchBacklink profileContent explorer
DRReferring pageAnchor and target URLFirst seen
91

Notion redesigns its workspace around AI

Notion

https://notion.so

Jun 2, 2025
API 返回的内容backlinks[0]
{
"urlFrom": "https://www.theverge.com/2026/6/2/notion-ai-workspace-redesign",
"domainFrom": "theverge.com",
"urlTo": "https://notion.so",
"anchor": "Notion",
"dofollow": true,
"linkType": "anchor",
"rank": 912,
"pageFromRank": 743,
... 还有 37 个字段
}
可用率
100.00%
30d · 98 次调用
请求数
99
30d · 按周,近 12 周
响应时间
0.8s
中位数 · 30d

调用方式

一个请求获取 SEO 反向链接

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/seo.backlinks",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "target": "ahrefs.com",
        "includeSubdomains": True,
        "limit": 10,
        "mode": "as_is",
        "status": "live"
    },
)
print(res.json())
打开于
获取免费密钥
示例响应

这个示例展示了 50 个字段中的 44 个。查看全部字段

{
  "found": true,
  "data": {
    "totalCount": 4218654,
    "backlinks": [
      {
        "urlFrom": "https://www.theverge.com/2026/6/2/notion-ai-workspace-redesign",
        "domainFrom": "theverge.com",
        "urlTo": "https://notion.so",
        "anchor": "Notion",
        "dofollow": true,
        "linkType": "anchor",
        "rank": 912,
        "pageFromRank": 743,
        "domainFromRank": 912,
        "spamScore": 2,
        "pageFromTitle": "Notion redesigns its workspace around AI",
        "domainFromCountry": "US",
        "textBefore": "the productivity app",
        "textAfter": "announced a major redesign this week.",
        "isNew": true,
        "isLost": false,
        "isBroken": false,
        "firstSeenUtc": 1748822400,
        "lastSeenUtc": 1758844800,
        "previousSeenUtc": 1756166400,
        "domainTo": "notion.so",
        "tldFrom": "com",
        "attributes": [
          "noopener"
        ],
        "domainFromPlatformTypes": [
          "news",
          "technology"
        ],
        "pageFromLanguage": "en",
        "pageFromEncoding": "utf-8",
        "pageFromStatusCode": 200,
        "pageFromSize": 182044,
        "pageFromExternalLinks": 38,
        "pageFromInternalLinks": 212,
        "pageFromKeywordsTop3": 4,
        "pageFromKeywordsTop10": 12,
        "pageFromKeywordsTop100": 61,
        "semanticLocation": "article",
        "linksCount": 1,
        "groupCount": 1,
        "isOriginal": true,
        "isIndirect": false,
        "urlToStatusCode": 200,
        "urlToSpamScore": 1
      },
      {
        "urlFrom": "https://zapier.com/blog/best-note-taking-apps/",
        "domainFrom": "zapier.com",
        "urlTo": "https://notion.so/templates",
        "anchor": "Notion templates",
        "dofollow": true,
        "linkType": "anchor",
        "rank": 878,
        "pageFromRank": 611,
        "domainFromRank": 878,
        "spamScore": 3,
        "pageFromTitle": "The 12 best note-taking apps in 2026",
        "domainFromCountry": "US",
        "textBefore": "you can browse thousands of",
        "textAfter": "built by the community.",
        "isNew": false,
        "isLost": false,
        "isBroken": false,
        "firstSeenUtc": 1701388800,
        "lastSeenUtc": 1758844800,
        "domainTo": "notion.so",
        "tldFrom": "com",
        "attributes": [],
        "domainFromPlatformTypes": [
          "blogs",
          "software"
        ],
        "pageFromLanguage": "en",
        "pageFromStatusCode": 200,
        "pageFromSize": 96210,
        "pageFromExternalLinks": 54,
        "pageFromInternalLinks": 168,
        "semanticLocation": "article",
        "linksCount": 1,
        "groupCount": 1,
        "isOriginal": false,
        "isIndirect": false,
        "urlToStatusCode": 200
      },
      {
        "urlFrom": "https://www.reddit.com/r/productivity/comments/1a2b3c4",
        "domainFrom": "reddit.com",
        "urlTo": "https://notion.so",
        "anchor": "notion.so",
        "dofollow": false,
        "linkType": "anchor",
        "rank": 969,
        "pageFromRank": 402,
        "domainFromRank": 969,
        "spamScore": 6,
        "pageFromTitle": "What app do you use to organize your whole life?",
        "domainFromCountry": "US",
        "isNew": false,
        "isLost": false,
        "isBroken": false,
        "firstSeenUtc": 1690848000,
        "lastSeenUtc": 1758844800,
        "domainTo": "notion.so",
        "tldFrom": "com",
        "attributes": [
          "nofollow",
          "ugc"
        ],
        "domainFromPlatformTypes": [
          "forums"
        ],
        "pageFromLanguage": "en",
        "pageFromStatusCode": 200,
        "semanticLocation": "article",
        "linksCount": 1,
        "groupCount": 1,
        "isOriginal": true,
        "isIndirect": false,
        "urlToStatusCode": 200
      }
    ]
  }
}

完整的参数与响应参考:这个接口的每个字段、类型和示例。

参考

一个请求,一种响应结构。

你发送的每个字段和收到的每个字段,都附有真实示例。

最近验证于 2026-11-14 · 可用率和延迟按 30d 统计

请求体

JSON,POST 到这个接口。

  • targetstring

    notion.so

    要分析的域名、子域名或完整页面 URL。发送域名时不要带协议或开头的 www。

  • includeSubdomainsboolean

    true

    除目标本身外,也统计指向目标子域名的链接。

  • limitinteger

    10

    最多返回的反向链接数量。按返回的结果数扣费,所以上限越低,费用越少。

  • modeenum

    as_is

    as_is 返回所有反向链接;one_per_domain 每个链接域名只保留一条反向链接;one_per_anchor 每个锚文本只保留一条。

  • statusenum

    live

    返回当前有效的反向链接、已丢失的反向链接,或两者都返回。

你发送。 一个简短的 JSON 请求体。显示的值只是示例,请换成你自己的。

响应

JSON,每个字段一个示例值。

each backlinkdata.backlinks[]

Backlinks pointing at the target. Populated whenever the provider has data for the entity.

  • anchorstring

    Notion

    Anchor text of the link.

  • attributesstring[]

    rel attributes on the link, such as nofollow, sponsored, ugc, or noopener.

  • dofollowboolean

    true

    True when the link passes ranking value (no nofollow attribute). Populated whenever the provider has data for the entity.

  • domainFromstring

    theverge.com

    Domain of the linking page. Populated whenever the provider has data for the entity.

  • domainFromCountrystring

    US

    Country code of the linking domain.

  • domainFromIpstring

    IP address of the linking domain.

  • domainFromIsIpboolean

    True when the linking host is a bare IP address.

  • domainFromPlatformTypesstring[]

    Site types of the linking domain, such as blogs, news, or ecommerce.

  • domainFromRankinteger

    912

    Authority rank of the linking domain on a 0-1000 scale.

  • domainTostring

    notion.so

    Domain of the target URL.

  • firstSeenUtcnumber

    1748822400

    When the backlink was first seen. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • groupCountinteger

    1

    Backlinks grouped into this one by the requested mode.

  • imageAltstring

    Alt text of the linked image, for image links.

  • imageUrlstring

    URL of the linked image, for image links.

  • isBrokenboolean

    false

    True when the target URL no longer resolves.

  • isIndirectboolean

    false

    True when the link reaches the target through a redirect or canonical.

  • isLostboolean

    false

    True when the backlink has been removed.

  • isNewboolean

    true

    True when the backlink appeared since the previous crawl.

  • isOriginalboolean

    true

    True when the link was present on the first crawl of the linking page.

  • lastSeenUtcnumber

    1758844800

    When the backlink was last seen. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • linkTypestring

    anchor

    How the link is placed: anchor, image, redirect, canonical, alternate, and so on.

  • linksCountinteger

    1

    Identical links from the linking page to the target.

  • pageFromEncodingstring

    utf-8

    Character encoding of the linking page.

  • pageFromExternalLinksinteger

    38

    Outbound links on the linking page.

  • pageFromInternalLinksinteger

    212

    Internal links on the linking page.

  • pageFromKeywordsTop10integer

    12

    Keywords the linking page ranks in the top 10 for.

  • pageFromKeywordsTop100integer

    61

    Keywords the linking page ranks in the top 100 for.

  • pageFromKeywordsTop3integer

    4

    Keywords the linking page ranks in the top 3 for.

  • pageFromLanguagestring

    en

    Language code of the linking page.

  • pageFromRankinteger

    743

    Authority rank of the linking page on a 0-1000 scale.

  • pageFromSizeinteger

    182044

    Size of the linking page in bytes.

  • pageFromStatusCodeinteger

    200

    HTTP status the linking page returned.

  • pageFromTitlestring

    Notion redesigns its workspace around AI

    Title of the linking page.

  • previousSeenUtcnumber

    1756166400

    When the backlink was seen on the crawl before the last one. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • rankinteger

    912

    Authority rank of the backlink on a 0-1000 scale.

  • semanticLocationstring

    article

    Page section holding the link, such as article, footer, or nav.

  • spamScoreinteger

    2

    Spam score of the backlink on a 0-100 scale.

  • textAfterstring

    announced a major redesign this week.

    Text right after the link on the linking page.

  • textBeforestring

    the productivity app

    Text right before the link on the linking page.

  • tldFromstring

    com

    Top-level domain of the linking page.

  • urlFromstring

    https://www.theverge.com/2026/6/2/notion-ai-workspace-redesign

    URL of the page carrying the link. Populated whenever the provider has data for the entity.

  • urlTostring

    https://notion.so

    Target URL the link points at. Populated whenever the provider has data for the entity.

  • urlToRedirectTargetstring

    Where the target URL redirects, if it does.

  • urlToSpamScoreinteger

    1

    Spam score of the target URL on a 0-100 scale.

  • urlToStatusCodeinteger

    200

    HTTP status the target URL returned.

datadata
  • totalCountinteger

    4218654

    Total backlinks matching the request, before the limit. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

你收到。 字段有名称、有类型,无论哪个数据源响应,结构都一样。

常见问题

关于 SEO 反向链接 API

AnyAPI 的 SEO 反向链接 API 只需一次 POST 请求 /v1/run/seo.backlinks,就以统一格式的 JSON 返回 SEO 数据。通过 AnyAPI SEO 获取某个域名或 URL 的反向链接,每条附带链接页面、锚文本、dofollow 标记、权威排名、垃圾评分以及首次和最近发现日期,以标准化 JSON 返回。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千条结果 US$0.08,单次请求最多 US$0.0768,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 SEO 反向链接 API 调用中有 100.0% 成功,响应时间中位数为 0.8 秒,共测量 98 次调用。

费用:每千条结果 US$0.08,单次请求最多 US$0.0768,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。

通过 AnyAPI SEO 获取某个域名或 URL 的反向链接,每条附带链接页面、锚文本、dofollow 标记、权威排名、垃圾评分以及首次和最近发现日期,以标准化 JSON 返回。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。

过去 30 天,通过 AnyAPI 发起的 SEO 反向链接 API 调用中有 100.0% 成功,响应时间中位数为 0.8 秒,共测量 98 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。

可以。新的 AnyAPI 账户自带 US$0.10 免费余额,无需绑卡,至少足够调用 1 次 SEO 反向链接,每次最多 US$0.0768。

向 https://api.getanyapi.com/v1/run/seo.backlinks 发送 POST 请求,在 “Authorization: Bearer” 请求头中放入你的 AnyAPI 密钥,并以 JSON 请求体传入参数。同一个密钥和同一个钱包适用于所有 AnyAPI 接口。

不需要。你向一个预付费的 AnyAPI 余额充值美元,每个请求从中扣费。没有月度套餐,也没有最低消费,同一个余额可用于所有 AnyAPI 接口。

有。TypeScript 用 npm 安装 @getanyapi/sdk,Python 用 pip 安装 getanyapi。两者都用同一个密钥调用所有 AnyAPI 接口,任何 HTTP 客户端也都可以。

可以。智能体可以连接 https://api.getanyapi.com/mcp 上的 AnyAPI MCP 服务器,或者向 https://api.getanyapi.com/agent/signup 发送一次无需认证的 POST 来创建自己的免费试用密钥,再通过 HTTP 调用这个接口。