# Google SERP AI Overview to JSON

**Use case:** 

Get only the AI Overview block from the Google search results page (SERP), as clean JSON: the answer text and the cited sources. No full SERP to parse.

## Input

```json
{
  "queries": "what is a roth ira\nroth ira vs traditional ira"
}
```

## Output

```json
{
  "query": {
    "label": "Query",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "sources": {
    "label": "Sources",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google AI Overview Scraper - AI Overview API Actor is ready to run with the inputs already set for "Google SERP AI Overview to JSON". [Sign up or log in](https://console.apify.com/create-task-from-example/kyXMesNxOFEv07e45) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google SERP AI Overview to JSON" task

The Google AI Overview Scraper - AI Overview API Actor will start running based on the input automatically. You can also change all the input fields, like search queries, to match your specific use case.

### 3. Receive the "Google SERP AI Overview to JSON" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as query, text, and sources.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Google SERP AI Overview to JSON" task via API](https://apify.com/krammer/google-ai-overview-scraper.md).

## FAQ

### What does this task return?

It returns the Google AI Overview for "what is a roth ira" and "roth ira vs traditional ira": the answer text as plain text, and the sources Google cites, each with URL, title and snippet.

### How much does this task cost?

You pay per query that returns an AI Overview. Queries without an AI Overview and failed queries are free. See the Pricing section of the Actor for the price on your plan.

### Can I change the queries?

Yes. Open the task and edit the queries, one per line. Results are for Google in the United States, in English.

### Can I call this task from code or an AI agent?

Yes. Call it through the Apify API, or as a tool through the Apify MCP server from Claude, Cursor or another agent.

## About this Actor

This example demonstrates how to use [Google AI Overview Scraper - AI Overview API](https://apify.com/krammer/google-ai-overview-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/krammer/google-ai-overview-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/krammer/google-ai-overview-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
