QR codes and barcodes
QR code for any text
Returns the image itself. Text up to about 2,900 bytes at error correction L.
post/v1/qr
Request
- Base URL: https://api.dharun.dev
- URL: https://api.dharun.dev/v1/qr
- Auth: none declared
Query parameters
ecc'L' | 'M' | 'Q' | 'H'
Error correction: how much damage the code survives. Default M.
format'svg' | 'png'
Image format. Default svg.
sizeinteger
2D codes: width in pixels to stay within, 32 to 2048. Default 256.
margininteger
Light border (quiet zone), in modules, 0 to 16. Default 4.
fgstring
Dark colour, hex such as 000000. Default black.
bgstring
Light colour, hex, or transparent. Default white.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.