---
title: "Google Search API: Search Ai Overview | Perceptlayer"
description: "Search Ai Overview from Google Search as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/google-search/search-ai-overview
---

[APIs](https://perceptlayer.com/apis) / [Google Search](https://perceptlayer.com/apis/google-search) / Search Ai Overview

# Google Search: Search Ai Overview

Search Ai Overview from Google Search as JSON. 1 credit per successful call.

GET `/v1/google-search/search-ai-overview`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 2,048 characters |
| `hl` | string | Optional | Up to 2 characters |
| `gl` | string | Optional | Up to 2 characters |
| `google_domain` | string | Optional | Up to 100 characters |
| `uule` | string | Optional | Up to 500 characters |

## Example request

Google Search

GET /v1/google-search/search-ai-overview?query=how+does+photosynthesis+work&hl=en&gl=us 

```
{
  "search_information": {
    "query_displayed": "how does photosynthesis work",
    "search_url": "https://www.google.com/search?udm=50&q=how%20does%20photosynthesis%20work&hl=en&gl=us&complete=0&pws=0"
  },
  "ai_overview": {
    "text_blocks": [
      {
        "type": "paragraph",
        "snippet": "Photosynthesis is the process plants, algae, and certain bacteria use to convert light energy into chemical energy stored as sugar. During this process, organisms take in carbon dioxide and water and release oxygen as a byproduct.",
        "snippet_markdown": "**Photosynthesis** is the process plants, algae, and certain bacteria use to **convert light energy into chemical energy** stored as sugar. During this process, organisms take in **carbon dioxide and water** and release **oxygen** as a bypr…",
        "snippet_highlighted_words": [
          "convert light energy into chemical energy stored as sugar"
        ]
      },
      {
        "type": "paragraph",
        "snippet": "The overall chemical equation is: \n6CO₂ + 6H₂O + Light Energy → C₆H₁₂O₆ + 6O₂",
        "snippet_markdown": "The overall chemical equation is: \n$\\text{6CO}_{2}+\\text{6H}_{2}\\text{O}+\\text{Light\\ Energy}\\rightarrow \\text{C}_{6}\\text{H}_{12}\\text{O}_{6}+\\text{6O}_{2}$",
        "snippet_latex": [
          "\\text{6CO}_{2}+\\text{6H}_{2}\\text{O}+\\text{Light\\ Energy}\\rightarrow \\text{C}_{6}\\text{H}_{12}\\text{O}_{6}+\\text{6O}_{2}"
        ]
      },
      {
        "type": "heading",
        "snippet": "Where It Happens",
        "snippet_markdown": "Where It Happens"
      }
    ],
    "header_images": [
      {
        "image": "https://encrypted-tbn0.gstatic.com/licensed-image?q=tbn:ANd9GcTdBvX3meGsM43-O-yqTRCLbaINI6ls1HViz2lukr8hTB1vXR4joAec01ObkYWS0efVdXeWWvamlqacgnFKqHcqL54S-_8",
        "thumbnail": "https://encrypted-tbn0.gstatic.com/licensed-image?q=tbn:ANd9GcTdBvX3meGsM43-O-yqTRCLbaINI6ls1HViz2lukr8hTB1vXR4joAec01ObkYWS0efVdXeWWvamlqacgnFKqHcqL54S-_8",
        "title": "full size version of the image"
      },
      {
        "image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTDjpNqKiyp-jSR3thgUCFSpmL2ASBQUHsgMGn7eMGwDoWOdd1v",
        "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTDjpNqKiyp-jSR3thgUCFSpmL2ASBQUHsgMGn7eMGwDoWOdd1v"
      }
    ]
  },
  "text": "Photosynthesis is the process plants, algae, and certain bacteria use to convert light energy into chemical energy stored as sugar. During this process, organisms take in carbon dioxide and water and release oxygen as a byproduct.\nThe overa…",
  "markdown": "**Photosynthesis** is the process plants, algae, and certain bacteria use to **convert light energy into chemical energy** stored as sugar. During this process, organisms take in **carbon dioxide and water** and release **oxygen** as a bypr…",
  "service_used": "google"
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/google-search?try=search-ai-overview#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

The response has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `search_information` | object |
| `ai_overview` | object |
| `text` | string |
| `markdown` | string |
| `service_used` | string |
