Get OHLCV price of a base-quote pair. Maximum 1000 records returned.

📘

This endpoint is accessible within the following API Plans:

  • Starter
  • Premium
  • Business
  • Enterprise
🤔 Did you know?

The volume calculated depends on the OHLCV data, which is queried based on the time_from and time_to parameters. This means that data comparisons across systems should always consider the exact time_from and time_to ranges being used.

💡 Suggestions
  • address parameters are base/quote token address of a trading pair.
  • You can find the token address from multiple sources:
  • You can get the pair address of a specific token by:
  • o, h, l, c are denominated in USD.
  • vBase, vQuote are the token amount of the base or quote token.
  • type represents the interval of Unix time in each OHLCV item. It determines the time duration that each data point covers.
    • For example:
      • If type = "15m", each OHLCV item represents 15-minutes intervals
Language
Credentials
Header
Click Try It! to start a request and see the response here!