{"openapi":"3.1.0","info":{"title":"Acutis QR","version":"1.1.0","description":"Generate SVG or PNG QR codes for links, text and standard payloads. Includes a four-module quiet zone, selectable error correction and validated foreground/background contrast. Price: 0.02 USDC per operation on Base mainnet via x402 v2. Empty unsigned POSTs inspect payment and discovery metadata only; empty signed requests are rejected before verification or settlement. Docs and one fixed example are free. No API key or wallet private key is sent to this service. JSON artifact envelopes carry base64 bytes, MIME type, size and SHA-256; decode bytes to save the file."},"servers":[{"url":"https://qr.acutisignatius.com"}],"paths":{"/v1/qr/render":{"post":{"operationId":"qrWork","summary":"Scannable QR codes in your colors.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":1500},"format":{"default":"png","type":"string","enum":["svg","png"]},"size":{"default":512,"type":"integer","minimum":128,"maximum":1024},"foreground":{"default":"#10221a","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"background":{"default":"#ffffff","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"error_correction":{"default":"H","type":"string","enum":["M","Q","H"]}},"required":["text"],"additionalProperties":false},"example":{"text":"https://acutisignatius.com/agentic","format":"png","size":512}}}},"responses":{"200":{"description":"SVG / PNG + SHA-256; only released after successful settlement","content":{"application/json":{"schema":{"type":"object","properties":{"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer","minimum":0},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"base64":{"type":"string","contentEncoding":"base64"}},"required":["filename","mime_type","size_bytes","sha256","base64"],"additionalProperties":true},"payload_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"error_correction":{"enum":["M","Q","H"]},"quiet_zone_modules":{"const":4},"contrast_ratio":{"type":"number","minimum":4.5}},"required":["artifact","payload_sha256","error_correction","quiet_zone_modules","contrast_ratio"],"additionalProperties":true},"examples":{"fixed":{"summary":"Actual fixed example response","externalValue":"/v1/example"}}}}},"402":{"description":"x402 payment required. Retry exact input with PAYMENT-SIGNATURE."},"409":{"description":"Proof bound to another request or already processing"},"422":{"description":"Input, schema or processing limit invalid; no payment requested"},"429":{"description":"Instance capacity exhausted; Retry-After; no payment requested"},"503":{"description":"Work or facilitator unavailable; no protected result"}}}},"/v1/example":{"get":{"summary":"One fixed free example; query parameters do not customize it","responses":{"200":{"description":"SVG / PNG + SHA-256","content":{"application/json":{"schema":{"type":"object","properties":{"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer","minimum":0},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"base64":{"type":"string","contentEncoding":"base64"}},"required":["filename","mime_type","size_bytes","sha256","base64"],"additionalProperties":true},"payload_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"error_correction":{"enum":["M","Q","H"]},"quiet_zone_modules":{"const":4},"contrast_ratio":{"type":"number","minimum":4.5}},"required":["artifact","payload_sha256","error_correction","quiet_zone_modules","contrast_ratio"],"additionalProperties":true}}}}}}},"/health":{"get":{"responses":{"200":{"description":"Service, network and price"}}}}}}