# Find the keywords a domain ranks for: agent skill

Domain keywords API for an agent: it sends a domain or a page URL to a catalog endpoint and reads organic keywords, paid keywords and ranking position back. Several providers sell the call, so the agent tries the cheapest first. You pay per call, and a failed call costs nothing.

## When it starts

- what keywords does example.com rank for
- show me the organic keywords of this competitor
- which queries bring traffic to this site

## What it asks for

- A domain or a page URL
- The country, when the user cares about one market

## How it runs

- looot discover finds the endpoint
- looot inspect shows the price and the input schema
- looot run executes it, billed per call
- Endpoints in order: adyntel-domain-keywords, dataforseo-dataforseo-labs-google-ranked-keywords-live-ai, dataforseo-dataforseo-labs-google-keywords-for-site-live

## What comes back

- Organic keywords
- Paid keywords
- Ranking position
- Monthly searches
- Cost per click

## Answer rule

Show keyword, position, monthly searches and CPC for the top rows, and say how many keywords exist in total.

## Install

Save the skill file as /agent-skills/domain-keywords/SKILL.md, or tell your agent: set up looot, then use /agent-skills/domain-keywords/SKILL.md.

## Difficulty

easy

## How do I see which keywords a domain ranks for?

Send the domain to a ranked-keywords endpoint. The answer lists the phrases the site appears for, with the position and the monthly searches. Sort by traffic to find the pages that matter.

## Can I see the keywords a competitor pays for?

Yes. One of the providers here returns both the organic keywords and the paid ones in the same call, for Google.

## Can I check a single page instead of a domain?

Yes, with the ranked-keywords endpoint. Send the page URL as the target and the answer covers that page only.

## How current is the data?

Rankings change as search results change, and each provider refreshes its index on its own schedule. The endpoint page states what it returns. For a decision, run the check once and keep the date with the result.

## How much does one domain cost?

You pay per call, and the price depends on the provider your agent picks. This page reads the cheapest live price from the catalog and shows no number when the catalog is unreachable.

## Do I pay when a domain keywords call fails?

No. A call that fails at the provider costs nothing, and your agent can retry it or send it to another provider.
