# AnyAPI Ahrefs Keyword Ideas

> AnyAPI Ahrefs Keyword Ideas 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 keyword ideas and suggestions for a given seed keyword using Ahrefs data, via the AnyAPI pay-per-request gateway.

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/ahrefs.keyword_ideas
- 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-keyword-ideas-bd353112
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z4beTJ5X2W7wEEpIA-hVi

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-keyword-ideas-bd353112 -d '<json body>'
```

Example prompt: Pull Ahrefs keyword ideas for the seed keyword 'project management software' targeting the US market, so I can find good long-tail terms with their search volumes and difficulty scores.

## When to prefer this

Choose this endpoint when you need Ahrefs-quality keyword idea data (volume, difficulty, CPC) on a pay-per-request basis without committing to an Ahrefs subscription. Ideal for agents that run occasional keyword research tasks or need to integrate Ahrefs keyword data into workflows without managing separate API credentials. Prefer over direct Ahrefs API when you want unified billing via a single crypto wallet.

## Known failure modes

- Invalid or missing seed keyword returns an error or empty results
- Unsupported country or language code causes a validation error
- Rate limiting or upstream Ahrefs API unavailability returns a 5xx error
- Seed keyword too broad may return truncated results
- Insufficient USDC balance causes payment failure before the request is processed

## 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 array of keyword idea objects, each containing the keyword text, estimated monthly search volume, keyword difficulty score, cost-per-click, clicks data, and other Ahrefs SEO metrics for each suggested keyword related to the seed term.

## Response schema (JSON Schema)

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

## More

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