Quick Start
Get started with AlliGo in 3 simple steps. You can use the API immediately with x402 payment - no API key required for first request.
Get Your First Report for $1 USDC
Try the full API with a single payment. No signup required.
Make a Request
Call any protected endpoint. You'll receive a 402 Payment Required response with payment details.
Send USDC Payment
Send exactly $1 USDC to the recipient address on Base, Ethereum, Polygon, Arbitrum, Optimism, or Solana.
Retry with Proof
Include your transaction hash in the X-Payment header. Get instant access to the data.
Try It Now - Free Public Endpoint
Check an Agent's Risk Score
Response
Authentication
AlliGo supports two authentication methods:
Option 1: x402 Payment (Recommended for Quick Access)
Pay per-request with USDC. No API key needed. Perfect for one-off queries or testing.
// Step 1: Make request without auth POST /api/forensics Content-Type: application/json {"agentId": "eliza_trader_001"} // Step 2: Receive 402 Payment Required { "version": "x402/1.0", "accepts": [{ "paymentType": "usdc", "chain": "base", "recipient": "0x742d35Cc...", "amount": "1.000000" }] } // Step 3: Retry with payment proof POST /api/forensics X-Payment: {"txHash":"0xabc123...","chain":"base"}
Option 2: API Key
GET /api/agents/:agentId/score Authorization: Bearer alligo_live_xxxxxxxxxxxxx
x402 Payment Protocol
AlliGo uses the x402 protocol for USDC payments. Instant, trustless access to premium data.
Payment Tiers
- ✓ 1 API request
- ✓ Full forensics report
- ✓ 50 API requests
- ✓ Full forensics reports
- ✓ 500 API requests
- ✓ Priority support
- ✓ Unlimited (30 days)
- ✓ Dedicated support
Supported Chains
- Base
- Ethereum
- Polygon
- Arbitrum
- Optimism
- Solana
API Endpoints
Get Agent Risk Score
GET /api/agents/:agentId/score
200 OK Response
{
"agentId": "eliza_trader_001",
"riskScore": 72.5,
"grade": "B",
"totalClaims": 2,
"totalValueLost": 57000
}
Deep Forensics Report
Full on-chain forensics analysis. Requires x402 payment or API key.
POST /api/forensics Content-Type: application/json { "agentId": "0x742d35Cc...", "depth": "standard" }
Trust Badge SVG
GET /api/badge/:agentId.svg
Public Statistics
GET /api/public/stats
Error Codes
402 Payment Required
{ "error": "Payment required", "payment": {...} }
401 Unauthorized
{ "error": "Unauthorized" }
429 Rate Limited
{ "error": "Rate limit exceeded" }
Rate Limits
| Tier | Requests/Day |
|---|---|
| Free | 100 |
| x402 Single ($1) | 1 |
| x402 Basic ($10) | 50 |
| x402 Pro ($50) | 500 |
| x402 Enterprise ($200) | Unlimited |