---
title: "GET /google-finance/historical"
method: GET
path: "/google-finance/historical"
tags: ["GoogleFinance"]
---

# GET /google-finance/historical

`GET /google-finance/historical`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/google-finance/historical`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `symbol` string, required
- `exchange` string, nullable
- `range` integer, nullable
- `start_date` string, date, nullable
- `end_date` string, date, nullable
- `interval` 'daily' | 'weekly' | 'monthly' | 'null', nullable
- `hl` string, nullable
- `gl` string, nullable

## Response `200`

Historical data retrieved successfully

- object
  - `symbol` string, nullable, required
  - `exchange` string, nullable, required
  - `currency` string, nullable, required
  - `previous_close` number, nullable, required
  - `prices` object[], required
    - `date` integer, required
    - `close` number, required
    - `change` number, required
    - `percent_change` number, required
    - `volume` integer, required

## Other responses

- `400`: Error response
- `401`: Unauthorized - API key is missing or invalid
- `404`
- `422`: Validation error - Invalid parameters provided
- `429`
- `500`: Error response

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
