{
 "openapi": "3.1.0",
 "info": {
  "title": "What Agents Buy API",
  "version": "1.0.0",
  "description": "Independent trust, discovery and delivery data for the APIs behind agentic commerce. Free JSON endpoints plus one paid x402 lookup. No key required for the free data.",
  "license": {
   "name": "CC BY 4.0"
  },
  "contact": {
   "url": "https://whatagentsbuy.com"
  }
 },
 "servers": [
  {
   "url": "https://whatagentsbuy.com"
  }
 ],
 "paths": {
  "/x402/service": {
   "get": {
    "summary": "Everything known about one x402 seller, by host",
    "description": "Grade earned by paying, live-vs-listed price honesty, payTo stability, demand shape, Organic Demand Score and delivery verification for one host. Paid $0.001 USDC on Base via x402; the free bulk data is at /api/catalog.json.",
    "parameters": [
     {
      "name": "host",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "example": "blockrun.ai"
     }
    ],
    "x-402": {
     "price": "0.001",
     "currency": "USDC",
     "network": "eip155:8453",
     "payTo": "0xC533Bf5268A2F64aDDe58dcE380651f70Aa92D7A"
    },
    "responses": {
     "200": {
      "description": "Seller trust and delivery record"
     },
     "402": {
      "description": "Payment required (x402 challenge)"
     }
    }
   }
  },
  "/api/catalog.json": {
   "get": {
    "summary": "Every payable endpoint, searchable, with price, chains, reliability and delivery",
    "responses": {
     "200": {
      "description": "The payable market"
     }
    }
   }
  },
  "/api/probe.json": {
   "get": {
    "summary": "The whole directory checked free: who answers, price and payTo honesty, reliability",
    "responses": {
     "200": {
      "description": "Probe results"
     }
    }
   }
  },
  "/api/delivery.json": {
   "get": {
    "summary": "Paid delivery checks: does the API return what it promised, with the real response shape",
    "responses": {
     "200": {
      "description": "Delivery verifications"
     }
    }
   }
  },
  "/api/leaderboard.json": {
   "get": {
    "summary": "Who actually gets paid, cross-chain (Base + Solana)",
    "responses": {
     "200": {
      "description": "Settlement leaderboard"
     }
    }
   }
  },
  "/api/ratings.json": {
   "get": {
    "summary": "Grades earned by paying each service",
    "responses": {
     "200": {
      "description": "Ratings"
     }
    }
   }
  },
  "/api/receipts.json": {
   "get": {
    "summary": "Dispute receipts: one self-verifying record per paid call, promise vs delivery with a three-level verifiable verdict",
    "responses": {
     "200": {
      "description": "The dispute ledger"
     }
    }
   }
  },
  "/api/preflight.json": {
   "get": {
    "summary": "Preflight: one CLEAR/HOLD/ABORT pre-payment verdict per seller, the check an agent runs before the 402",
    "responses": {
     "200": {
      "description": "Pre-payment verdicts by host"
     }
    }
   }
  },
  "/api/categories.json": {
   "get": {
    "summary": "The accuracy corpus: every objective-category seller graded against a primary source, ranked by deviation then price",
    "responses": {
     "200": {
      "description": "Per-category accuracy leaderboards"
     }
    }
   }
  }
 },
 "x-mcp": {
  "url": "https://whatagentsbuy.com/mcp",
  "transport": "streamable-http",
  "install": "claude mcp add --transport http whatagentsbuy https://whatagentsbuy.com/mcp"
 }
}