{"uid":"cap_GOFvU9kbg9PMHxf_DxRiO","slug":"anyapi-ahrefs-keywords-lookup-7bca11a7","name":"AnyAPI Ahrefs Keywords Lookup","description":"1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.","url":"https://api.getanyapi.com/v1/run/ahrefs.keywords","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0195","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0195/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0195","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0195","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_L4WWWEV2rVCZCB3uJ0mof","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0195","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves Ahrefs keyword data (search volume, difficulty, CPC, and related metrics) for a given keyword via a pay-per-request proxy.","exampleAgentPrompt":"Pull the Ahrefs keyword metrics for 'best running shoes' in the US — I need search volume, keyword difficulty, and CPC.","exampleUseCases":[{"title":"SEO content gap analysis","prompt":"Look up the Ahrefs keyword metrics for 'project management software' targeting the US market — I need search volume, difficulty score, and CPC so I can decide if it's worth writing content around."},{"title":"PPC bid research for ad campaign","prompt":"What's the average CPC and monthly search volume for 'buy noise cancelling headphones' according to Ahrefs? I'm planning a Google Ads campaign and need to estimate budget."},{"title":"Competitor keyword difficulty check","prompt":"Check how hard it is to rank for 'learn python online' on Ahrefs — give me the keyword difficulty score and monthly searches so I can benchmark against our current content."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:00.212Z","isFirstParty":false}