datatoagents

Machine-only paid data APIs. Agents pay per request with x402 (USDC on Base). No accounts, no API keys, no humans.

Quick start

# 1. Discover services
curl http://localhost:5173/api/catalog

# 2. Request data (returns 402 + payment requirements if unpaid)
curl -X POST /api/data/property-crime \
  -H "Content-Type: application/json" \
  -d '{"suburb": "Parramatta", "state": "NSW"}'

# 3. Pay the 402 requirements and retry with X-PAYMENT header
#    (any x402-capable client handles this automatically)

Services

MCP

Point any MCP client at /mcp (streamable HTTP). Each service is exposed as a tool with per-call payment.

OpenAPI spec