ποΈ Search API
Each endpoint at https://api2.yodao.ioΒ is rate-limited to 120 req/min (TTL 60s).
π Search Tokens
Endpoint: GET /api/v2/search/tokens/detailed
Search tokens by mint address, name, or symbol with full market data, 24h statistics, and holder information.
Query Parameters:
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
query | string | Yes | Case-insensitive search string | KORI |
Response: Returns an array of matching tokens with complete market data.
GET /api/v2/search/tokens/detailedView Response Structure
View Code
π Token Market Data
Endpoint: GET /api/v2/search/tokens/:mint/market-data
Returns market metrics for one or more tokens.
Parameters:
| Name | Location | Required | Description |
|---|---|---|---|
mint | path | Yes* | Token mint address. To query multiple tokens, you can use a placeholder (e.g., placeholder) and use the mints parameter instead. |
mints | query | No | Comma-separated list of mint addresses. At least one of mint or mints must be provided. |
Response: Array of market data objects.
GET /api/v2/search/tokens/:mint/market-dataView Response Structure
View Code
π Token Swap History
Endpoint: GET /api/v2/search/tokens/:mint/swaps
Returns token swap history with pagination.
Query Parameters:
| Parameter | Required | Default | Description |
|---|---|---|---|
wallet | No | β | Signer address. If omitted, all swaps for the specified token will be returned. |
page | No | 1 | Page number, >= 1. |
limit | No | 50 | Page size. Valid range 1-200. |
Response: Returns a pagination object with an array of swap transactions.
GET /api/v2/search/tokens/:mint/swapsView Response Structure
View Code
π Token OHLCV Chart
Endpoint: GET /api/v2/meme/chart/ohlcv
Returns OHLCV data for TradingView-compatible charts in USD and SOL. Result is cached for 5 seconds.
Query Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
mint | string | Yes | Token mint address. |
from | string (unix) | Yes | Start of time range in POSIX seconds. |
to | string (unix) | Yes | End of time range in POSIX seconds. |
resolution | string | Yes | TradingView timeframe: 1S, 5S, 15S, 30S, 1, 5, 15, 30, 60, 240, 1D, 1W, 1M. |
Response: Parallel arrays of values.
GET /api/v2/meme/chart/ohlcv