# Past Google search results for a keyword, by date range

This endpoint will provide you with Google SERPs collected within the specified time frame.

|  |  |
| --- | --- |
| Tool id | `dataforseo.x-dataforseo-labs-google-historical-serps-live` |
| Platform | [Google](https://www.orcarouter.ai/tools/google.md) |
| Capability | [Keyword research](https://www.orcarouter.ai/tools/google/keywords-research.md) |
| Price | $0.000132 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | no |
| Data class | unclassified |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `date_from` | string | no | starting date of the time range optional field if you don’t specify this field, the API will return all SERPs collected for 365 days starting from the current datetime value; minimal possible value: 365 days from the current datetime value; date format: "yyyy-mm-dd" |
| `date_to` | string | no | ending date of the time range optional field if you don’t specify this field, the today’s date will be used by default; date format: "yyyy-mm-dd"; example: "2021-09-01" |
| `keyword` | string | no | keyword required field you can specify up to 700 characters in the keyword field; all %## will be decoded (plus character ‘+’ will be decoded to a space character); if you need to use the “%” character for your keyword, please specify it as “%25”; if you need to use the “+” character for your keywor |
| `language_code` | string | no | unique language identifier required field if you don’t specify language_name Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_code parameters by making a separate request to the https://api.dataforseo.com/v3/dat |
| `language_name` | string | no | full name of the language required field if you don’t specify language_code Note: it is required to specify either language_name or language_code you can receive the list of available languages with their language_name parameters by making a separate request to the https://api.dataforseo.com/v3/data |
| `location_code` | integer | no | unique location identifier required field if you don’t specify location_name Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/lo |
| `location_name` | string | no | full name of the location required field if you don’t specify location_code Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/loc |
| `tag` | string | no | user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/dataforseo.x-dataforseo-labs-google-historical-serps-live/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/dataforseo.x-dataforseo-labs-google-historical-serps-live/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Search Google by keyword — organic results](https://www.orcarouter.ai/tools/google/keywords-research/x-v1-google-search.md) | — | $0.002068 per credit | OK |
| [Google organic search results for a keyword, live](https://www.orcarouter.ai/tools/google/keywords-research/google-serp-organic.md) | — | $0.0022 per call | OK |
| [Google Dataset search results for a keyword, live](https://www.orcarouter.ai/tools/google/keywords-research/x-serp-google-dataset-search-live-advanced.md) | — | $0.0022 per call | OK |
| [Google Events results for a keyword and location, live](https://www.orcarouter.ai/tools/google/keywords-research/x-serp-google-events-live-advanced.md) | — | $0.0022 per call | OK |
| [Google Images results for a keyword, live](https://www.orcarouter.ai/tools/google/keywords-research/x-serp-google-images-live-advanced.md) | — | $0.0022 per call | OK |
| [Google Local Finder results for a keyword, live](https://www.orcarouter.ai/tools/google/keywords-research/x-serp-google-local-finder-live-advanced.md) | — | $0.0022 per call | OK |
| [Google Maps results for a keyword and location, live](https://www.orcarouter.ai/tools/google/keywords-research/x-serp-google-maps-live-advanced.md) | — | $0.0022 per call | OK |
| [Google News results for a keyword, live](https://www.orcarouter.ai/tools/google/keywords-research/x-serp-google-news-live-advanced.md) | — | $0.0022 per call | OK |
| [Google Hotels search results for a keyword, live](https://www.orcarouter.ai/tools/google/keywords-research/x-business-data-google-hotel-searches-live.md) | — | $0.0044 per call | OK |
| [Google organic results for a keyword — full SERP features](https://www.orcarouter.ai/tools/google/keywords-research/x-serp-google-organic-live-advanced.md) | — | $0.0044 per call | OK |

Showing the first 10 of 23.

## FAQ

### How much does Past Google search results for a keyword, by date range cost?

Past Google search results for a keyword, by date range costs $0.000132 per call: 1,000 calls cost $0.132.

### What does a $10 budget buy with Past Google search results for a keyword, by date range?

About 75757 calls at $0.000132 per call.

### What inputs does Past Google search results for a keyword, by date range need?

It has no required inputs.

### How do I call Past Google search results for a keyword, by date range?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/google/keywords-research/x-dataforseo-labs-google-historical-serps-live
