Skip to content

API Reference

Base URL: https://api.venum.dev

Endpoints

Free (no auth, Nginx-cached)

MethodPathDescriptionCache
GET/healthAPI health check
GET/v1/price/:tokenDEX price for a token2s
GET/v1/prices?tokens=Batch DEX prices2s
GET/v1/poolsBrowse pools (filter by token/pair/dex)5s
GET/v1/pools/:tokenPools for a token5s
GET/v1/pools/:tokenA/:tokenBPools for a pair5s
MethodPathDescription
POST/v1/quoteGet best swap route across 12 DEXes
POST/v1/swap/buildBuild unsigned swap transaction
POST/v1/swapSubmit signed transaction via Jito
GET/v1/pool/:addressSingle pool decoded state
GET/v1/pools/newRecently discovered pools
GET/v1/pools/seedBulk pool export (paginated)
GET/v1/pools/deadDead pool detection (coming soon)
GET/v1/stream/pricesSSE: real-time price updates
GET/v1/stream/poolsSSE: new pool discoveries

Authentication

Paid endpoints require an API key in the X-API-Key header:

X-API-Key: your_api_key_here

Free endpoints work without auth. Passing an API key on free endpoints bypasses the Nginx cache and gives you higher rate limits.

Rate Limits

TierPricesPools browsePaid endpoints
Anonymous (no key)120/min per IP60/min per IP401
External API key600/min per key300/min per key60/min (quote), 10/min (swap)
Internal API keyUnlimitedUnlimitedUnlimited

Token Resolution

All endpoints accept both token symbols and mint addresses:

GET /v1/price/SOL
GET /v1/price/So11111111111111111111111111111111111111112
GET /v1/pools/SOL/USDC
GET /v1/pools?pair=SOL,USDC

Aliases: BTC → WBTC, ETH → WETH, DOGE → wDOGE, SHIB → wSHIB, NEAR → wNEAR

Content Type

All request bodies are JSON:

Content-Type: application/json

Base Types

Token Mint

Base58-encoded Solana public key (32-44 characters):

So11111111111111111111111111111111111111112

Amount

String representation of a positive integer in the token's smallest unit:

"1000000000"  // 1 SOL (9 decimals)
"1000000"     // 1 USDC (6 decimals)

Slippage

Integer in basis points (1 bps = 0.01%):

100   // 1% slippage
50    // 0.5% slippage

Solana Execution Infrastructure for Builders