{"openapi":"3.1.0","info":{"title":"Proof Random API","version":"0.3.0","description":"Free drand quicknet beacon relay. Digest only, not BLS verification. Latest beacon can be known. No x402 billing."},"servers":[{"url":"https://proof-random-api.pn-26f.workers.dev"}],"paths":{"/v1/random":{"get":{"summary":"Derive a reproducible integer from latest drand quicknet beacon","parameters":[{"name":"nonce","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},{"name":"max","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":65536,"default":6}}],"responses":{"200":{"description":"Beacon sample and fields for independent verification","content":{"application/json":{"schema":{"type":"object","required":["value","nonce","round","signature","blsVerified"],"properties":{"value":{"type":"integer","minimum":0},"nonce":{"type":"string"},"round":{"type":"integer"},"signature":{"type":"string"},"randomness":{"type":"string"},"signatureDigestMatches":{"type":"boolean"},"blsVerified":{"type":"boolean","const":false},"x402":{"type":"boolean","const":false}}}}}},"400":{"description":"Invalid nonce or max"},"503":{"description":"Beacon unavailable or invalid"}}}},"/v1/research":{"post":{"summary":"Source-Backed Crypto Research ($0.10 USDC via x402)","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"depth":{"type":"string","enum":["quick","deep"]}}}}}},"responses":{"200":{"description":"Claims with source URLs"},"402":{"description":"Payment required"}}}},"/v1/api-qa":{"post":{"summary":"API Endpoint QA ($0.05 USDC via x402)","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string"},"expect":{"type":"string","enum":["x402","mcp","http"]}}}}}},"responses":{"200":{"description":"Endpoint QA verdict"},"402":{"description":"Payment required"}}}},"/v1/evidence":{"post":{"summary":"Reproducible Evidence Report ($0.15 USDC via x402)","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.15"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["question"],"properties":{"question":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Evidence report with hashes and beacon anchor"},"402":{"description":"Payment required"}}}}}}