# AnyAPI Ahrefs Backlinks Lookup

> AnyAPI Ahrefs Backlinks Lookup is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.0195/call, status unknown (last checked 2026-09-14).

Fetches backlink data for a given domain or URL using the Ahrefs dataset via a pay-per-request proxy.

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/ahrefs.backlinks
- Price: $0.0195/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-ahrefs-backlinks-lookup-44c633f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9FOg1ZX_BrIc21S1gyqc2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-ahrefs-backlinks-lookup-44c633f9 -d '<json body>'
```

Example prompt: Pull the backlinks for example.com using Ahrefs data — I want to see the referring domains, anchor text, and link types without having to pay for a full Ahrefs subscription.

## When to prefer this

Choose this endpoint when you need Ahrefs-quality backlink data on a pay-per-request basis without committing to an Ahrefs subscription. Ideal for agents that only occasionally need backlink lookups, or for cost-sensitive pipelines that run sporadic SEO audits. If you need bulk or continuous backlink monitoring at scale, a direct Ahrefs subscription may be more cost-effective.

## Known failure modes

- Invalid or malformed target URL returns an error response
- Ahrefs data unavailable for very new or obscure domains resulting in empty results
- Insufficient USDC balance causes payment failure and blocked request
- Rate limiting or upstream Ahrefs API downtime returns a 5xx error
- Missing required parameters in POST body returns a 400 validation error

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a JSON object containing backlink records for the queried domain or URL, including referring domains, source URLs, anchor text, link type (dofollow/nofollow), and associated domain/URL rating metrics sourced from Ahrefs data.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-ahrefs-backlinks-lookup-44c633f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
