
Ahrefs Keyword Rank Checker
Pricing
Pay per event
Go to Store

Ahrefs Keyword Rank Checker
Check keyword rankings for any domain using Ahrefs API with comprehensive SERP analysis and position tracking.
5.0 (1)
Pricing
Pay per event
1
Total users
1
Monthly users
1
Last modified
21 hours ago
This actor allows you to check keyword ranking data for any domain using the Ahrefs API. It provides comprehensive SERP analysis including search results, positions, and ranking information.
Features
- Keyword ranking analysis for any domain
- SERP (Search Engine Results Page) data
- Position tracking for specific keywords
- Geographic-specific search results
- Real-time data collection
- Rate limiting protection
Input Parameters
keyword
(required): The keyword to check ranking fordomain
(required): The domain to check keyword ranking forcountry
(optional): The country for SERP results (defaults to 'us')
Output Data
The actor outputs comprehensive keyword ranking data, including:
keyword
: The checked keyworddomain
: The domain being analyzedcountry
: The country used for SERP resultsserp
: Search Engine Results Page dataresults
: Array of search resultscontent
: Content of the search resultpos
: Position in search results
source
: Source of the SERP data
lastUpdate
: When the data was last updated by AhrefsscrapedAt
: When the data was collected
Usage Example
{"keyword": "web scraping","domain": "apify.com","country": "us"}
Output Example
{"keyword": "scrape","domain": "apify.com","country": "us","serp": {"results": [{"content": ["knowledge_card","None"],"pos": 1},{"content": ["questions",[["Some",{"title": "What is a scrape in slang?","link": "None"}],["Some",{"title": "What is a scrape animal?","link": "None"}],["Some",{"title": "What is a scrape on a wound?","link": "None"}],["Some",{"title": "What does scrape by mean?","link": "None"}]]],"pos": 2},{"content": ["organic",{"link": ["Some",{"title": "SCRAPE Definition & Meaning","url": ["Url",{"url": "https://www.merriam-webster.com/dictionary/scrape","input": {"mode": "exact","protocol": "https","protocollessUrl": "www.merriam-webster.com/dictionary/scrape","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "zhg4/qX/Dkr1teRxrB1/yj3TuIPIZwAdZiyjRzvfB+s="}}}],"attribute": null,"isTarget": null,"metrics": {"rank": 730,"domainRating": 91,"urlRating": 18,"refpages": 537,"domains": 89,"traffic": 197,"cost": 22653,"keywords": 85,"topKeyword": "scrapes","topVolume": 3400,"nrWords": 1288,"httpCode": 200}}],"siteLinks": []}],"pos": 3,"posWithMetrics": 1},{"content": ["top_stories",[["Some",{"title": "Glass scrape studies. \n#glassart #fluidart #satisfyingart #satisfyingvideo #abstractpainting #arttechniques #scrapeart #artideas #paintingtechniques","url": {"url": "https://www.instagram.com/reel/DLDYmM6OXNT/","input": {"mode": "exact","protocol": "https","protocollessUrl": "www.instagram.com/reel/DLDYmM6OXNT/","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "a02ondygIbk0Y0nkkiVn5C5IhgY9rmQQltPYq7uQbu8="}}},"attribute": "Video","isTarget": null}],["Some",{"title": "How to Scrape Data From Any Website Using Deepseek","url": {"url": "https://www.youtube.com/watch?v=s8ECuA_c1SU","input": {"mode": "exact","protocol": "https","protocollessUrl": "www.youtube.com/watch?v=s8ECuA_c1SU","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "TSNtzt8GuKhsmxY1D+CsnCGf6ViRAj6wnG5ccIj//6U="}}},"attribute": "Thumbnail","isTarget": null}],["Some",{"title": "Need to scrape ~3 million items from a website — what's the best approach for large-scale scraping?","url": {"url": "https://www.reddit.com/r/Python/comments/1kr1dfo/need_to_scrape_3_million_items_from_a_website/","input": {"mode": "exact","protocol": "https","protocollessUrl": "www.reddit.com/r/Python/comments/1kr1dfo/need_to_scrape_3_million_items_from_a_website/","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "sMlrwT2gKLk7AIEfpzGV0Yfez7T1QhQYL4i4LfHq9Es="}}},"attribute": null,"isTarget": null}]]],"pos": 4},{"content": ["organic",{"link": ["Some",{"title": "SCRAPE | definition in the Cambridge English Dictionary","url": ["Url",{"url": "https://dictionary.cambridge.org/us/dictionary/english/scrape","input": {"mode": "exact","protocol": "https","protocollessUrl": "dictionary.cambridge.org/us/dictionary/english/scrape","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "Vp+BX3T3dL/lRXWVVxv8zNF+Kfs2k1vljH9yhlUbtNE="}}}],"attribute": null,"isTarget": null,"metrics": {"rank": 538,"domainRating": 92,"urlRating": 0,"refpages": 6,"domains": 5,"traffic": 53,"cost": 3897,"keywords": 38,"topKeyword": "scrapes","topVolume": 3400,"nrWords": null,"httpCode": null}}],"siteLinks": []}],"pos": 5,"posWithMetrics": 2},{"content": ["organic",{"link": ["Some",{"title": "Scrape: MedlinePlus Medical Encyclopedia","url": ["Url",{"url": "https://medlineplus.gov/ency/article/007212.htm","input": {"mode": "exact","protocol": "https","protocollessUrl": "medlineplus.gov/ency/article/007212.htm","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "WaAkXE0ZBIN1y7PR13fK8wyYk1A2X6HWWYZDtXrbxXw="}}}],"attribute": null,"isTarget": null,"metrics": {"rank": 863,"domainRating": 91,"urlRating": 5,"refpages": 36,"domains": 12,"traffic": 113,"cost": 16417,"keywords": 40,"topKeyword": "scrapes","topVolume": 3400,"nrWords": 686,"httpCode": 200}}],"siteLinks": []}],"pos": 6,"posWithMetrics": 3},{"content": ["organic",{"link": ["Some",{"title": "Scrape - Webster's Dictionary 1828","url": ["Url",{"url": "https://webstersdictionary1828.com/Dictionary/scrape","input": {"mode": "exact","protocol": "https","protocollessUrl": "webstersdictionary1828.com/Dictionary/scrape","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "/ItNpQdH2vpb6iz5+W4S/303z+JbKuYkkz/Gpc6ggYo="}}}],"attribute": null,"isTarget": null,"metrics": null}],"siteLinks": []}],"pos": 7,"posWithMetrics": 4},{"content": ["organic",{"link": ["Some",{"title": "SCRAPE Synonyms: 64 Similar and Opposite Words","url": ["Url",{"url": "https://www.merriam-webster.com/thesaurus/scrape","input": {"mode": "exact","protocol": "https","protocollessUrl": "www.merriam-webster.com/thesaurus/scrape","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "fMq26CN+A++rTc1HanA8iOfKQNY1ZU/gJ5HRhCZia/o="}}}],"attribute": null,"isTarget": null,"metrics": null}],"siteLinks": []}],"pos": 8,"posWithMetrics": 5},{"content": ["organic",{"link": ["Some",{"title": "Scrape","url": ["Url",{"url": "https://en.wikipedia.org/wiki/Scrape","input": {"mode": "exact","protocol": "https","protocollessUrl": "en.wikipedia.org/wiki/Scrape","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "deDkm+ywXv55sn+K0GnveltNd0FVy//AQuExAU5CdoQ="}}}],"attribute": null,"isTarget": null,"metrics": null}],"siteLinks": []}],"pos": 9,"posWithMetrics": 6},{"content": ["organic",{"link": ["Some",{"title": "scrape","url": ["Url",{"url": "https://en.wiktionary.org/wiki/scrape","input": {"mode": "exact","protocol": "https","protocollessUrl": "en.wiktionary.org/wiki/scrape","signatureInfo": {"notAfter": "2025-06-25T08:43:01Z","signature": "pUTafwXss1ucVRYeMW6H0NpILypoINDW6TjXUkXyZpI="}}}],"attribute": null,"isTarget": null,"metrics": null}],"siteLinks": []}],"pos": 10,"posWithMetrics": 7}],"source": "Serps"},"lastUpdate": "2025-06-20T06:53:09Z","scrapedAt": "2025-06-23T08:43:02.023Z"}
Ranking Analysis
Position Interpretation
- 1-3: Top ranking positions (high visibility)
- 4-10: First page results (good visibility)
- 11-20: Second page results (moderate visibility)
- 21+: Lower ranking positions (limited visibility)
SERP Analysis
The SERP data provides insights into:
- Current ranking positions
- Competitor analysis
- Content optimization opportunities
- Search result diversity
Use Cases
- SEO Performance Tracking: Monitor keyword rankings over time
- Competitive Analysis: Compare your rankings with competitors
- Content Strategy: Identify ranking opportunities
- Market Research: Understand search landscape for specific keywords
- ROI Analysis: Track the impact of SEO efforts
Geographic Targeting
The country parameter allows you to:
- Check rankings in specific markets
- Understand local search behavior
- Optimize for regional audiences
- Compare performance across different countries