⚡ How It Works — x402 Micropayments
💰 Pay-Per-Call with USDC on Base
SUPAH API uses the x402 protocol. Inspect the live manifest, make the request, settle in Base USDC, and get your data. Like putting a coin in a vending machine that actually shows the price first.
Powered by Coinbase x402 Protocol — USDC payments on Base mainnet. No middlemen.
💰 Pricing — Per-Call (USDC on Base)
| Tier | Price | Endpoints |
|---|---|---|
| ⚡ Basic | $0.001 | /price · /metadata · /pairs · /trending |
| 🔮 Standard | $0.005 – $0.01 | /safety · /holders · /transfers · /swaps · /whale-moves · /approvals · /wallet-history · /net-worth · /signals/history |
| 👑 Premium | $0.02 – $0.05 | /scan · /signals · /discovery · /analytics · /portfolio · /wallet-pnl · /defi |
Full manifest: api.supah.ai/.well-known/x402-manifest.json
⚡ x402 Quick Start
SUPAH API charges per call with USDC on Base. The shortest route from curiosity to proof is the Starter Proof lane on app.supah.ai.
🧾 Verified Paid Safety Receipt
The safety path has completed a live 0.05 USDC x402 payment on Base. Inspect the privacy-safe receipt feed, then use the same paid route for your own safety scan.
🌐 Base URL
🛠️ Code Examples
JavaScript (with x402 SDK)
MCP Server (Claude / Cursor / AI Agents)
Published on npm: npmjs.com/package/supah-mcp
❌ Error Handling
| Status | Meaning |
|---|---|
200 | Success — data returned |
400 | Invalid address or parameters |
402 | Payment required — use x402 SDK to auto-pay |
500 | Server error — try again |
🛡️ Token Safety
GET /api/v1/safety/:address Tier 1
Get a comprehensive safety score for any Base chain token. Includes GoPlus audit, deployer analysis, risk flags, and honeypot detection.
| Parameter | Type | Description |
|---|---|---|
address required | string | Token contract address (0x...) |
Example response:
GET /api/v1/analyze/:address Pro
Deep analysis including safety score, on-chain metrics, liquidity health, holder distribution, and trading activity. The full intelligence report.
| Parameter | Type | Description |
|---|---|---|
address required | string | Token contract address |
GET /api/v1/check/:address Tier 1
Quick safety check — returns cached result if available, otherwise runs a fresh scan. Faster than /safety for known tokens.
POST /api/v1/batch Pro+
Scan up to 20 tokens in a single request. Parallel execution with per-token error isolation. Perfect for portfolio monitoring or DEX aggregators.
| Parameter | Type | Description |
|---|---|---|
addresses required | string[] | Array of token contract addresses (max 20) |
📡 Trading Signals
GET /api/v1/signals/latest Pro
Get the latest trading signals generated by SUPAH's intelligence engine. Includes BUY, STRONG_BUY, and HOLD signals with conviction scores.
GET /api/v1/signals/history Pro
Historical signal data with outcome tracking. See which signals led to profits and which were avoided.
| Parameter | Type | Description |
|---|---|---|
limit optional | number | Results per page (default 20, max 100) |
action optional | string | Filter: BUY, STRONG_BUY, SELL, HOLD |
GET /api/v1/signals/stats Tier 1
Signal performance statistics. Win rates, average returns, signal count by type. Transparent track record.
🧠 Intelligence
GET /api/v1/leaderboard Tier 1
Safety leaderboard — the safest and riskiest tokens on Base, ranked by SUPAH's composite safety score.
🧩 Embeddable Widgets
GET /api/v1/widget/safety?address=0x... Tier 1
Embeddable safety badge HTML. Drop a token safety score into any webpage or dashboard.
GET /api/v1/widget/embed?address=0x... Utility
Get embeddable HTML/JS snippet for your site. Returns copy-paste code for safety badges.
🛠️ Resources
MCP supah-mcp (npm) Install
Use SUPAH as a tool in Claude, Cursor, OpenClaw, or any MCP-compatible AI agent. All 20+ endpoints available as tools.
GET /.well-known/x402-manifest.json Public
Machine-readable manifest of all endpoints, pricing, and payment details. Used by x402 clients and AI agents for auto-discovery.
⚡ Pay Per Call — One Starter Proof, Then Scale
USDC micropayments on Base. Start with one paid proof receipt, then scale into agent calls, manifests, and MCP installs.
⚡ Quick Data
- Price and metadata
- Pairs and trending
- x402 on Base
- Low-friction agent access
🧾 Starter Proof
- Run one paid Base call
- Capture a reusable receipt
- USDC on Base
- Proof for builders and partners
- Manifest-driven pricing
Questions? Ask on Telegram · Follow on X · Open Dashboard
SUPAH
GET /api/v1/social-proof Tier 1
Platform statistics: total tokens analyzed, active trades, win rate, pipeline depth. Great for integration partners.