# Read a Google results page: agent skill

Google SERP API for an agent: it sends a keyword, a country and a language to a catalog endpoint and reads organic results, titles and links 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 ranks on Google for best crm for startups
- show me the top 10 results for this keyword
- who is in the local pack for plumber in Austin

## What it asks for

- The keyword
- The country and language

## 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: anyapi-run-google-search, scrapecreators-google-search, dataforseo-google-organic-advanced, cloro-monitor-google

## What comes back

- Organic results
- Titles, links and snippets
- Position
- People Also Ask
- Local pack and ads

## Answer rule

List position, title, domain and snippet for each result. Note ads, People Also Ask and the local pack when they appear.

## Install

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

## Difficulty

easy

## How do I get Google search results through an API?

Send the keyword with a country and a language to a SERP endpoint. The answer is a list of results with position, title, link and snippet. Your agent reads it as JSON.

## Can I get People Also Ask and the local pack?

Yes, with the endpoints that parse those blocks. The notes above say which. The cheaper endpoints return organic results only.

## How many results does one call return?

About ten organic results per page. Ask for page 2, 3 and on to go deeper. One provider here supports pages 1 through 11.

## Can I check results for another country?

Yes. Set the country and language in the call. A local result differs from a global one, so your agent should always state the market it checked.

## Can I use this for rank tracking?

You can run it by hand whenever you want a fresh check. Running it on a timer needs scheduled runs, not available yet.

## How much does one search 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.
