{"slug":"saylorinnovations-com-api-tools-qr-code-0b4aca","title":"Generate a QR code from text or a URL","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/tools/qr-code","category":"code","description":"Generate a QR code from text or a URL - SVG, base64 data URI, ASCII art and the raw module matrix, with error correction level, colors and quiet zone","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":295,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"ec":"M","text":"https://example.com/hello"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"ec":{"description":"optional error correction L, M (default), Q or H","type":"string"},"text":{"description":"Text or URL to encode, up to 300 characters","type":"string"}},"required":["text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"ascii":{"description":"Unicode half-block rendering for terminals","type":"string"},"bytes":{"description":"Size in bytes","type":"number"},"error_correction":{"description":"Error correction","type":"string"},"mask":{"description":"Mask pattern chosen (0 to 7)","type":"number"},"matrix":{"description":"Rows of 0 and 1 for each module","type":"array"},"modules":{"description":"Modules per side of the QR symbol","type":"number"},"note":{"description":"Caveat or context for reading the result","type":"string"},"source":{"description":"Data source the values come from","type":"string"},"svg":{"description":"SVG markup of the code","type":"string"},"svg_data_uri":{"description":"Svg data uri","type":"string"},"text":{"description":"Text content","type":"string"},"version":{"description":"Version identifier","type":"number"}},"required":["version","svg","matrix"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":295,"error":null}],"description_full":"Generate a QR code from text or a URL - SVG, base64 data URI, ASCII art and the raw module matrix, with error correction level, colors and quiet zone","last_updated":"2026-10-20T14:52:19.003Z","schemes":["exact"]}