2,881,965 served today 41 platforms
Google results, as JSON.
The whole page, not ten links.
A Google SERP API for developers and AI agents. Read a Google results page for any query as structured JSON: organic results with position, title, URL, site name, snippet and sitelinks, plus the People Also Ask questions, related searches, top stories, local businesses and the knowledge panel, for any country, city or device. Search suggestions and rank checks for any domain or page come on the same key.
Trusted by developers shipping real products.
Request
$ curl -X POST \ https://api.fetchlayer.dev/google-search/search \ -H "Authorization: Bearer ss-your-key" \ -H "Content-Type: application/json" \ -d '{"query":"open source crm","limit":10}'
Response
{
"organicResults": [{
"position": 1,
"title": "Twenty | #1 Open Source CRM",
"url": "https://twenty.com/",
"source": "Twenty"
}, {
"position": 3,
"title": "SuiteCRM - Open source CRM for the world",
"domain": "github.com"
}],
"peopleAlsoAsk": [
"What is the best open source CRM?",
"Is there a free CRM I can use?"
],
"relatedSearches": ["Open source crm github", …],
"localResults": [], "knowledgePanel": null,
"pagesScraped": 1
} Built for feedback workflows
Fetch the public signal. Use it wherever your team works.
The whole results page
Organic results with position, title, destination URL, the address line Google prints, site name, snippet, date and sitelinks, with the answer box and the knowledge panel beside them. A feature Google did not show comes back empty, never guessed.
People Also Ask and related searches
The questions searchers ask and the searches Google suggests next arrive on every search, ready for a content brief or an FAQ. People Also Ask comes back as the questions only.
Local results for any city
Set location to a city and read the businesses Google lists for it, with rating, review count, price level, category and a review excerpt, next to the organic results for the same place.
Any country, language or device
Requests default to a US, English, mobile searcher. Pass a two-letter country and a language such as de or pt-BR to see the page someone there sees on mobile, with time-range and safe search filters.
Rank checks at a flat price
Find where a domain or page ranks, up to 100 positions deep, for 1 credit either way, with every match and where else it shows up: sitelinks, ads, top stories, videos, discussions or the knowledge panel.
Autocomplete for keyword research
The suggestions Google’s search box offers for a partial query, in order, for any country and language. One request a call.
Four MCP tools
Every route is a tool on the FetchLayer MCP server, so an agent can read a results page, check a ranking or expand a keyword mid-conversation, billed exactly like REST.
Top stories, videos and discussions
The rows Google stacks around the ten blue links come back with them: the news it is surfacing, the videos it chose, and the forum threads it is sending searchers to — which is often where your customers are already talking.
Map what Google shows for your keywords—then export it to CSV.
Prefer not to write code? Paste your keywords into FetchLayer Research Chat, ask who owns the first page and what searchers ask, and get a clean table for your content plan.
- ✓Ask questions in plain English
- ✓Analyze themes, sentiment, and pain points
- ✓Download the structured results as CSV or JSON
No code or setup required · Uses your FetchLayer credits
Search Google in the US for these 10 keywords, list the top 5 domains, the People Also Ask questions and the related searches for each, then export it as CSV.
I read the first results page for each keyword, one credit each. The table lists the top five domains, every People Also Ask question and the related searches per keyword, with the domains that rank for several keywords marked. It is ready to download.
google-serp-research.csv
10 keywords · 4 columns · ready to download
Solutions
Build the workflow around the feedback.
See who pays for the keyword
Pull the Search ads a competitor runs on Google, next to the pages that rank organically for the same query.
Explore →Read the reviews behind local results
Take a business from Google’s local results and read its Google Maps reviews in full.
Explore →Compare with DuckDuckGo
Run the same query on DuckDuckGo to see where the two rankings agree and where they split.
Explore →From raw feedback to action
One request is the start of the workflow.
Store the structured response, run it on a schedule, pass it to an LLM, or feed it into the system your team already uses. FetchLayer handles retrieval so you can focus on the outcome.
- 01
Pick the queries
Start from the terms you care about, and widen the list with /autocomplete and the related searches Google returns with every results page.
- 02
Read the results page
Pull /search for each query in the country and city you sell in: who ranks, what the snippets promise, what People Also Ask, and which businesses show up locally.
- 03
Track what moves
Run /rank-check for your domain at 1 credit a check and store the position and URL, or hand the results to an agent to draft the brief for the pages you are missing.
One command.
Your agent does the rest.
Use the Google Search endpoint directly from your MCP-compatible agent. Ask it to retrieve public feedback, identify patterns, and turn the result into a useful brief without writing integration glue.
1 Run one command, then sign in
$ npx fetchlayer
◇ Agents
│ Claude Code and Codex
◇ Signed in as you@company.com
◇ Connected
│ ✓ Claude Code ✓ Codex
It opens a sign-in page in your browser. New here? Signing in creates your free account.
2 Ask
›Who owns the first Google page for open source crm, and what do people ask about it?
fetchlayer.google_search
Read one results page for one credit. Twenty ranks first, EspoCRM second and SuiteCRM’s GitHub repository third, with a Reddit thread from r/CRM fourth. People Also Ask: “What is the best open source CRM?” and “Is there a free CRM I can use?”.
No key to copy and nothing to install. New accounts are free, with no credit card.
Use cases
What teams build with Google search data.
Same API, endless applications. Here is what teams ship with public Google results pages.
SERP and competitor audits
Pull the first results page for your money keywords with titles, snippets, sitelinks and site names, and see who outranks you and with what page.
Content briefs from People Also Ask
Collect the People Also Ask questions and related searches for a topic, and write the page that answers them.
Local search visibility
Read the local businesses Google lists for a query in a given city, with rating, review count and price level, next to the organic results.
SEO rank tracking
Check where your domain or one page ranks, up to 100 positions deep, for 1 credit a check, in the country and city your customers search from.
AI agent web search
Give Claude, Cursor, or your MCP agent live Google results, top stories and the knowledge panel without a search API contract.
Keyword research
Expand a seed term with the suggestions Google’s search box offers, then read the results page for the ones worth targeting.
Compare approaches
Spend time on the insight, not the collection layer.
| What you need | FetchLayer | Official API | Build it yourself |
|---|---|---|---|
| Google results page as JSON | ✓ | Custom Search, closed to new customers | You parse the HTML |
| People Also Ask, local results, knowledge panel | ✓ | Not offered | You parse each block |
| Rank check 100 positions deep | 1 credit | n/a | 10+ page loads, your retries |
| Results for a city or on mobile | ✓ | Not offered | Your proxies and devices |
| Ready for AI and MCP workflows | ✓ | Your integration | Your integration |
FetchLayer provides access to publicly available data. It is not affiliated with, endorsed by, or sponsored by the platform.
Start free. Scale when ready.
Try it free, buy credits as you go, or take a monthly plan when your volume is steady.
Free
30 requests- Every platform and endpoint
- REST and MCP
- No credit card
You pay
$0
- 30 req × $0
- $0
- credit card
- none
Pay as you go
never expire- No monthly commitment
- Same access as subscribers
- ∞ req/min, ∞ API keys
You pay
$1.99per 1,000
- 1,000 req × $1.99/1k
- $1.99
- monthly fee
- $0
- expires
- never
Monthly plan
Starter15,000
- ∞ req/min, ∞ API keys
You pay
$25per month
- 15,000 req × $1.67/1k
- $25/mo
- on credits × $1.99/1k
- $29.85
- you save
- $4.85/mo
- One page fetched costs one credit.
- A request that returns no usable data costs 0 credits.
Not sure which volume fits?
15 minutes with the founder. Tell us the workload, we tell you what it needs.
Guaranteed throughput on the platform you run on
A dedicated platform from $400/mo, plus $500 for each ~21 req/s. Every other platform on the same key. 99.95% uptime, 24-hour support on Slack or Telegram.
API reference
Every parameter, documented.
All requests are POST with a JSON body and Bearer auth header.
POST /google-search/search 6 params
A Google results page as JSON: organic results with position, title, URL, site name, snippet and sitelinks, plus the answer box, People also ask, related searches, top stories, videos, discussions, local results, the knowledge panel and ads. Read up to 10 pages in one request, or continue with a cursor.
query* string country / language string location string device string pages number timeRange / safeSearch string POST /google-search/rank-check 5 params
Where a domain or URL ranks in Google’s organic results for a query: found, best position and page, every match, and other appearances in sitelinks, ads, top stories, videos, discussions or the knowledge panel. Up to 100 positions for 1 credit.
query* string target* string depth number match string country / location / device string POST /google-search/autocomplete 2 params
The suggestions Google’s search box offers for a partial query, in order, for a country and language. One request per call, for keyword research.
query* string country / language string POST /google-search/resolve-url 1 param
Turn a Google search URL into its query, country, language, page, safe search, time range and results tab, or a Google redirect link into its destination. Never contacts Google, and never consumes a credit.
url* string All 4 endpoints, each with its own reference page
Fields marked * are required. Full API reference →
FAQ
Common questions.
Is this a Google SERP API?
Yes. It is a SERP API for Google: send a query and get the search engine results page back as structured JSON — the organic results with position, title, URL, site name, snippet and sitelinks, and the People Also Ask questions, related searches, top stories, videos, discussions, local results, knowledge panel and ads Google showed with them, for the country, language, city and device you choose. It bills one credit per results page returned, and a rank check is one credit at any depth. Google itself does not offer an API that returns its results pages: its Custom Search JSON API searches a Programmable Search Engine you configure rather than google.com, returns none of those SERP features, is closed to new customers, and Google has announced it will be discontinued on January 1, 2027.
Do I need a Google account, a Cloud project or an API agreement?
No. You do not need a Google account, a Google Cloud project, a Programmable Search Engine or an API key from Google. You send your FetchLayer key and a query, and you get back the results page Google shows a visitor in the country, language and city you choose, as JSON. FetchLayer is not affiliated with, endorsed by, or sponsored by Google.
What comes back from one search?
The organic results in rank order, each with position, title, destination URL, domain, the address line Google prints, site name, snippet, date, extensions such as a comment count, and sitelinks. Alongside them, whatever Google showed for that query: the answer box, the People also ask questions, related searches, top stories, videos and short videos, discussions, local business results with rating, review count and price level, the knowledge panel, and ads. A feature Google did not show comes back empty or null, and a query with no results is a 200 with noResults: true.
Can I get results for a specific country, city or phone?
Yes. country takes a two-letter code (US by default), language takes en, de, pt-BR and so on, location takes a city as "City,Region,Country" such as "Austin,Texas,United States", and device takes mobile, the default and for now the only supported layout (desktop answers 400, "Desktop results are temporarily unavailable; use mobile, the default."); local business results are empty on mobile results. Local results and rankings follow the location. Rankings also move over time, so read one search as a snapshot, not a fixed order.
How many results does a page hold, and how deep can I go?
Google shows between 6 and 10 organic results a page and ignores a requested count, so limit only trims what the pages held. One request reads one page by default; pages reads up to 10 in one request, page starts from any page up to 15, and nextCursor continues where the last response stopped. Each page returned is one request, and pagesScraped in the response says how many were returned.
How do rank checks work, and what do they cost?
Send a query and a domain or URL to /rank-check. It examines up to 100 organic results and returns whether the target was found, its best position, the page it is on, the matching URL and every match. It also lists where the target shows up outside the organic ranking on the pages it checked: sitelinks, ads, top stories, videos, discussions, the knowledge panel or the answer box. A rank check costs one credit regardless of depth; serpPagesFetched reports the pages checked and is never billed. A deep rank check reads several results pages, so it can take longer (typically 5-15 s; up to ~45 s at depth 100): give your HTTP client a generous timeout. Google varies results beyond the first page from one read to the next, so a site’s position past page 1 can move between checks.
How does a rank check match my site?
A bare domain such as example.com matches any page on the site, and its subdomains unless you set includeSubdomains to false; matching is on whole hostnames, so notexample.com never counts. A URL with a path matches that URL and everything under it at a path boundary, so /blog matches /blog/post but not /blogging. Set match to exact_url to track a single page.
How are ads handled?
Ads come back in their own ads array, each with its block (top or bottom), title, URL, domain, displayed URL and description, and they never take an organic position. Position 4 is the fourth organic result, however many ads ran above it. Ads are returned only when they were shown for the requested country; otherwise the ads array is empty and a note says ads were left out, rather than handing you another country’s ads. Organic results and everything else are unaffected.
What is not available?
No total result count, and no answers under People also ask: that box comes back as the questions only. Set aiOverview on a search to also get Google’s AI Overview with its sources and citations (it adds up to about 12 seconds); to track what it says about your brand over time, use the Google AI Overviews API at fetchlayer.dev/ai-visibility-api/google-ai-overviews. Videos, short videos and discussions are detected on English-language results pages only. Every response carries a notes array for anything narrower than you asked, such as a result whose link could not be followed.
How does billing work?
One API request equals one credit, the same as every other FetchLayer platform. /search bills one request per result page returned, so pages: 3 bills three. /autocomplete is one request, a rank check is one request at any depth, and /resolve-url, which parses a Google URL without contacting Google, is free.
Can my AI agent use it?
Yes. All four routes are MCP tools on the same FetchLayer MCP server, named google_search, google_search_rank_check, google_search_autocomplete and google_search_resolve_url. Tool calls use the same key and are billed exactly like REST, so a rank check from an agent is still one credit.
Start pulling Google SERP data today.
Get a free API key, make your first request, and put public feedback to work in your own product or research workflow.
Used by developers at
Individual developers or teams — not official partnerships