---
title: "Trading View History"
method: GET
path: "/api/dtao/tradingview/udf/history"
---

# Trading View History

`GET /api/dtao/tradingview/udf/history`

## Request

- Base URL: `https://api.taostats.io`
- URL: `https://api.taostats.io/api/dtao/tradingview/udf/history`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/taostats/apis/taostats-1/docs/api/dtao/tradingview/udf/history/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `symbol` string, required
- `resolution` string, required
- `from` integer, required
- `to` integer, required

## Response `200`

200

- object
  - `s` string
  - `t` integer[]
  - `c` number[]
  - `o` number[]
  - `h` number[]
  - `l` number[]
  - `v` number[]

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/taostats/apis/taostats-1.md) - [All operations](https://skmtc.dev/taostats/apis/taostats-1/llms.txt) - [OpenAPI document](https://skmtc.dev/taostats/apis/taostats-1/revisions/eb3af702da52?raw)
