{"slug":"qr-api-production-1836-up-railway-app-generate-basic-f0d673","title":"Generate a QR code PNG (returned base64-encoded in JSON) for any text or URL usi","host":"qr-api-production-1836.up.railway.app","method":"POST","resource":"https://qr-api-production-1836.up.railway.app/generate/basic","category":"code","description":"Generate a QR code PNG (returned base64-encoded in JSON) for any text or URL using default black-on-white styling.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1469,"reported_calls_30d":8,"reported_payers_30d":5,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"data":"https://payapi.market"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"data":{"description":"Text or URL to encode, up to 4296 characters.","type":"string"}},"required":["data"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"back_color":{"description":"Background colour as normalised #rrggbb hex.","type":"string"},"border":{"description":"Quiet-zone border width in modules.","type":"integer"},"box_size":{"description":"Pixels per QR module.","type":"integer"},"data":{"description":"The text or URL encoded into the QR code.","type":"string"},"error_correction":{"description":"Error-correction level used: L, M, Q, or H.","type":"string"},"fill_color":{"description":"Foreground colour as normalised #rrggbb hex.","type":"string"},"format":{"description":"Image format of the returned bytes; always 'png'.","type":"string"},"height":{"description":"PNG height in pixels.","type":"integer"},"image_base64":{"description":"Base64-encoded PNG of the QR code.","type":"string"},"modules":{"description":"QR module count per side (the grid dimension).","type":"integer"},"size_bytes":{"description":"Byte length of the raw PNG.","type":"integer"},"version":{"description":"QR version (1-40) chosen to fit the data.","type":"integer"},"width":{"description":"PNG width in pixels.","type":"integer"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":1469,"error":null}],"description_full":"Generate a QR code PNG (returned base64-encoded in JSON) for any text or URL using default black-on-white styling.","last_updated":"2026-09-24T07:41:14.346Z","schemes":["exact"]}