CoinGecko

CoinGecko

Crypto Data
basesolana
5 endpoints

On-demand crypto price and market data. Token prices, liquidity pools, trending pools, and token data across 250+ networks.

Base URLhttps://api.dao.pub/market/coingecko
GET/x402/onchain/networks/{id}/tokens/{address}$0.01

Get price, liquidity, and market data for a token by contract address.

Replace {id} with network ID and {address} with contract address.

Path
idstring (network ID: 'eth', 'solana', 'base')
addressstring (token contract address)
Query
include_compositionboolean (optional)
GET/x402/onchain/networks/{id}/trending_pools$0.01

Get trending liquidity pools on a specific network.

Replace {id} with network ID.

Path
idstring (network ID)
GET/x402/onchain/search/pools$0.01

Search liquidity pools and tokens by contract address, name, or symbol.

GET with query params. Search by token name, symbol, or contract address.

Query
querystring (search term)
networkstring (optional)
GET/x402/onchain/simple/networks/{id}/token_price/{address}$0.01

Get token price by contract address on a specific network.

Replace {id} with network ID and {address} with token contract address.

Path
idstring (network ID)
addressstring (token contract address)
GET/x402/simple/price$0.01

Get price and market data for CoinGecko-listed coins by ID or symbol.

GET with query params. ids and vs_currencies are required.

Query
idsstring (comma-separated coin IDs)
vs_currenciesstring (e.g. 'usd')
include_market_capboolean (optional)
include_24hr_volboolean (optional)
include_24hr_changeboolean (optional)