Ahrefs Web Data Scraper (via ScrapeForAgents) is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).
Fetches structured Ahrefs public data including top website rankings, domain authority, traffic overviews, and website details for given domains or categories.
Pay-per-call structured web data. Failed or empty runs are not charged.
Returns a JSON array of ranked or queried website records, each containing rank, website URL, category, rank change, detail URL, search type, and ranking mode. When includeDetails is true, also includes Domain Rating, traffic value, keywords, top countries, and competitor data per domain. The count of returned items and the data product label (ahrefs) are included at the top level.
POSThttps://api.scrapeforagents.tech/v1/ahrefs?utm_source=zero.xyzChoose this endpoint when you need structured Ahrefs public data — website rankings, domain authority scores, traffic overviews, or competitive intelligence — without managing browser automation or scraping infrastructure yourself. Prefer it over raw scraping tools when you want clean, schema-validated JSON output from Ahrefs' public pages on a pay-per-successful-call basis.
| Field | Type | Description |
|---|---|---|
| country | string | Country page slug for rankings, such as united-states or united-kingdom. Use worldwide for all countries. |
| domains | array | Domains or URLs to look up for website details, authority, or traffic. Each domain needs a public detail page. |
| category | string | Category page slug for rankings, such as shopping, news, or finance. Use all for every category. |
| maxItems | integer | Hard cap on dataset items. Rankings have at most 1,000 public results; trending has at most 20 per filter. Zero means no extra cap. |
| searchType | string | Choose ranked websites or a public domain summary. The domain modes share one public source but label the result for its use case. |
| rankingMode | string | For top websites: the main traffic ranking or the twenty trending sites on the first page. |
| includeDetails | boolean | Fetch each ranked website's public detail page to add Domain Rating, traffic value, keywords, countries, and competitors. One extra page request per website. |
{
"type": "json",
"example": {
"count": 1,
"items": [
{
"rank": null,
"website": null,
"category": null,
"detailUrl": null,
"rankChange": null,
"searchType": null,
"websiteUrl": null,
"rankingMode": null
}
],
"product": "ahrefs"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"