Search
⌘K
Charts API
API version: 1.0
Introduction
Quickstart guide
Methods
Allows to get historical line chart data for specific token pair and period GET
Allows to get historical candle chart data for specific token pair and period GET
Allows to get current TradingView chart data for specific token pair and period GET
Allows to get historical TradingView chart data for specific token pair and period GET
Docs·APIs·Charts API·Methods·1.0·Allows to get historical TradingView chart data for specific token pair and period

Allows to get historical TradingView chart data for specific token pair and period

GEThttps://api.1inch.com/charts/v1.0/chart/tradingview/{token0}/{token1}/{seconds}/{chainId}
Supported on:
ArbitrumBaseBNB ChainEthereumGnosisOptimismPolygonSonicUnichain

Parameters

token0
* string path
token1
* string path
seconds
* number (Enum)path
chainId
* number (Enum)path
toTimestamp
* number query
fromTimestamp
* number query
orderBy
* string (Enum)query

Request Body

This request doesn’t have any request body.

1

Returns

200
TradingViewResponse object
data
* array
items
TradingViewCandle object
timestamp
* number
open
* number
high
* number
low
* number
avg
* number
close
* number
JSON
1

Did you find what you need?