# Solana Alpha API > Pay-per-call Solana market data for AI agents and trading bots: token prices, crypto news + Fear & Greed, trending memecoins, perps funding/OI, rug checks, one-call token due-diligence reports and wallet PnL. No account or API key: pay each call in USDC on Solana via x402. ## How to call All endpoints are GET with query params and return JSON. Call without payment to get HTTP 402 with an x402 v2 PAYMENT-REQUIRED header (scheme exact, network solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, asset USDC EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v, payTo 3WN7T7VMnRJzjRhKosbaT2oiwuMiBCe6KBfZGiZygv7n; the PayAI facilitator pays the SOL fee). Sign with any x402 client (@x402/fetch + @x402/svm, x402-axios, AgentCash, Corbits) and retry with PAYMENT-SIGNATURE. Typical flow: /api/trending, /api/new or /api/news to find opportunities -> /api/rugcheck?mint= to screen -> /api/token-report?mint= for full due diligence before buying -> /api/price?tokens= to value positions -> /api/wallet?address= to study a trader -> /api/perps for funding/hedging. Invalid input returns 400 and is never charged; upstream failures are not settled. ## Paid endpoints (x402, USDC on Solana mainnet) - [GET /api/price](https://solana-x402-data.netlify.app/api/price?tokens=SOL%2CJUP%2CBONK) — 0.005 USDC — Live USD price, 24h change, liquidity and market cap for up to 20 Solana tokens in one call. Accepts symbols (SOL, JUP, BONK, WIF, any Jupiter-listed ticker) or SPL mint addresses. Source: Jupiter Price API v3. Use for portfolio valuation, trade sizing or price checks before a swap. Params: tokens (required): Comma-separated symbols or mint addresses, max 20 (e.g. SOL,JUP,DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263) - [GET /api/news](https://solana-x402-data.netlify.app/api/news?q=solana&limit=10) — 0.005 USDC — Latest crypto headlines from Cointelegraph, Decrypt, The Block and CoinDesk, deduplicated, newest first, with source links, publish time, short summary and detected tickers, plus today's Crypto Fear & Greed index. Optional keyword filter (q=solana, q=ETF, q=BTC). Use to brief an agent on market-moving news before trading. Params: q: Optional keyword filter, e.g. solana, ETF, BTC, hack (max 60 chars); limit: Number of headlines, 1-50 (default 15) - [GET /api/trending](https://solana-x402-data.netlify.app/api/trending?sort=volume&limit=10&minLiquidity=20000) — 0.01 USDC — Trending and newly promoted Solana tokens (DexScreener boosts + fresh token profiles) with live price, 1h/24h change, liquidity, 24h volume, buys/sells, pair age and quick risk flags (low liquidity, <24h old, sell pressure, FDV/liquidity). Sort by boosts, volume, new or gainers. Use to find memecoin opportunities, then check one with /api/rugcheck. Params: sort: boosts | volume | new | gainers (default boosts); limit: Number of tokens, 1-30 (default 20); minLiquidity: Minimum pool liquidity in USD (default 0) - [GET /api/new](https://solana-x402-data.netlify.app/api/new?limit=10&minLiquidity=5000) — 0.005 USDC — Newest Solana token profiles and fresh launches (DexScreener latest profiles + boosts), youngest pair first, with live price, liquidity, 24h volume, buys/sells, pair age and quick risk flags. Cheapest way to scan fresh launches; pipe interesting mints into /api/rugcheck. Params: limit: Number of tokens, 1-30 (default 20); minLiquidity: Minimum pool liquidity in USD (default 0) - [GET /api/perps](https://solana-x402-data.netlify.app/api/perps?markets=SOL%2CBTC%2CETH) — 0.01 USDC — Perpetual futures snapshot across Solana venues (Phoenix, Velocity ex-Drift, Jupiter Perps): funding rate per hour and APR, open interest, mark/index price, basis, cross-venue mark spread and best funding-carry pair, normalized units. Markets SOL, BTC, ETH, HYPE, JUP and more (max 5 per call). Use for funding arbitrage, carry trades or sizing leverage. Params: markets: Comma-separated symbols (default SOL,BTC,ETH; max 5). Supported: SOL,BTC,ETH,HYPE,ZEC,JUP,BNB,XRP,DOGE,SUI - [GET /api/rugcheck](https://solana-x402-data.netlify.app/api/rugcheck?mint=JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN) — 0.01 USDC — Is this Solana token safe to buy? Rug-risk report for any SPL / Token-2022 mint (incl. pump.fun): mint and freeze authority, Token-2022 extensions, supply, top-10 holder concentration excluding pools, largest pools with LP lock/burn, token age, and a 0-100 risk score with plain-language reasons. Cross-checks Solana RPC, DexScreener, Jupiter and RugCheck.xyz. Params: mint (required): SPL / Token-2022 mint address (base58) - [GET /api/token-report](https://solana-x402-data.netlify.app/api/token-report?mint=JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN) — 0.08 USDC — One-call due diligence before buying any Solana token: full rug check (mint/freeze authority, Token-2022 extensions, top-10 holders excl. pools, LP lock/burn per pool, 0-100 risk score with reasons) + live Jupiter price and 5m/1h/6h/24h change + DexScreener market data (total liquidity, 24h volume, buys/sells, pair count, first-pair age, main pair) + website/socials, with a pass/caution/avoid verdict and flags. Replaces ~5 separate calls (rugcheck + price + liquidity + age + socials). Params: mint (required): SPL / Token-2022 mint address (base58) - [GET /api/wallet](https://solana-x402-data.netlify.app/api/wallet?address=D5AKRGcjAiquuFKcMu5isFTNqHYsAuyYto6ZuYg4eikr&limit=12) — 0.02 USDC — Profile any Solana wallet: SOL and token holdings with USD values, recent swaps parsed from the last N transactions, per-token flows with approximate PnL, and bot-like behavior signals. Use for copy-trading research, smart-money checks or counterparty due diligence. Approximations are stated in the response. Params: address (required): Wallet address (base58); limit: Transactions to parse (5-15 on public RPC, up to 40 with a private RPC) ## Free - [OpenAPI 3.1](https://solana-x402-data.netlify.app/openapi.json) - [x402 discovery manifest](https://solana-x402-data.netlify.app/.well-known/x402) - [Health](https://solana-x402-data.netlify.app/health) - [Agent card](https://solana-x402-data.netlify.app/.well-known/agent.json) - [Sitemap](https://solana-x402-data.netlify.app/sitemap.xml) - Free sample responses: https://solana-x402-data.netlify.app/samples/index.json ## Agent flow (recommended) 1. Discover: GET /api/trending?sort=volume (0.01) or /api/new (0.005) or /api/news?q=solana (0.005) 2. Screen: GET /api/token-report?mint= (0.08) — risk score + reasons + price + liquidity + age + holders in one call; or the lighter /api/rugcheck?mint= (0.01). Skip anything with risk_level high/critical 3. Value: GET /api/price?tokens= (0.005) 4. Study: GET /api/wallet?address= (0.02) for smart-money / counterparty checks 5. Hedge: GET /api/perps?markets=SOL,BTC (0.01) A trending -> rugcheck -> price loop costs ~0.025 USDC; trending -> token-report costs 0.09 USDC. ## Client example (buyer side) ```js import { x402Client, wrapFetchWithPayment } from "@x402/fetch"; import { registerExactSvmScheme } from "@x402/svm/exact/client"; const pay = wrapFetchWithPayment(fetch, registerExactSvmScheme(new x402Client(), { signer })); const r = await pay("https://solana-x402-data.netlify.app/api/price?tokens=SOL,JUP"); ```