openapi: 3.2.0 info: title: MERCURY x402 storefront Cited Markdown API version: '1' x-spec: mercury-storefront/1 description: Agent-payable resources over HTTP 402 (x402). LIVE — Base mainnet, real USDC, no token. Only currently-deliverable routes are listed (web-fetch is the live paid SKU; mints are gated off). Free discovery at /.well-known/x402, /x402/discovery, /catalog, and /manifest. servers: - url: https://network.mercury-hq.com tags: - name: cited-markdown paths: /buy/markdown: get: summary: MERCURY Cited Markdown description: 'URL → clean, LLM-ready markdown (boilerplate/nav/ads stripped, headings + lists + links preserved) with a signed provenance receipt pinning the markdown to its source — the RAG-ingest primitive. Deterministic (no LLM): same URL + same source bytes ⇒ byte-identical markdown.' operationId: buy_cited_markdown tags: - cited-markdown responses: '200': description: Delivered after the x402 payment settles on Base mainnet. content: application/json: schema: type: object properties: ok: type: boolean description: true on success; false on an honest failure (503-before-charge) url: type: string description: final URL after redirects status: type: integer description: upstream HTTP status text: type: string description: the canonical clean MARKDOWN (the string the signed receipt pins) — boilerplate/nav/ads stripped, headings + lists + links preserved. Identical to data.markdown. fetchedAt: type: string description: ISO-8601 fetch time (also folded into the signed receipt) data: type: object description: the structured deliverable the buyer consumes properties: markdown: type: string description: clean LLM-ready markdown (== text) title: type: string description: page