{
  "x402Version": 2,
  "name": "PayAPI Market",
  "description": "Discovery index for x402-enabled APIs on PayAPI Market. Each listed resource returns an x402 v2 HTTP 402 challenge; pay per request in USDC on Base (eip155:8453). The resources below are the first-party APIs only. For the full catalogue, including every settlement-verified third-party listing, use the agent discovery API at https://payapi.market/agent.",
  "homepage": "https://payapi.market",
  "catalogue": {
    "index": "https://payapi.market/agent",
    "search": "https://payapi.market/agent/search?q=",
    "list": "https://payapi.market/agent/list",
    "get": "https://payapi.market/agent/get?id=",
    "note": "Derived from the listings database at request time. list and search default to verified_only=true."
  },
  "mcp": {
    "transport": "sse",
    "url": "https://web-production-18a32.up.railway.app/mcp/sse",
    "scope": "UK property tools only (sold prices, yield estimate, stamp duty, EPC and siblings). It does NOT expose the rest of the marketplace catalogue as callable tools. For marketplace-wide catalogue search, use mcp_catalogue below, which is a separate free server.",
    "free": [
      "tools/list"
    ],
    "paid": "tools/call returns an x402 challenge and settles per call.",
    "session_note": "SSE sessions are short-lived. POST to the session endpoint promptly after receiving the endpoint event; an idle session returns 404 Session not found."
  },
  "mcp_catalogue": {
    "transport": "streamable-http",
    "url": "https://payapi.market/mcp",
    "manifest": "https://payapi.market/.well-known/mcp.json",
    "stateless": true,
    "scope": "Marketplace catalogue discovery across every live listing: search_apis, list_apis, get_api. It returns listing metadata and base_urls; it does not call or proxy any provider API.",
    "free": [
      "initialize",
      "tools/list",
      "tools/call",
      "ping"
    ],
    "paid": null,
    "payment_note": "Every method is free. This server never returns an x402 challenge and never spends money. Paying a listed API is done by the caller, directly against that provider own 402 challenge using the base_url this server returns.",
    "session_note": "Stateless: replies application/json rather than SSE and issues no Mcp-Session-Id, so there is no session to keep alive and no ordering requirement."
  },
  "resources": [
    {
      "name": "Property Data",
      "host": "property.payapi.market",
      "x402": "https://property.payapi.market/.well-known/x402.json"
    },
    {
      "name": "UK HMO Licence",
      "host": "hmo.payapi.market",
      "x402": "https://hmo.payapi.market/.well-known/x402.json"
    },
    {
      "name": "Company Enrichment",
      "host": "company.payapi.market",
      "x402": "https://company.payapi.market/.well-known/x402.json"
    },
    {
      "name": "Finance Data",
      "host": "finance.payapi.market",
      "x402": "https://finance.payapi.market/.well-known/x402.json"
    },
    {
      "name": "Weather Data",
      "host": "weather.payapi.market",
      "x402": "https://weather.payapi.market/.well-known/x402.json"
    },
    {
      "name": "Vehicle Data",
      "host": "vehicle.payapi.market",
      "x402": "https://vehicle.payapi.market/.well-known/x402.json"
    }
  ],
  "known_issues": [
    "On the first-party hosts above, the extensionless path /.well-known/x402 and /llms.txt are currently behind the payment middleware and return 402. The .json manifest linked above is free and is the correct discovery URL. Tracked for a middleware allowlist fix."
  ]
}
