# 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, serper-search, serpapi-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 by default. Two providers here take a results-per-page setting up to 100. One provider 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?

For one domain's position on a keyword, the rank tracking API page reads up to 100 results in one call. You run each check by hand; running it on a timer needs scheduled runs, not available yet.

## Is the Google Custom Search JSON API being discontinued?

Yes. Google closed it to new customers, and existing customers have until January 1, 2027 to move to another solution, according to Google's own overview page read on 2026-11-05. Google points site search at Vertex AI Search, which covers up to 50 domains. For Google's results from the whole web, the alternative is a SERP endpoint like the ones on this page, priced per call.
