# Goole Finance

#### SERP API Google Query Parameters

Configure Google search queries using Thordata’s SERP API, including localization parameters and "advanced parameter" output options.

<details>

<summary><strong><code>q</code> ,</strong>Search Query<strong>(Required)</strong></summary>

Define the search query used for data scraping (Default value: `q=GOOGL:NASDAQ`). Any keywords in any language are supported.

**Example Request:**\
Example using the parameter `q=GOOGL:NASDAQ`

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_finance" \
 -d "q=GOOGL:NASDAQ" \
 -d "json=1"
```

</details>

## Localization

<details>

<summary><strong><code>hl</code> ,</strong>Language<strong>(Optional)</strong></summary>

Set the interface language for search results (default value: `en`). Adopt standard language code formats (e.g., `en`, `es`, `zh-CN`).

For the complete list of supported language codes, please refer to: [Google Language Codes](https://developers.google.com/google-ads/api/docs/start).

**Example Request:**

Example results for `q=GOOGL:NASDAQ`,`hl`: <mark style="color:blue;">es</mark>

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_finance" \
 -d "q=pizza" \
 -d "json=1" \
 -d "hl=es"
```

</details>

## Advanced Parameters

<details>

<summary><strong><code>window</code> ,</strong>Time Range<strong>(Optional)</strong></summary>

Parameter is used for setting time range for the graph. It can be set to:

`1D` - 1 Day(default)

`5D` - 5 Days

`1M` - 1 Month

`6M` - 6 Months

`YTD` - Year to Date

`1Y` - 1 Year

`5Y` - 5 Years

`MAX` - Maximum

**Example Request:**

Example results for `q=GOOGL:NASDAQ`,`window`:6M

```sh
curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_finance" \
 -d "q=GOOGL:NASDAQ" \
 -d "json=1" \
 -d "window=6M "
```

</details>

For further assistance, contact us at **<support@thordata.com>**.


---

# 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://doc.thordata.com/doc/scraping/serp-api/query-parameters/google/goole-finance.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.
