Skip to content

API Reference

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

Optional server-to-server base URL: http://api.venum.dev

Notes:

  • HTTPS is the default and recommended transport.
  • Plain HTTP is available for backend/server clients that explicitly want to avoid TLS overhead.
  • Browsers will still prefer HTTPS for .dev domains.

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/pairs/:mintTradeable output mints for an input mint5s
GET/v1/search?q=Market data search across tracked tokens + pools5s
GET/v1/token/:mintMarket data token page payload5s
GET/v1/trendingMarket data homepage sections10s
GET/v1/chart/:mintMarket data chart candles60s
GET/v1/tokensSupported token list with mints + categories60s
GET/v1/stats/volumeAggregate USD swap volume for a time window60s
GET/v1/pools/newRecently discovered pools (snapshot of last 500, newest first)5s
MethodPathDescription
POST/v1/quoteGet ranked swap routes across all major Solana DEXes
GET/v1/quote/streamSSE: same quote, pushed on change (default 2 Hz server tick)
POST/v1/swap/buildBuild unsigned swap transaction
POST/v1/swapSubmit signed swap transaction through Venum landing channels (requires quoteId)
POST/v1/sendSubmit any signed transaction through Venum landing channels
POST/v1/bundleSubmit an atomic Jito bundle (1–5 signed transactions)
GET/v1/balances/:walletSPL token balances of a wallet (filtered to tracked mints)
GET/v1/pool/:addressSingle pool decoded state
GET/v1/pools/seedBulk pool export (paginated)
GET/v1/pools/deadDead pool detection (coming soon)
GET/v1/tx/:signatureTransaction status + confirmation details
GET/v1/usagePer-key usage summary and endpoint breakdown
GET/v1/points/mePoints balance, breakdown, referral code, and recent ledger events
GET/v1/history/balanceExact wallet asset balance history using a caller-supplied Helius RPC URL
GET/v1/stream/balance-historySSE: incremental wallet asset balance history
GET/v1/stream/pricesSSE: real-time price updates
GET/v1/stream/poolsSSE: realtime new pool discoveries (starter and above)
GET/v1/stream/txSSE: transaction lifecycle updates

Authentication

Paid endpoints require an API key, typically passed in the x-api-key header:

x-api-key: your_api_key_here

Free endpoints work without auth. Passing a Free, Starter, or Pro API key on free endpoints bypasses the anonymous cache and gives you higher rate limits.

Plans & Rate Limits

EndpointAnonymousFreeStarter $49/moPro $199/mo
Market data / Pulse reads20/min60/min300/min1000/min
Prices30/min, cached60/min300/min1000/min
Pools browse15/min, cached30/min150/min500/min
Pairs15/min, cached30/min150/min500/min
Tokens10/min, cached30/min100/min300/min
Stats / Volume30/min, cached60/min300/min1000/min
Quote10/min60/min300/min
Swap build5/min30/min150/min
Swap / Send2/min15/min60/min
TX status5/min30/min150/min
Trace5/min30/min150/min
Usage30/min120/min300/min
Balances10/min60/min300/min
Pool details10/min60/min300/min
New pools snapshot15/min, cached30/min150/min500/min
SSE streams1 conn3 conn10 conn

Notes:

  • GET /v1/stream/pools requires starter or pro tier.
  • GET /v1/pools/new is free and returns the newest entries from an in-memory ring buffer of the last 500 discovered pools.

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

Endpoint Index

Token Resolution

Most token-parameter endpoints accept both token symbols and mint addresses:

GET /v1/quote
GET /v1/pools/SOL/USDC
GET /v1/pools?pair=SOL,USDC

Exceptions:

  • GET /v1/price/:token accepts tracked token symbols only
  • GET /v1/prices?tokens= accepts tracked token symbols only; response keys are the same tracked symbols

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