{"openapi":"3.1.0","info":{"title":"CedarProof Opportunity Desk","version":"1.0.0","description":"Free material terms; 0.05 USDC for the complete dated English pack. Paid delivery not yet independently verified."},"servers":[{"url":"https://cedarproof-diagnostics.cedarproof-lab.workers.dev"}],"paths":{"/v1/opportunities":{"get":{"operationId":"searchCedarOpportunities","summary":"Free summaries of commission and bounty programs","parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":80}},{"name":"kind","in":"query","schema":{"type":"string","enum":["all","commission","bounty"],"default":"all"}}],"responses":{"200":{"description":"Source-linked summaries; optional purchase body for the entire current pack, not just filtered results"},"400":{"description":"Invalid filter"}}}},"/v1/opportunities/purchase":{"post":{"operationId":"buyCedarOpportunityPack","summary":"Buy the complete current opportunity pack for 0.05 native USDC on Base","description":"Unsigned JSON POST returns x402 v2 402. EOA EIP-3009 only. Preserve body and original PAYMENT-SIGNATURE; retry 202 with the same proof after Retry-After, never pay again automatically. No record count, deadline, funding or profit guarantee beyond the dated snapshot.","parameters":[{"name":"PAYMENT-SIGNATURE","in":"header","required":false,"schema":{"type":"string"},"description":"Base64 x402 v2 payload, with resource.url matching this endpoint and the exact accepted quote. Keep privately; do not publish."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["request_id","version","content_sha256"],"properties":{"request_id":{"type":"string","format":"uuid","description":"Fresh UUIDv4 per intended purchase. Keep the same ID and body for recovery."},"version":{"type":"string","example":"2026-10-11-r1"},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","example":"3e9e666e3c0aaad233900ea0e2718e2fa442b5d301399761a42e91c59759a689"}}}}}},"responses":{"200":{"description":"Confirmed payment: content JSON string, version, content_sha256; PAYMENT-RESPONSE receipt"},"202":{"description":"Unresolved payment; retain and retry original proof. No new payment."},"400":{"description":"Invalid input/proof"},"402":{"description":"Unsigned offer in body and PAYMENT-REQUIRED header. Amount50000 native Base USDC."},"409":{"description":"Catalog/order/proof conflict; do not replace an existing payment"},"415":{"description":"JSON required"},"422":{"description":"Verification declined before settlement"},"503":{"description":"Unavailable or unresolved; preserve original body/proof, never automatically pay again"}}}}}}