Skip to content

API Reference

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

Endpoints

Free (no auth, 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
GET/v1/tokensSupported token list with mints + categories60s
MethodPathDescription
POST/v1/quoteGet best swap route across all major DEXes
POST/v1/swap/buildBuild unsigned swap transaction
POST/v1/swapSubmit signed swap transaction via Jito (requires quoteId)
POST/v1/sendSubmit ANY signed transaction via Jito + RPC
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/tx/:signatureTransaction status + confirmation details
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 cache and gives you higher rate limits.

Plans & Rate Limits

EndpointAnonymousFreeStarter $49/moPro $199/mo
Prices30/min, cached60/min300/min1000/min
Pools browse15/min, cached30/min150/min500/min
Tokens10/min, cached30/min100/min300/min
Quote10/min60/min300/min
Swap build5/min30/min150/min
Swap / Send2/min15/min60/min
TX status5/min30/min150/min
Pool details10/min60/min300/min
SSE streams1 conn3 conn10 conn

No swap fees on any tier. Sign up for a free API key →

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