Repository avatar
AI Tools
v1.0.0
active

exactjson

io.github.exactjsondev/exactjson

Live, deterministic x402 APIs for AI agents: 11 Base USDC market, safety, arb & macro tools.

Documentation

ExactJSON — Live, deterministic x402 APIs for AI agents

ExactJSON MCP server

Website & Docs: https://exactjson.com · Remote MCP: https://exactjson.com/mcp · Stdio MCP: npx -y exactjson-mcp · Contact: hello@exactjson.com

ExactJSON serves pre-computed, strict-schema, token-optimized JSON endpoints for AI agents via x402 V2 micro-payments on Base Mainnet (eip155:8453, USDC) — $0.005–$0.02/call, zero API keys, zero subscriptions, strict Pay-Only-On-Success settlement (HTTP 200 only).

Disclaimer: Informational market/security data only; not financial advice.

Why ExactJSON

  • Cheaper than free raw APIs for LLM agents: Pulling 600+ Deribit contracts or 180+ Hyperliquid assets raw into an LLM context costs $0.02–$0.15 in input tokens and invites math hallucinations. ExactJSON returns one deterministic ~2 KB JSON payload.
  • Pay-Only-On-Success: Unpaid probes return 402 with PAYMENT-REQUIRED terms. Invalid inputs (400/404), upstream outages (502), and operator pause (503) never settle payment.
  • Fail-Closed Security: Missing primary security engines (GoPlus + Honeypot.is on EVM; RugCheck on Solana) return 502 instead of falsely marking a token safe.

Live Endpoints (11 Paid Resources — Base Mainnet USDC)

CategoryEndpointPrice (USDC)What It Returns
SafetyGET /v1/evm/safety$0.01GoPlus + Honeypot.is dual-engine audit, disagreement flags, taxes & DEX liquidity (Base, ETH, Arb, OP, Polygon, BSC)
ExecutionGET /v1/execution/quote-check$0.01Multi-tier $1k/$10k/$50k+ slippage ladder (KyberSwap EVM or Hyperliquid L2), max_size_under_100bps_usd, liquidity_grade
SafetyGET /v1/solana/safety$0.01RugCheck 0–100 risk score, authority booleans, LP lock & liquidity/FDV ratios
DiscoveryGET /v1/solana/trending$0.015Trending Solana pools pre-screened in parallel with RugCheck safety flags
PerpsGET /v1/perps/snapshot$0.005Single-coin Hyperliquid funding, basis, spread, depth imbalance & $10k L2 VWAP slippage
PerpsGET /v1/perps/screener$0.01Full ~180+ Hyperliquid perp scan for extreme funding APRs, basis dislocations & turnover
PerpsGET /v1/perps/funding-arb$0.0153-venue annualized funding spreads (Hyperliquid, dYdX v4, Kraken Futures) with bottleneck leg OI
PredictionsGET /v1/predictions/arb$0.02Polymarket vs. Kalshi 72h-window arbitrage detector with fee-adjusted net edge & resolution_risk_warning
PredictionsGET /v1/predictions/scanner$0.01Polymarket + Kalshi implied probabilities, bid-ask spreads, keyword search & annualized carry
OptionsGET /v1/options/surface$0.015Deribit BTC/ETH ATM IV term structure, contango/backwardation, OTM skew, Max Pain & OI walls
MacroGET /v1/macro/liquidity$0.01Official US Treasury Debt + TGA flows, NY Fed ON RRP, EFFR/SOFR spread & net USD liquidity impulse

Native MCP Quickstart (12 Tools — Remote Streamable HTTP or Stdio)

  • Remote Streamable HTTP (x402-native MCP clients): https://exactjson.com/mcp
  • Local Stdio (exactjson-mcp@1.1.0):
{
  "mcpServers": {
    "exactjson": {
      "command": "npx",
      "args": ["-y", "exactjson-mcp"],
      "env": {
        "BUYER_PRIVATE_KEY": "0xYOUR_LOW_BALANCE_BASE_WALLET_KEY",
        "MAX_PAYMENT_USD": "$0.05"
      }
    }
  }
}

Official MCP Registry ID: io.github.exactjsondev/exactjson.

Machine Discovery (Free, 0ms x402 Overhead)

  • GET https://exactjson.com/ (Accept: text/html for docs; Accept: application/json for JSON index, Vary: Accept)
  • GET https://exactjson.com/.well-known/x402 (alias: /.well-known/x402.json)
  • GET https://exactjson.com/.well-known/api-catalog (RFC 9727)
  • GET https://exactjson.com/.well-known/mcp/server-card.json
  • GET https://exactjson.com/.well-known/agent-card.json (alias: /.well-known/agent.json)
  • GET https://exactjson.com/openapi.json
  • GET https://exactjson.com/llms.txt
  • GET https://exactjson.com/sitemap.xml
  • GET https://exactjson.com/health

Local Development

npm install
npx tsc --noEmit
npm test
npm run dev

License

MIT

NPM
exactjson-mcp
Install Command
npm install exactjson-mcp