Search
⌘K
Charts API
API version: All versions
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·Introduction

Introduction

The 1inch Charts API is designed to provide easy retrieval and display of chart data for onchain assets, including ERC20 tokens, NFTs, and more. It fetches and visualizes historical market data, giving you the tools needed to make data-driven decisions.

Supported Chains

Supported Chains Chain ID
Ethereum 1
Base 8453
Binance 56
Gnosis 100
Optimism 10
Polygon 137
Linea 59144
Sonic 146
Unichain 130
Arbitrum 42161

Key features

  • Retrieval of chart data: enables fetching of historical and real-time chart data.
  • Versatile data types: supports data for ERC20 token pairs, NFTs, and more.
  • Easy integration: designed to be easily integrated into backend systems (Node.js) and frontend applications (React).
  • Support for multiple networks: currently available on Ethereum, Binance Smart Chain, and Polygon.

Use cases in dApps

NFT marketplaces

  • Price history charts: display historical price trends for NFTs
  • Volume charts: show trading volume over time, gain insight into the sentiment and liquidity of specific NFTs.

Decentralized exchanges (DEXes)

  • Token price charts: provide users with historical and real-time price charts for any supported ERC20 token.
  • Trading volume charts: visualize trading volumes to help users understand market activity.

Portfolio management tools

  • Asset performance tracking: allow users to track the historical performance of their assets—ideal for wallet applications as well!
  • Portfolio analysis: provide insights into the value changes and trends in a user's portfolio over time.

Yield farming platforms

  • Yield tracking: show historical yields of multiple farming positions to help users make informed decisions.
  • APY trends: visualize the APY trends of an individual farm to help users assess its performance.

DeFi analytics

  • Market analysis: provide comprehensive market analysis tools for users to study trends and make data-driven decisions.
  • Liquidity pool charts: show data for various liquidity pools, including volume, fees, and pool composition.

If you are an enterprise with significant API request volumes, complete this application to get in touch with us to explore Enterprise options tailored to your needs.

API reference

For detailed information about each endpoint, refer to the Charts API OpenAPI section.

Did you find what you need?