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 line chart data for specific token pair and period

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

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

Parameters

token0
* string path
token1
* string path
period
* string (Enum)path
chainId
* number (Enum)path

Request Body

This request doesn’t have any request body.

1

Returns

200
LinesResponse object
data
* array
items
Line object
time
* number
value
* number
JSON
1

Did you find what you need?