Skip to main content
This cookbook demonstrates how to retrieve All-Time High (ATH) and All-Time Low (ATL) values for tokens across multiple blockchains including Solana, Base, Ethereum, and 50+ other chains supported by Mobula.
Quick Start: Get your free API key at admin.mobula.io to start querying ATH/ATL data immediately.

Overview

ATH and ATL values are essential metrics for understanding a token’s price history:
  • ATH (All-Time High): The highest price the token has ever reached
  • ATL (All-Time Low): The lowest price the token has ever reached
These values help traders and investors:
  • Gauge how far a token is from its historical peak
  • Identify potential recovery opportunities from ATL levels
  • Set realistic price targets based on historical data

Basic Usage

Single Token Query

Fetch ATH/ATL for a single token using a simple GET request:
Response:

JavaScript/TypeScript Implementation

Python Implementation

Multi-Chain Examples

Ethereum (ERC-20 Tokens)

Base Chain

Solana

Arbitrum

Batch Queries

Fetch ATH/ATL for multiple tokens in a single request:

TypeScript Batch Example

Multi-Currency Support

Get ATH/ATL values in multiple currencies:
Response:

Practical Use Cases

ATH Distance Calculator

Portfolio ATH Tracker

Supported Chains

The /token/ath endpoint supports 50+ blockchains including:
For a complete list of supported chains, see our Blockchains documentation.

Error Handling

Rate Limits

  • The endpoint uses 1 credit per request for GET calls
  • Batch POST requests use 1 credit per token in the array
  • For high-volume applications, consider using batch requests to optimize credit usage

Need Help?

Telegram

Fast support

Discord

Community

Slack

Enterprise

Email

Contact us