---
title: "Google Search API: organic results, People also ask as JSON"
description: "Google Search API for organic results, People also ask, local results, AI Overviews and autocomplete as JSON. One key, from 1 credit per call."
url: https://perceptlayer.com/apis/google-search
---

[APIs](https://perceptlayer.com/apis) / [Search engines](https://perceptlayer.com/verticals/search) / Google Search

1 credit per call 7 endpoints 

# Google Search API

Google Search API for organic results, People also ask, local results, AI Overviews and autocomplete as JSON. One key, from 1 credit per call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Google Search

GET /v1/google-search/search-advanced-place?detail\_url=https%3A%2F%2Fwww.google.com%2Fsearchviewer%2F10%3Fgl%3Dpl%26hl%3Dpl%26output%3Dsearch%26svid%3DCAwSHRIbCgNwdnESFENnMHZaeTh4TVdacmNIaGZjREp0GAo 

```
{
  "place": {
    "kgmid": "/g/11fkpx_p2m",
    "title": "WARK Group - producent przyczep",
    "type": "Producent przyczep",
    "address": "Topolowa 1, 62-002 Jelonek",
    "phone": "61 250 07 07",
    "open_state": "Zamknięte · Otwarcie: pt., 08:00",
    "website": "https://www.warkgroup.com/",
    "business_id": "0x470443e14bc7554b:0xbadfa60ad7b611e7",
    "place_id": "ChIJS1XHS-FDBEcR5xG21wqm37o",
    "cid": "13465663976359989735",
    "maps_link": "https://www.google.com/maps/place/data=!4m2!3m1!1s0x470443e14bc7554b:0xbadfa60ad7b611e7"
  },
  "detail_url": "https://www.google.com/searchviewer/10?hl=pl&gl=pl&output=search&svid=CAwSHRIbCgNwdnESFENnMHZaeTh4TVdacmNIaGZjREp0GAo"
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/google-search/search-advanced-place?detail_url=https%3A%2F%2Fwww.google.com%2Fsearchviewer%2F10%3Fgl%3Dpl%26hl%3Dpl%26output%3Dsearch%26svid%3DCAwSHRIbCgNwdnESFENnMHZaeTh4TVdacmNIaGZjREp0GAo" \
  -H "X-API-Key: $API_KEY"
```

Google Search · 7 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/google-search/google-ai-mode-search`](https://perceptlayer.com/apis/google-search/google-ai-mode-search) | `q` +5 optional | `text_blocks` `references` `reconstructed_markdown` `follow_up_token` | 1 credit |
| [GET `/v1/google-search/search`](https://perceptlayer.com/apis/google-search/search) | `query` +29 optional | `search_information` `organic_results` `related_searches` `people_also_search_for` `related_questions` `local_results` +6 more | 1–2 credits |
| [GET `/v1/google-search/search-advanced`](https://perceptlayer.com/apis/google-search/search-advanced) | `query` +31 optional | `search_information` `organic_results` `related_searches` `people_also_search_for` `local_results` `organic_results_count` +7 more | 1–3 credits |
| [GET `/v1/google-search/search-advanced-place`](https://perceptlayer.com/apis/google-search/search-advanced-place) | none +4 optional | `place` `detail_url` | 1 credit |
| [GET `/v1/google-search/search-ai-overview`](https://perceptlayer.com/apis/google-search/search-ai-overview) | `query` +4 optional | `search_information` `ai_overview` `text` `markdown` `service_used` | 1 credit |
| [GET `/v1/google-search/search-light`](https://perceptlayer.com/apis/google-search/search-light) | `query` +12 optional | `organic_results` `search_information` `pagination` `people_also_search_for` | 1 credit |
| [GET `/v1/google-search/search-light-autocomplete`](https://perceptlayer.com/apis/google-search/search-light-autocomplete) | `query` +2 optional | `suggestions` | 1 credit |

Overview

## About the Google Search API

## What you can get

The Google Search API returns Google results as JSON through 7 endpoints. All but the place endpoint take a `query` ( `q` for AI Mode), and most also take `hl` and `gl`.

-   **Full results:** `search` returns the whole page. The recorded response has `organic_results` (position, title, link, snippet, source), `related_questions` (People also ask), `related_searches`, `local_results` with places, and `pagination`. It also takes `start`, `page`, `device` (desktop, tablet or mobile), `tbm` (isch, vid, nws, lcl, shop or pts) and `proxy_country`. `search-advanced` takes the same parameters plus `fetch_ai_overview`.
-   **Search light:** `search-light` takes `num`, `start`, `sort` (date, date:r or date:d) and `dateRestrict`.
-   **AI answers:** `search-ai-overview` for the AI Overview on a query, and `google-ai-mode-search` for AI Mode, which takes `q` and an optional `follow_up_token`.
-   **Autocomplete:** `search-light-autocomplete` returns suggestions for a partial `query`, with a `limit`.
-   **Places:** `search-advanced-place` takes a `detail_url` or `svid` for one place.

## How a call works

Send `GET /v1/google-search/search?query=...&hl=en&gl=us` with your key in the `X-API-Key` header. In the recorded response, `pagination` lists the `start` value for each further page, so the next call passes that `start`. A call costs 1 credit, plus 1 with `proxy_country` on `search` or `search-advanced`, and plus 1 with `fetch_ai_overview` on `search-advanced`; failed calls cost nothing.

Search engines JSON REST MCP

### More search engines APIs

[Apple Maps](https://perceptlayer.com/apis/apple-maps) [Baidu](https://perceptlayer.com/apis/baidu) [Bing](https://perceptlayer.com/apis/bing) [Brave Search](https://perceptlayer.com/apis/brave) [DuckDuckGo](https://perceptlayer.com/apis/duckduckgo) [Google Events](https://perceptlayer.com/apis/google-events) [Google Finance](https://perceptlayer.com/apis/google-finance) [Google Forums](https://perceptlayer.com/apis/google-forums) [Google Images](https://perceptlayer.com/apis/google-images) [Google Lens](https://perceptlayer.com/apis/google-lens) [Google Local](https://perceptlayer.com/apis/google-local) [Google Local Services](https://perceptlayer.com/apis/google-local-services)

Use cases

### Track where your pages rank for a keyword list, by country and device

`Use the Google Search API to track where your pages rank for a keyword list, by country and device` 

### Collect People also ask questions for content planning

`Use the Google Search API to collect People also ask questions for content planning` 

### Ground an AI agent's answers in live search results

`Use the Google Search API to ground an AI agent's answers in live search results` 

### Watch which queries show an AI Overview

`Use the Google Search API to watch which queries show an AI Overview` 

FAQ

## Questions

**Do I need a Google Search API key?**

No Google key is needed. You call this Google Search API with your Perceptlayer key in the \`X-API-Key\` header, and the same key works for every API in the catalogue.

**How much does the Google Search API cost?**

Each successful call costs one credit. \`search\` and \`search-advanced\` add one credit with \`proxy\_country\`, and \`search-advanced\` adds one more with \`fetch\_ai\_overview\`. New accounts get free credits to start, and credit packs bring the price down as you scale.

**What format are responses in?**

Every endpoint returns a JSON response, with named fields and no HTML parsing on your side.

**Is this the official Google Search API?**

No. Perceptlayer is an independent service and is not affiliated with Google Search. It returns Google Search data as JSON with a Perceptlayer key, so there is no Google Search developer account, app review or partner approval to get first. It only reads data: if Google Search has an official API and you need to act on your own Google Search account, such as posting, managing orders or reading private data, use that one.

**Should I build a Google Search scraper instead?**

You can, but a Google Search scraper is code you maintain: page changes break it, requests get blocked, and Google Search's terms govern how you collect data. The Google Search API gives you 7 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Google Search API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
