# AnyAPI Ahrefs Keywords Lookup

> AnyAPI Ahrefs Keywords 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-13).

Retrieves Ahrefs keyword data (search volume, difficulty, CPC, and related metrics) for a given keyword via a pay-per-request proxy.

## Facts

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

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-keywords-lookup-7bca11a7 -d '<json body>'
```

Example prompt: Pull the Ahrefs keyword metrics for 'best running shoes' in the US — I need search volume, keyword difficulty, and CPC.

## When to prefer this

Choose this endpoint when you need Ahrefs-specific keyword metrics (especially keyword difficulty scores and click data that are proprietary to Ahrefs) without paying for a full Ahrefs subscription. Ideal for one-off or low-frequency keyword lookups where a monthly subscription would be wasteful. Prefer over generic SEO APIs when Ahrefs data quality and methodology are specifically required by your workflow.

## Known failure modes

- Invalid or unsupported keyword returns empty results or error
- Unsupported country/language code returns 400 or empty data
- Rate limit exceeded returns 429 error
- Payment failure (insufficient USDC balance) blocks the request
- Ahrefs upstream outage causes 502/503 response
- Keyword with no data history returns zeroed-out metrics

## 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 Ahrefs keyword metrics including monthly search volume, keyword difficulty score (0-100), cost-per-click (CPC), number of clicks, click-through rates, return rate, global volume, parent topic, and SERP features for the queried keyword.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-ahrefs-keywords-lookup-7bca11a7/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)
