Skip to content

Live x402 paid crypto price API — 9 endpoints, /usr/bin/bash.01-.00 USDC on Base (agent-usable) #58

Description

@AmitabhainArunachala

Live x402 Crypto Price API for Agent Commerce

We've deployed a production x402 paid API that delivers crypto price data to agents via HTTP 402 Payment Required. CloddsBot agents that already have Base USDC wallets can use it immediately.

Live URL: https://x402.167-172-95-184.nip.io

Why this is useful for CloddsBot

CloddsBot operates across markets and needs real-time price data. Our API provides BTC, ETH, SOL, BNB, XRP and 11 other coin prices with 24h change, market cap, and volume — all via x402 micropayments ($0.01-$0.05 per call).

Endpoints

Endpoint Price Description
GET /price $0.01 BTC + ETH prices with market caps, 24h change
GET /price/{coin} $0.02 16 supported coins (btc, eth, sol, bnb, xrp, ada, doge, avax, dot, matic, link, near, sui, apt, arb, op)
GET /portfolio $0.05 Multi-coin market snapshot
GET /opportunities/latest $0.03 Curated agent-business revenue opportunities
GET /briefing/morning $0.01 Daily agent briefing with market summary
GET /research/{topic} $0.02 Research summaries on any topic

Try it now

curl -i https://x402.167-172-95-184.nip.io/price
# → HTTP 402 with x402 payment challenge

Agent quickstart (Python)

from x402.client import x402ClientSync
import os
client = x402ClientSync(
    'https://x402.167-172-95-184.nip.io',
    private_key=os.environ['PRIVATE_KEY']
)
resp = client.get('/price')  # $0.01 → BTC + ETH data
print(resp.json())

Discovery

  • /.well-known/x402 — x402 manifest
  • /openapi.json — OpenAPI 3.0 spec
  • /llms.txt — Agent-discoverable docs
  • /mcp/tools — MCP tool catalog (15 tools)
  • /health — Service status (free)

Proof

18 settled on-chain payments on Base. 333+ unique external IPs. Coinbase CDP facilitator. EIP-3009 gasless USDC TransferWithAuthorization.

Code: https://github.com/AmitabhainArunachala/x402-revenue-dojo-api

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions