ExactJSON

為 AI agents 提供即時、確定性的 x402 API。在 Base Mainnet (USDC) 上查詢涵蓋市場、安全、世界、商務與研究的 31 個按次付費 JSON 端點,無需 API 金鑰,發生錯誤時費用為 $0。

託管 MCP 伺服器

npx add-mcp 'https://exactjson.com/mcp'

可安裝到 Claude Code、Codex、Cursor 等客戶端

文件

ExactJSON — Live, deterministic x402 APIs for AI agents

CI npm version License: MIT ExactJSON MCP server

Website: https://exactjson.com (Quickstart · Docs · Pricing) · Remote MCP: https://exactjson.com/mcp · Security MCP: https://exactjson.com/mcp/security · World MCP: https://exactjson.com/mcp/world · Commerce MCP: https://exactjson.com/mcp/commerce · Research MCP: https://exactjson.com/mcp/research · Stdio MCP: npx -y exactjson-mcp · x402scan: Listing · X: @exactjson · Security: SECURITY.md (security@exactjson.com) · Contact: hello@exactjson.com

Live facts and exact math, distilled to ~2 KB. ExactJSON queries primary official sources, runs deterministic math in code, and returns compact ~2 KB JSON across 31 pay-per-call endpoints and 5 vertical MCP packs on Base Mainnet (eip155:8453, USDC). Calls settle $0.005–$0.02 on HTTP 200 only — no accounts, no API keys, $0 ETH gas, and $0.00 on every error.

Quickstart: Connect via MCP, @x402/fetch, AgentCash, or a paste-ready agent prompt at exactjson.com/setup.

Disclaimer: Informational market, security, weather/hazard, entity/compliance, and scientific/clinical metadata only; not financial, legal, tax, accounting, medical, or sole life-safety/flight-navigation advice.

Why ExactJSON

  • Direct from the source: Queries live registries and exchanges (EU VIES, FAA/NOAA, Crossref/Retraction Watch, OSV/CISA KEV, GoPlus+Honeypot.is, BIS/ECB/NY Fed, ClinicalTrials.gov) and computes exact math in code.
  • Cheaper than raw tokens: Feeding 600+ Deribit contracts, 180+ Hyperliquid assets, 430 KB package manifests, 555 KB GDACS feeds, 313 KB CPSC dumps, or 112 KB PubChem trees into an LLM costs $0.02–$0.15 in input tokens and invites math errors. ExactJSON distills that noise to ~2 KB for $0.005–$0.02.
  • Pay-Only-On-Success ($0 ETH gas): Unpaid probes return 402 with PAYMENT-REQUIRED terms. Invalid inputs (400/404), upstream outages (502), and pauses (503) always cost $0.00.
  • Fail-Closed Safety: Missing primary security or registry engines return 502 instead of reporting a target as safe or valid.

Live Endpoints (31 Paid Resources — Base Mainnet USDC)

Markets Pack (/mcp / --pack markets — 12 Paid Tools)

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
Global MacroGET /v1/macro/global-rates$0.0138-country BIS policy rates + ECB DFR/MRR/ESTR + Bank of Canada CORRA + NY Fed EFFR/SOFR hike/cut cycles & FX carry matrix

Security Pack (/mcp/security / --pack security — 7 Paid Tools)

CategoryEndpointPrice (USDC)What It Returns
Supply ChainGET /v1/oss/package-audit$0.01Pre-install npm/PyPI/Cargo OSV vulns, OpenSSF Scorecard, package age (slopsquatting gate), SLSA & install hooks
NetworkGET /v1/net/domain-trust$0.01Cloudflare 1.1.1.2 malware sinkhole check, DNSSEC validation, SPF/DMARC spoofing posture & IANA RDAP age
AppSecGET /v1/sec/cve-triage$0.01Active exploitation urgency combining CISA KEV status, FIRST.org 30d EPSS probability, CVSS & OSV fixed versions
Cloud OpsGET /v1/ops/cloud-status$0.005Live incident & degraded-component gate across GitHub, Cloudflare, OpenAI, Anthropic, Vercel & npm
ComplianceGET /v1/oss/runtime-eol$0.005Deterministic End-of-Life (EOL), LTS status, latest patch & recommended upgrade cycle across 350+ runtimes/OSes
MLOpsGET /v1/ai/model-audit$0.01Hugging Face commercial license check, safetensors vs pickle code-exec flags & fp16/int8/int4 VRAM sizing
ReachabilityGET /v1/net/censorship-check$0.01Country-specific blocking & network anomaly detection via live OONI web_connectivity + global Cloudflare DoH

World Pack (/mcp/world / --pack world — 5 Paid Tools)

CategoryEndpointPrice (USDC)What It Returns
AviationGET /v1/aviation/airport-delays$0.01Global NOAA METAR/TAF/SIGMET flight category (VFR/MVFR/IFR/LIFR) + US FAA NAS Ground Stops & Closures
Space WeatherGET /v1/space/weather-gnss$0.01NOAA SWPC R/S/G scales, Kp forecast, solar wind Bz & CelesTrak F10.7 flux -> RTK-GPS, compass & LEO drag gates
HazardsGET /v1/geo/hazard-brief$0.015Worldwide site hazard brief combining UN/EU GDACS, USGS seismic, NASA EONET, MET Norway & US Census/EPA TRI
TravelGET /v1/travel/destination-brief$0.01GOV.UK FCDO foreign travel advisory compression, active regional GDACS disasters & Nager.Date public holidays
Solar & WindGET /v1/solar/site-window$0.01NASA POWER PV irradiance climatology, 7-day MET Norway drone/ag low-wind windows & UTC sunrise/civil twilight

Commerce Pack (/mcp/commerce / --pack commerce — 4 Paid Tools)

CategoryEndpointPrice (USDC)What It Returns
TreasuryGET /v1/commerce/settlement-window$0.01Mutual T+0/T+1/T+2 banking open dates (Fri-Sat vs Sat-Sun + Nager.Date), ISO 4217 minor units, SEPA/CLS rails & p95 FX buffer
Invoice FraudGET /v1/commerce/vat-verify$0.01Live EU-27 + XI VIES VAT check (502 fail-closed on MS_UNAVAILABLE), 90-country IBAN MOD 97-10 + SEPA, GLEIF BIC lookup & country-mismatch flags
Corporate KYBGET /v1/entity/company-verify$0.01GLEIF LEI status & direct/ultimate parents, Wikidata domain/ticker, SEC EDGAR submissions & USAspending federal awards
Product SafetyGET /v1/consumer/safety-recall$0.01US CPSC consumer product recalls + openFDA Class I–III food/drug/device enforcement with ongoing-status & injury severity ranking

Research Pack (/mcp/research / --pack research — 3 Paid Tools)

CategoryEndpointPrice (USDC)What It Returns
CitationsGET /v1/science/citation-verify$0.005Crossref Polite Pool + DataCite (arXiv/Zenodo) + Retraction Watch DOI existence, retraction/concern flags & swapped-DOI checks
ChemistryGET /v1/chem/hazard-profile$0.01NIH PubChem properties + GHS hazard pictograms, H/P-codes, Signal word, CAS RN, CMR/flammability flags & NFPA 704 ratings
Clinical TrialsGET /v1/bio/drug-trial-brief$0.015ClinicalTrials.gov v2 active Phase 2/3 primary completion catalysts + NIH RxNav/RxNorm normalized ingredients & ATC classes

Native MCP Quickstart (Pack-Scoped <= 15 Tools/Pack)

  • Remote Streamable HTTP: https://exactjson.com/mcp (markets), https://exactjson.com/mcp/security (security), https://exactjson.com/mcp/world (world), https://exactjson.com/mcp/commerce (commerce), https://exactjson.com/mcp/research (research), or https://exactjson.com/mcp/all (all)
  • Local Stdio (exactjson-mcp@1.5.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.

Runnable Examples

Self-contained scripts with $0 unpaid 402 dry-run mode (no wallet needed) and a built-in $0.05 spend cap when live:

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
npm run verify
npm run dev

License

MIT