The Token Indexing API provides real-time and historical ERC20 data powered by Lumon’s on-chain indexing infrastructure. All endpoints are unauthenticated and available at:Documentation Index
Fetch the complete documentation index at: https://docs.turtle.xyz/llms.txt
Use this file to discover all available pages before exploring further.
The full OpenAPI 3.0 spec is available at indexing.turtle.xyz/token/docs.
ERC20 Endpoints
Portfolio
Returns all current ERC20 token balances for a wallet address.Wallet address to query.
EVM chain ID. Omit to return balances across all indexed chains.
Balance
Returns the current balance of a specific token for a user on a given chain.EVM chain ID.
ERC20 token contract address.
Wallet address to query.
Top Holders
Returns the largest holders of a token, ordered by balance descending.EVM chain ID.
ERC20 token contract address.
Maximum number of holders to return. Default: 50, max: 100.
Token Info
Returns metadata for a specific ERC20 token.EVM chain ID.
ERC20 token contract address.
Token List
Returns all indexed ERC20 tokens, optionally filtered by chain.EVM chain ID. Omit to return tokens across all indexed chains.
Indexing Stats
Returns the latest block number processed for ERC20 transfers on each supported chain. Use this to check indexing coverage and freshness.This is the only
GET endpoint — all others are POST.Snapshot Endpoints
Historical balance data for time-series analysis, TVL computation, and reward calculations.User Balance History
Returns point-in-time balance snapshots for a specific user/token/chain combination.EVM chain ID.
ERC20 token contract address.
Wallet address.
Start of time range (ISO 8601, e.g.
2026-01-01T00:00:00).End of time range (ISO 8601).
| Field | Description |
|---|---|
balance | Token balance at this snapshot point |
max | Maximum balance observed in the period |
change | Absolute change from the previous snapshot |
positive | Whether the change was an increase (true) or decrease (false) |
timestamp | When this snapshot was recorded |
All Users Balance History
Paginated balance snapshots for all holders of a token. Useful for computing aggregate TVL or building leaderboards.EVM chain ID.
ERC20 token contract address.
End of time range (ISO 8601).
Page number (1-indexed).
Users per page.
Start of time range (ISO 8601).
Volume
Returns total transfer volume for a token, optionally scoped to a specific user and time range.EVM chain ID.
ERC20 token contract address.
Wallet address. Omit for aggregate volume across all users.
Start of time range (ISO 8601).
Transform
Applies a transformation function to balance snapshots at a given timestamp. Supports decimal scaling and vesting calculations.| Transform | Parameters | Use case |
|---|---|---|
metamask | decimals, scalar, price (optional) | Decimal-adjusted balances with optional USD conversion |
vesting | decimals, duration, mode (linear or cliff) | Vesting schedule computation |
Transform Difference
Compares transformed snapshots between two timestamps. Returns the delta for each user.Start timestamp (ISO 8601).
End timestamp (ISO 8601).
Include full
from and to snapshot data in the response.Include users with zero difference in the response.
Related
Lumon Overview
What Lumon is and how it fits into the Turtle data infrastructure.
Data Flow & Settlement
The balance timeseries model and attribution settlement pipeline.
How Attribution Works
The four-step deposit attribution flow.
Deposit Endpoint
Generate deposit transactions that Lumon attributes automatically.

