All tools
AhrefsA

by Ahrefs

Get a site's organic keywords

Returns the keywords a domain or URL ranks for organically, with position, search volume and traffic for each.

Updated Sep 29, 2026

View on GitHub

get-organic-keywords.md

Get a site's organic keywords

Returns the keywords a domain or URL ranks for organically, with position, search volume and traffic for each.

Note: target, date and select are required; mode narrows the match to an exact URL, a prefix, the domain or its subdomains.

Set up

Use the first option your agent supports.

API (official)

Note: Only workspace owners and admins can create keys, in Account settings, API keys.

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
  • Never print API keys.

Ways in

RouteSourceCallRequiredDocs
APIOfficialGET /site-explorer/organic-keywordsAPI key in $AHREFS_API_KEYDocs

Workflows using Get a site's organic keywords