DEV Community

Andrew Glaz
Andrew Glaz

Posted on

I built a free crypto signal API for AI agents — 50 requests, no signup, wallet is identity.

I built a free crypto signal API for AI agents — 50 requests, no signup, wallet is identity

I've been building tools for AI agents that trade crypto and sports markets. The biggest friction I kept hitting: every data API requires signup, API keys, rate limit tiers, and OAuth flows. AI agents don't have email addresses. They have wallets.

So I built BotIndex — a signal intelligence API where your wallet is your identity, and payment is your auth.

Try it right now

# Free — see all 17 endpoints with pricing
curl https://king-backend.fly.dev/api/botindex/v1/

# Free — live Zora trending coins (real data)
curl https://king-backend.fly.dev/api/botindex/zora/trending-coins

# Free trial — send your wallet, get premium data


Enter fullscreen mode Exit fullscreen mode

curl -H "X-Wallet: 0xYOUR_ADDRESS" \
https://king-backend.fly.dev/api/botindex/v1/signals

→ 200 OK + real data + X-BotIndex-Free-Remaining: 49

No signup form. No API key generation page. No email confirmation. Just `curl` and data.

How the free trial works

Every wallet gets **50 free premium requests**. The mechanism is dead simple:

1. Send an `X-Wallet: 0x...` header with any request
2. We hash your wallet address (privacy-preserving, we don't store the raw address)
3. You get real premium data back
4. Response header `X-BotIndex-Free-Remaining: 49` tells you exactly where you stand
5. After 50 requests, the endpoint returns HTTP 402 with x402 payment instructions

No credit card. No "free tier with degraded data." You get the exact same data paying customers get.

What data does it serve?

BotIndex covers 7 domains:

Enter fullscreen mode Exit fullscreen mode
Domain Examples Price
Sports Live odds, line movements, player correlations, DFS optimizer, arb scanner $0.02–$0.10
Crypto Token universe, correlation matrices, market leaders $0.02–$0.05
Zora Trending coins, volume velocity, holder analytics Free preview
Hyperliquid Funding rate arb, cross-exchange correlations Free preview
Solana/Genesis Metaplex token launches, active/graduated tokens $0.02
Commerce ACP vs UCP vs x402 protocol comparison $0.01–$0.05
Signals Aggregated feed, agent traces, premium dashboard $0.05–$0.50

For AI agent developers (MCP)

If you're building with Claude, Cursor, or any MCP-compatible client:

npm install botindex-mcp-server
Enter fullscreen mode Exit fullscreen mode

Add to your Claude Desktop config:

{
  "mcpServers": {
    "botindex": {
      "command": "npx",
      "args": ["-y", "botindex-mcp-server"]
    }


Enter fullscreen mode Exit fullscreen mode

}
}

Your agent now has 17 tools for market intelligence. Ask it to "find the top correlated crypto pairs" or "show me live NBA odds" and it calls BotIndex automatically.

Why x402 instead of API keys?

x402 is Coinbase's protocol for HTTP 402 Payment Required. Instead of:

1. Sign up for account
2. Verify email
3. Generate API key
4. Store key securely
5. Manage rate limits
6. Handle billing

You get:

1. Send request with wallet header
2. Get data

That's it. An AI agent can discover BotIndex, read the pricing from the discovery endpoint, and start consuming data — all without human intervention. This is how agent-to-agent commerce should work.

The architecture

Enter fullscreen mode Exit fullscreen mode

king-backend.fly.dev (Fly.io)
├── /api/botindex/v1/ ← Signal intelligence (x402-gated)
│ ├── sports/* ← Odds, lines, props, correlations, optimizer, arb
│ ├── crypto/* ← Tokens, graduation signals
│ ├── solana/* ← Metaplex Genesis launches
│ ├── commerce/* ← Protocol comparison

You get:

  1. Send request with wallet header
  2. Get data

That's it. An AI agent can discover BotIndex, read the pricing from the discovery endpoint, and start consuming data — all without human intervention. This is how agent-to-agent commerce should work.

│   ├── signals          ← Aggregated premium feed
│   ├── dashboard        ← Full premium payload
│   └── trace/:agentId   ← Agent reasoning traces
├── /api/botindex/zora/* ← Free preview endpoints
└── /api/botindex/hyperliquid/* ← Free preview endpoints
Enter fullscreen mode Exit fullscreen mode

The free trial middleware sits before the x402 payment gate. If your wallet has remaining free requests, it bypasses payment entirely. After 50, the x402 gate kicks in and you pay per request with USDC on Base.

What's next

• Expanding token coverage (currently 29 tokens from DexScreener)
• More free preview endpoints to reduce friction
• SSE transport for real-time streaming
• Agent-to-agent referral tracking (wallets that refer other wallets get loyalty pricing)

Links

Live API: https://king-backend.fly.dev/api/botindex/v1/
MCP Server: https://npmjs.com/package/botindex-mcp-server
Source: https://github.com/Cyberweasel777/King-Backend
x402 Protocol: https://github.com/coinbase/x402

───

If you're building AI agents that need market data, try the free trial and let me know what endpoints you'd want added. The discovery endpoint at /api/botindex/v1/ lists everything with pricing.

Top comments (0)