Skip to main content
Every ahrefs.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Keywords Explorer

overview

keywordsExplorer.overview Get keyword metrics such as volume, difficulty, CPC, clicks, and traffic potential Risk: read
Input Output

Rank Tracker

overview

rankTracker.overview Get Rank Tracker keyword overview data for a project and device Risk: read
Input Output

Serp

overview

serp.overview Get SERP positions for a keyword and country, including ranking page metrics Risk: read
Input Output

Site Explorer

backlinksStats

siteExplorer.backlinksStats Get live and all-time backlink and referring-domain counts for a target Risk: read
Input Output

getDomainRating

siteExplorer.getDomainRating Get Ahrefs Domain Rating and Ahrefs Rank for a target Risk: read
Input Output

organicKeywords

siteExplorer.organicKeywords List organic keywords a target ranks for, including positions and traffic metrics Risk: read
Input Output

refdomains

siteExplorer.refdomains List referring domains linking to a target Risk: read
Input Output

topPages

siteExplorer.topPages List top organic pages for a target with traffic, keyword, and link metrics Risk: read
Input Output

Subscription Info

limitsAndUsage

subscriptionInfo.limitsAndUsage Get Ahrefs subscription limits and API unit usage Risk: read
Input Output