# Spell Check

If you misspell your query term for a Google search, Google will show up a message to inform you about it. Information regarding misspelled queries can be found inside the `search_information` property, under `spelling_fix`. The full body of the `search_information` property contains:

<table><thead><tr><th width="261">Element</th><th width="115">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>organic_results_state</code></td><td><code>String</code></td><td>The state of the results </td></tr><tr><td><code>total_results</code></td><td><code>Integer</code></td><td>The total number of results </td></tr><tr><td><code>time_taken_displayed</code></td><td><code>Double</code></td><td>Time in seconds displayed by Google to show the results </td></tr><tr><td><code>query_displayed</code></td><td><code>String</code></td><td>The query displayed </td></tr><tr><td><code>showing_results_for</code></td><td><code>String</code></td><td>The query that the results are from </td></tr><tr><td><code>spelling_fix</code></td><td><code>String</code></td><td>Spelling fix recommendation from Google</td></tr></tbody></table>

### Spell Check Results Request Example

## Request Example That Returns Spell Check Elements

<mark style="color:blue;">`GET`</mark> `https://serpapi.webscrapingapi.com/v1?engine=google&api_key=<YOUR_API_KEY>&q= yoggurt`

This is a basic GET request that returns the spell check results found on the Google page.

#### Query Parameters

| Name                                       | Type   | Description      |
| ------------------------------------------ | ------ | ---------------- |
| q<mark style="color:red;">\*</mark>        | String | `yoggurt`        |
| api\_key<mark style="color:red;">\*</mark> | String | `<YOUR_API_KEY>` |

{% tabs %}
{% tab title="200: OK API response" %}

```javascript
{
    ...
    "search_information": {
        "organic_results_state": "Some results for exact spelling but showing fixed spelling",
        "total_results": 159000000,
        "time_taken_displayed": 0.83,
        "query_displayed": "yoggurt",
        "showing_results_for": "yogurt",
        "spelling_fix": "yogurt"
    },
    ...
}
```

{% endtab %}
{% endtabs %}

<figure><img src="https://1192456954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9wbsYOleiAqS785aMtPp%2Fuploads%2FEsTD7H0yImrH1vd20Dfv%2Fspell-check.png?alt=media&#x26;token=e7ce6fe3-6a69-4831-97e4-a34cfbbbce8d" alt=""><figcaption><p>Scrape Google's Spell Check Feature</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.webscrapingapi.com/google-search-api/google-apis-response/google-search-api/spell-check.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
