A Complete Guide to Utility-First CSS
css-tricks.com
The most popular utility-first framework today is Tailwind CSS , which ships a design system as class names.
https://tailwindcss.com/docs/installation
{"urlFrom": "https://css-tricks.com/a-complete-guide-to-utility-first-css/","urlTo": "https://tailwindcss.com/docs/installation","anchor": "Tailwind CSS","domainRating": 91,"title": "A Complete Guide to Utility-First CSS","contextBefore": "The most popular utility-first framework today is","contextAfter": ", which ships a design system as class names."}
价格
Ahrefs 反向链接 API 价格
试一试
一个请求获取 Ahrefs 反向链接
这个示例展示了 11 个字段中的 10 个。查看全部字段
{
"found": true,
"data": {
"items": [
{
"urlFrom": "https://css-tricks.com/a-complete-guide-to-utility-first-css/",
"urlTo": "https://tailwindcss.com/docs/installation",
"anchor": "Tailwind CSS",
"domainRating": 91,
"title": "A Complete Guide to Utility-First CSS",
"contextBefore": "The most popular utility-first framework today is",
"contextAfter": ", which ships a design system as class names."
},
{
"urlFrom": "https://www.smashingmagazine.com/2024/03/building-design-systems-utility-classes/",
"urlTo": "https://tailwindcss.com",
"anchor": "Tailwind",
"domainRating": 88,
"title": "Building Design Systems With Utility Classes",
"contextBefore": "Teams that outgrow bespoke CSS often migrate to",
"contextAfter": ", trading semantic class names for composability."
},
{
"urlFrom": "https://dev.to/marcuslindqvist/why-i-switched-to-tailwind-in-2024-3k2p",
"urlTo": "https://tailwindcss.com/docs/utility-first",
"anchor": "utility-first workflow",
"domainRating": 79,
"title": "Why I Switched to Tailwind in 2024",
"contextBefore": "Once I understood the",
"contextAfter": ", I stopped writing custom stylesheets almost entirely."
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- urlstring
tailwindcss.com
要查找反向链接的域名或页面 URL(例如 "ahrefs.com")。
- modeenum
subdomains
匹配范围:"exact" 仅匹配给定的 URL,"subdomains" 包含该域名及其子域名。
响应
JSON,每个字段一个示例值。
Referring pages that link to the domain or URL. Populated whenever the provider has data for the entity.
- anchorstring
Tailwind CSS
Anchor text of the link.
- contextAfterstring
, which ships a design system as class names.
Text immediately after the anchor on the referring page.
- contextBeforestring
The most popular utility-first framework today is
Text immediately before the anchor on the referring page.
- domainRatingnumber
91
Ahrefs Domain Rating (0-100) of the linking domain.
- titlestring
A Complete Guide to Utility-First CSS
Title of the referring page.
- urlFromstring
https://css-tricks.com/a-complete-guide-to-utility-first-css/
URL of the referring page that contains the link. Populated whenever the provider has data for the entity.
- urlTostring
https://tailwindcss.com/docs/installation
Target URL the link points to.
- 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.
常见问题
关于 Ahrefs 反向链接 API
AnyAPI 的 Ahrefs 反向链接 API 只需一次 POST 请求 /v1/run/ahrefs.backlinks,就以统一格式的 JSON 返回 Ahrefs 数据。获取链接到某个域名或 URL 的引用页面,每条包含来源页面、锚文本、链接方域名评分和页面标题。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千次请求 US$5.01 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Ahrefs 反向链接 API 调用中有 99.5% 成功,响应时间中位数为 9.7 秒,共测量 187 次调用。