Every endpoint below returns real data from our live trading bots. Click to expand, see the response, copy the curl command, and start building.
x402 = HTTP 402 payments. Your agent pays USDC per call — no API key needed.
You need USDC on Base or Solana. Use Coinbase, Phantom, or any wallet.
Hit any endpoint below. The x402 client handles payment automatically.
JavaScript — x402 SDKimport { paymentMiddleware } from 'x402-next'; // The SDK auto-handles 402 responses and pays in USDC const response = await fetch('https://api.deepbluebase.xyz/signals', { headers: paymentMiddleware({ wallet: yourWallet }) }); const data = await response.json(); // → { signals: [{ coin: "BTC", direction: "UP", confidence: 0.65 }, ...] }
Python — free preview (no wallet needed)import requests # Without payment: returns 402 with sample data (free preview) r = requests.get("https://api.deepbluebase.xyz/signals") if r.status_code == 402: preview = r.json() # includes "sample" field with preview data print(preview["sample"]) print(f"Price: ${preview['price_usdc']}")
Click to expand. Each shows a live sample response and copy-paste curl command. Hit "Try it" to fetch live data.
Live BTC/ETH/SOL/XRP 5-min trading signals from our autonomous trading bot. Includes direction, confidence score, and market regime.
curl https://api.deepbluebase.xyz/signals
import requests r = requests.get("https://api.deepbluebase.xyz/signals") if r.status_code == 402: data = r.json() print(data["sample"]) # free preview print(f"Full data costs ${data['price_usdc']}")
const resp = await fetch("https://api.deepbluebase.xyz/signals"); const data = await resp.json(); if (resp.status === 402) { console.log(data.sample); // free preview console.log(`Full data: $${data.price_usdc}`); }
Crypto sentiment composite: technical indicators, regime detection, and sentiment scores for BTC/ETH/SOL/XRP.
curl https://api.deepbluebase.xyz/sentiment
import requests r = requests.get("https://api.deepbluebase.xyz/sentiment") data = r.json() if r.status_code == 402: sentiment = data["sample"] print(f"Market: {sentiment['market_sentiment']['label']}") for coin in sentiment["coins"]: print(f" {coin['coin']}: {coin['direction']} ({coin['sentiment_score']})")
const resp = await fetch("https://api.deepbluebase.xyz/sentiment"); const data = await resp.json(); if (resp.status === 402) { const { market_sentiment, coins } = data.sample; console.log(`Market: ${market_sentiment.label}`); coins.forEach(c => console.log(` ${c.coin}: ${c.direction}`)); }
On-chain verified trading performance, P&L, and win rate from our Polymarket trading bots.
curl https://api.deepbluebase.xyz/performance
import requests r = requests.get("https://api.deepbluebase.xyz/performance") data = r.json() if r.status_code == 402: perf = data["sample"] print(f"P&L: ${perf['total_pnl']} | Win rate: {perf['win_rate']:.1%}") print(f"Total trades: {perf['total_trades']}")
const resp = await fetch("https://api.deepbluebase.xyz/performance"); const data = await resp.json(); if (resp.status === 402) { const { total_pnl, win_rate, total_trades } = data.sample; console.log(`P&L: $${total_pnl} | Win: ${(win_rate*100).toFixed(1)}%`); console.log(`Trades: ${total_trades}`); }
Real-time token price from Base DEX pools.
curl https://api.deepbluebase.xyz/price/BTC
import requests token = "BTC" # or ETH, SOL, XRP r = requests.get(f"https://api.deepbluebase.xyz/price/{token}") data = r.json() if r.status_code == 402: price = data["sample"] print(f"{price['token']}: ${price['price_usd']}")
const token = "BTC"; // or ETH, SOL, XRP const resp = await fetch(`https://api.deepbluebase.xyz/price/${token}`); const data = await resp.json(); if (resp.status === 402) { console.log(`${data.sample.token}: $${data.sample.price_usd}`); }
Trending tokens and DEX pools on Base chain — volume, price change, and pool data.
curl https://api.deepbluebase.xyz/trending
import requests r = requests.get("https://api.deepbluebase.xyz/trending") data = r.json() if r.status_code == 402: for pool in data["sample"]["pools"]: print(f"{pool['token']}: vol ${pool['volume_24h']:,.0f} ({pool['price_change_pct']:+.1f}%)")
const resp = await fetch("https://api.deepbluebase.xyz/trending"); const data = await resp.json(); if (resp.status === 402) { data.sample.pools.forEach(p => console.log(`${p.token}: $${p.volume_24h.toLocaleString()} (${p.price_change_pct}%)`) ); }
Prediction market analytics — active positions, odds, and volume from Polymarket.
curl https://api.deepbluebase.xyz/polymarket
import requests r = requests.get("https://api.deepbluebase.xyz/polymarket") data = r.json() if r.status_code == 402: print(data["sample"]) # positions, odds, volume
const resp = await fetch("https://api.deepbluebase.xyz/polymarket"); const data = await resp.json(); if (resp.status === 402) { console.log(data.sample); // positions, odds, volume }
AI-powered token analysis and safety score for any Base contract address.
curl https://api.deepbluebase.xyz/token/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
import requests addr = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" # USDC on Base r = requests.get(f"https://api.deepbluebase.xyz/token/{addr}") data = r.json() if r.status_code == 402: print(data["sample"]) # safety score, analysis
const addr = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"; // USDC on Base const resp = await fetch(`https://api.deepbluebase.xyz/token/${addr}`); const data = await resp.json(); if (resp.status === 402) { console.log(data.sample); // safety score, analysis }
Wallet scan and analysis — holdings, activity, and risk assessment.
curl https://api.deepbluebase.xyz/wallet/0x47ffc880cfF2e8F18fD9567faB5a1fBD217B5552
import requests wallet = "0x47ffc880cfF2e8F18fD9567faB5a1fBD217B5552" r = requests.get(f"https://api.deepbluebase.xyz/wallet/{wallet}") data = r.json() if r.status_code == 402: print(data["sample"]) # holdings, activity, risk
const wallet = "0x47ffc880cfF2e8F18fD9567faB5a1fBD217B5552"; const resp = await fetch(`https://api.deepbluebase.xyz/wallet/${wallet}`); const data = await resp.json(); if (resp.status === 402) { console.log(data.sample); // holdings, activity, risk }
BTC macro analysis, funding rates, and liquidation cascade risk assessment.
curl https://api.deepbluebase.xyz/market-intel
import requests r = requests.get("https://api.deepbluebase.xyz/market-intel") data = r.json() if r.status_code == 402: print(data["sample"]) # macro analysis, funding, liquidation risk
const resp = await fetch("https://api.deepbluebase.xyz/market-intel"); const data = await resp.json(); if (resp.status === 402) { console.log(data.sample); // macro analysis, funding, liquidation risk }
Premium prediction market intelligence — positions, odds, volume, and market analysis.
curl https://api.deepbluebase.xyz/prediction-markets
import requests r = requests.get("https://api.deepbluebase.xyz/prediction-markets") data = r.json() if r.status_code == 402: print(data["sample"]) # positions, odds, volume
const resp = await fetch("https://api.deepbluebase.xyz/prediction-markets"); const data = await resp.json(); if (resp.status === 402) { console.log(data.sample); // positions, odds, volume }
Premium sentiment — funding rates, liquidation risk, regime detection, and full composite.
curl https://api.deepbluebase.xyz/crypto-sentiment
import requests r = requests.get("https://api.deepbluebase.xyz/crypto-sentiment") data = r.json() if r.status_code == 402: print(data["sample"]) # funding, liquidation, regime, composite
const resp = await fetch("https://api.deepbluebase.xyz/crypto-sentiment"); const data = await resp.json(); if (resp.status === 402) { console.log(data.sample); // funding, liquidation, regime, composite }
No API keys. No subscriptions. Just USDC micropayments per call.
Send a regular GET request. If unpaid, you get HTTP 402 with a free preview in the sample field.
The 402 response includes payment details. The x402 SDK or AgentCash automatically signs a USDC transfer.
Payment confirmation is sent as a header. You get the complete response with full live data.
0x8335...029130x47ff...b5552
BssD...x9ZD