SEO 域名页面 API
通过 AnyAPI SEO 获取某个域名的页面,附带其反向链接概况(排名、反向链接数、引用域名数)和页面数据(标题、标题层级、字数、状态、技术),以标准化 JSON 返回。
US$0.08/千条结果,按请求付费,无需订阅。
Notion Template Gallery
https://notion.so/templates
{"url": "https://notion.so/templates","domain": "notion.so","mainDomain": "notion.so","tld": "so","ip": "104.18.9.126","statusCode": 200,"server": "cloudflare","mediaType": "text/html",... 还有 42 个字段}
价格
SEO 域名页面 API 价格
调用方式
一个请求获取 SEO 域名页面
import os, requests res = requests.post( "https://api.getanyapi.com/v1/run/seo.domain_pages", headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"}, json={ "target": "ahrefs.com", "includeSubdomains": True, "limit": 10, "status": "live" }, ) print(res.json())
这个示例展示了 55 个字段中的 53 个。查看全部字段
{
"found": true,
"data": {
"totalCount": 88213,
"pages": [
{
"url": "https://notion.so/templates",
"domain": "notion.so",
"mainDomain": "notion.so",
"tld": "so",
"ip": "104.18.9.126",
"statusCode": 200,
"server": "cloudflare",
"mediaType": "text/html",
"contentEncoding": "br",
"size": 214088,
"encodedSize": 61200,
"firstVisitedUtc": 1451606400,
"previousVisitedUtc": 1756166400,
"fetchedUtc": 1758844800,
"title": "Notion Template Gallery",
"canonical": "https://notion.so/templates",
"language": "en",
"charset": "utf-8",
"internalLinks": 212,
"externalLinks": 8,
"imagesCount": 44,
"wordsCount": 2104,
"pageSpamScore": 1,
"h1": [
"Templates for every team"
],
"h2": [
"Product",
"Engineering",
"Marketing",
"Design"
],
"h3": [
"Roadmap planner",
"Sprint board"
],
"platformTypes": [
"software",
"productivity"
],
"socialTags": {
"og:title": "Notion Template Gallery",
"og:image": "https://notion.so/og.png"
},
"technologies": {
"cdn": [
"Cloudflare"
],
"analytics": [
"Segment"
]
},
"rank": 812,
"backlinks": 41204,
"spamScore": 2,
"brokenBacklinks": 61,
"brokenPages": 12,
"referringDomains": 3210,
"referringDomainsNofollow": 812,
"referringMainDomains": 2988,
"referringMainDomainsNofollow": 611,
"referringIps": 2601,
"referringSubnets": 1904,
"referringPages": 9812,
"referringPagesNofollow": 2104,
"firstSeenUtc": 1451606400,
"linksByTld": {
"com": 2100,
"io": 412
},
"linksByType": {
"anchor": 40100
},
"linksByAttribute": {
"nofollow": 8100
},
"linksByPlatformType": {
"blogs": 31000
},
"linksBySemanticLocation": {
"article": 38000
},
"linksByCountry": {
"us": 29000
}
},
{
"url": "https://notion.so/product/ai",
"domain": "notion.so",
"mainDomain": "notion.so",
"tld": "so",
"ip": "104.18.9.126",
"statusCode": 200,
"server": "cloudflare",
"title": "Notion AI",
"canonical": "https://notion.so/product/ai",
"language": "en",
"internalLinks": 168,
"externalLinks": 4,
"imagesCount": 21,
"wordsCount": 1420,
"pageSpamScore": 1,
"h1": [
"Notion AI"
],
"h2": [
"Write faster",
"Find answers instantly"
],
"rank": 744,
"backlinks": 18044,
"referringDomains": 1902,
"referringMainDomains": 1740,
"referringPages": 4108,
"firstSeenUtc": 1690848000
},
{
"url": "https://notion.so/pricing",
"domain": "notion.so",
"mainDomain": "notion.so",
"tld": "so",
"statusCode": 200,
"title": "Notion Pricing",
"canonical": "https://notion.so/pricing",
"language": "en",
"internalLinks": 96,
"externalLinks": 2,
"wordsCount": 812,
"h1": [
"Pricing"
],
"rank": 701,
"backlinks": 9812,
"referringDomains": 1104,
"referringMainDomains": 988,
"referringPages": 2601,
"firstSeenUtc": 1420070400
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- targetstring
notion.so
要列出页面的域名或子域名,不要带协议或开头的 www。
- includeSubdomainsboolean
true
除目标本身外,也统计指向目标子域名的链接。
- limitinteger
10
最多返回的页面数量。按返回的结果数扣费,所以上限越低,费用越少。
- statusenum
live
统计当前有效的反向链接、已丢失的反向链接,或两者都统计。
响应
JSON,每个字段一个示例值。
Pages of the domain with their backlink and on-page data. Populated whenever the provider has data for the entity.
- backlinksinteger
41204
Backlinks counted. Populated whenever the provider has data for the entity.
- brokenBacklinksinteger
61
Backlinks pointing at pages that no longer resolve.
- brokenPagesinteger
12
Linked pages with an error status.
- canonicalstring
https://notion.so/templates
Canonical URL declared by the page.
- charsetstring
utf-8
Character set of the page.
- contentEncodingstring
br
Content encoding of the response.
- domainstring
notion.so
Host of the page. Populated whenever the provider has data for the entity.
- encodedSizeinteger
61200
Encoded page size in bytes.
- externalLinksinteger
8
Outbound links on the page.
- fetchedUtcnumber
1758844800
When the page was last crawled. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- firstSeenUtcnumber
1451606400
When the first of these backlinks was seen. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- firstVisitedUtcnumber
1451606400
When the page was first crawled. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- h1string[]
H1 headings on the page.
- h2string[]
H2 headings on the page.
- h3string[]
H3 headings on the page.
- imagesCountinteger
44
Images on the page.
- internalLinksinteger
212
Internal links on the page.
- ipstring
104.18.9.126
IP address the page was fetched from.
- languagestring
en
Language code of the page.
- linksByAttributeobject
Count of these backlinks, by rel attribute (nofollow, sponsored, ugc, noopener, and so on).
- linksByCountryobject
Count of these backlinks, by country code of the linking domain. An empty key means the country is unknown.
- linksByPlatformTypeobject
Count of these backlinks, by type of linking site (blogs, news, ecommerce, and so on).
- linksBySemanticLocationobject
Count of these backlinks, by the page section holding the link (article, footer, nav, and so on). An empty key means no section was detected.
- linksByTldobject
Count of these backlinks, by top-level domain of the linking page.
- linksByTypeobject
Count of these backlinks, by link type (anchor, image, redirect, canonical, alternate).
- lostUtcnumber
When the last of these backlinks was lost, if they were. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- mainDomainstring
notion.so
Registrable domain of the page.
- mediaTypestring
text/html
Media type of the page.
- pageSpamScoreinteger
1
Spam score of the page on a 0-100 scale.
- platformTypesstring[]
Site types detected, such as blogs, news, or ecommerce.
- previousVisitedUtcnumber
1756166400
When the page was crawled before the last time. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- rankinteger
812
Authority rank on a 0-1000 scale. Populated whenever the provider has data for the entity.
- referringDomainsinteger
3210
Distinct linking domains.
- referringDomainsNofollowinteger
812
Linking domains whose every link is nofollow.
- referringIpsinteger
2601
Distinct IP addresses of linking pages.
- referringMainDomainsinteger
2988
Distinct linking registrable domains.
- referringMainDomainsNofollowinteger
611
Linking registrable domains whose every link is nofollow.
- referringPagesinteger
9812
Distinct linking pages.
- referringPagesNofollowinteger
2104
Linking pages whose links are all nofollow.
- referringSubnetsinteger
1904
Distinct subnets of linking pages.
- serverstring
cloudflare
Web server or CDN serving the page.
- sizeinteger
214088
Page size in bytes.
- socialTagsobject
Open Graph and Twitter card tags, by tag name.
- spamScoreinteger
2
Average spam score of those backlinks on a 0-100 scale.
- statusCodeinteger
200
HTTP status of the page on the last crawl.
- technologiesobject
Technologies detected on the page, by category.
- titlestring
Notion Template Gallery
Page title.
- tldstring
so
Top-level domain of the page.
- urlstring
https://notion.so/templates
Page URL. Populated whenever the provider has data for the entity.
- wordsCountinteger
2104
Words on the page.
- totalCountinteger
88213
Total pages, before the limit. Populated whenever the provider has data for the entity.
- 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.domain_pages,就以统一格式的 JSON 返回 SEO 数据。通过 AnyAPI SEO 获取某个域名的页面,附带其反向链接概况(排名、反向链接数、引用域名数)和页面数据(标题、标题层级、字数、状态、技术),以标准化 JSON 返回。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千条结果 US$0.08,单次请求最多 US$0.0768,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 SEO 域名页面 API 调用中有 100.0% 成功,响应时间中位数为 4.5 秒,共测量 12 次调用。