---
title: "Google Search API for SERP results in JSON | ScrapeCrate"
description: "Google search results as JSON, for any country, language and device. Free monthly credit to try it, pay only for successful calls."
url: https://scrapecrate.com/google-search-api
markdown: https://scrapecrate.com/google-search-api.md
---

# Google Search API for SERP results in JSON

Run a Google search and get the organic results with title, URL, snippet and sitelinks, the ads, "People also ask", related searches, and the featured snippet and knowledge panel when Google shows them, for any country, language, page and desktop or mobile. The same API also returns Google Trends (interest over time, by region, related queries).

[Start free](https://scrapecrate.com/auth/sign-up) [API reference](https://scrapecrate.com/docs/api/google.md)

No credit card needed. One API key works on every endpoint.

## Endpoints and prices

| Endpoint | What you get | Price |
| --- | --- | --- |
| GET /v1/google/trends/interest-over-time | Google Trends interest over time | $0.003 / call $3 per 1,000 calls |
| GET /v1/google/trends/interest-by-region | Google Trends interest by region | $0.003 / call $3 per 1,000 calls |
| GET /v1/google/trends/related-queries | Google Trends related queries | $0.003 / call $3 per 1,000 calls |

## Make your first request

GET `https://api.scrapecrate.com/v1/google/trends/interest-over-time`

```bash
curl "https://api.scrapecrate.com/v1/google/trends/interest-over-time?keywords=chatgpt%2Cgemini" \
  -H "X-API-Key: YOUR_API_KEY"
```

```python
# pip install scrapecrate
from scrapecrate import ScrapeCrate

client = ScrapeCrate(api_key="YOUR_API_KEY")
res = client.google.trends_interest_over_time(keywords="chatgpt,gemini")
print(res.data)
print(res.credits_used, res.credits_remaining)
```

```typescript
// npm install scrapecrate
import { ScrapeCrate } from 'scrapecrate';

const client = new ScrapeCrate({ apiKey: 'YOUR_API_KEY' });
const res = await client.google.trendsInterestOverTime({ keywords: "chatgpt,gemini" });
console.log(res.data, res.creditsUsed, res.creditsRemaining);
```

Response:

```json
{
  "data": {
    "keywords": [
      "chatgpt",
      "gemini"
    ],
    "geo": "US",
    "time_range": "past_90_days",
    "from_date": null,
    "to_date": null,
    "category": 0,
    "property": "web",
    "timeline": [
      {
        "date": "2026-11-22T00:00:00Z",
        "timestamp": 1795305600,
        "formatted_date": "Nov 22, 2026",
        "partial": false,
        "values": [
          {
            "keyword": "chatgpt",
            "value": 71,
            "has_data": true
          },
          {
            "keyword": "gemini",
            "value": 29,
            "has_data": true
          }
        ]
      },
      {
        "date": "2026-11-23T00:00:00Z",
        "timestamp": 1795392000,
        "formatted_date": "Nov 23, 2026",
        "partial": true,
        "values": [
          {
            "keyword": "chatgpt",
            "value": 67,
            "has_data": true
          },
          {
            "keyword": "gemini",
            "value": 30,
            "has_data": true
          }
        ]
      }
    ],
    "averages": [
      {
        "keyword": "chatgpt",
        "value": 69,
        "has_data": true
      },
      {
        "keyword": "gemini",
        "value": 28,
        "has_data": true
      }
    ],
    "no_data": false
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 3,
    "credits_remaining": 9999
  }
}
```

Illustrative values: a real response carries the live data you ask for.

## What people build with it

### SEO rank tracking

Check where your pages and your competitors' rank for a keyword, by country, language and device.

### Grounding for AI agents

Give an agent fresh web results with titles, URLs and snippets instead of a stale index.

### Content research

Collect People also ask questions and related searches to plan the articles people look for.

### Ad monitoring

See which advertisers bid on your brand or keywords, top and bottom of the page.

### Trend monitoring

Compare search interest in a brand or topic over time and by region.

## Pricing

- $0.003 per successful call on every endpoint but the ones below, whatever it returns
- $0.003 per successful call on the Trends endpoints
- $3 per 1,000 calls at the list price (pay as you go), down to $1.50 with a monthly subscription of $1,000 or more
- Free monthly credit to try every API, no card required
- 22.8k calls a month for $50.00 ($68.50 of usage), or any monthly price on the slider
- Only successful calls are billed
- Pay as you go never expires; monthly usage renews each month (no rollover); both work on every API

[See the full price list →](https://scrapecrate.com/pricing.md)

## Also for AI assistants (MCP)

The ScrapeCrate MCP server exposes every endpoint of this API as a tool for Claude, Cursor and other MCP clients. Run it with `uvx scrapecrate-mcp`; see the [MCP guide](https://scrapecrate.com/docs/mcp.md).

## Frequently asked questions

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

No. It returns the results page Google shows a visitor, with ads, People also ask and related searches, without a Programmable Search Engine or Google Cloud billing.

**How are calls billed?**

A search costs 15 credits per successful call, whatever the page holds: one page of up to 10 organic results with every other block of that page. Page 2 is a new call. Google Trends calls cost 3 credits each. Failed calls are free.

**Can I get 100 results in one call?**

No: since September 2025 Google shows 10 organic results a page whatever `num` asks for. Use `page` (1 to 10) for the next ones.

**Which countries and languages are supported?**

Any: `country` is the two-letter code of the country to search from (`us`, `de`, `it`) and `language` the interface language (`en`, `pt-BR`). Results follow them as a local visitor would see them.

**Why is the ads list sometimes empty?**

Google shows ads only for some queries, countries and devices; when it shows none the list is empty and the call costs the same.

**Can I get Google Trends data?**

Yes: `/v1/google/trends/...` returns interest over time, interest by region and related queries for up to 5 keywords. Each Trends call costs 3 credits (a search costs 15).

**Am I charged for failed requests?**

No. Only successful calls are billed; errors, timeouts and not-found results are free.

**Can I use the same API key for the other ScrapeCrate APIs?**

Yes. One account, one API key and one balance work on every API: Google Search, YouTube, Google Maps, Reviews, Meta Ad Library, Web Pages, TikTok.

## Other APIs with the same key

- [YouTube API](https://scrapecrate.com/youtube-api.md): Transcripts, metadata, comments, channels, playlists and search for any public YouTube video.
- [Google Maps API](https://scrapecrate.com/google-maps-api.md): Search places, get full place details and every review, from any country.
- [Reviews API](https://scrapecrate.com/reviews-api.md): Trustpilot, App Store, Google Play, Tripadvisor, Booking.com, Yelp, G2 and Capterra reviews in one JSON format.
- [Meta Ad Library API](https://scrapecrate.com/meta-ad-library-api.md): Search the ads running on Facebook and Instagram, with creatives, dates and advertiser.
- [Web Page to Markdown API](https://scrapecrate.com/url-to-markdown-api.md): Turn any public web page into clean Markdown, metadata and links, ready for an LLM.
- [TikTok API](https://scrapecrate.com/tiktok-api.md): Video metadata, captions, comments and profiles of any public TikTok account.

## Start using the Google Search API

Free monthly credit to try every API. No credit card required.

[Create a free account](https://scrapecrate.com/auth/sign-up) [Read the API reference](https://scrapecrate.com/docs/api.md)
