API Documentation
All API endpoints bellow accept GET + POST requests.
/v1/png/
Export QR code as PNG image
Parameters:
- msg - Your message that will encoded to QR (Required)
- version - QR code version (1-40)
- size - size of the image (1-50)
- padding - padding size (0-50)
- color - QR code color (R,G,B)
- background - QR code background color (R,G,B)
- style - styling the dots (rounded, square, circle, gap, vertical, horizontal)
- mask - color masking (solid, radical, square, horizontal, vertical)
Masking color options:🍭 Click to show examples
- If you want to use vertical mask, you need to specify top_color and bottom_color parameter.
- If you want to use horizontal mask, you need to specify left_color and right_color parameter.
All color values are in R,G,B format.
/v1/svg/
Export QR code as SVG image
Parameters:
- msg - Your message that will encoded to QR
- version - QR code version (1-40)
- size - size of the image (1-50)
- padding - padding size (0-50)
/v1/ascii/
Export QR code as ASCII art
Parameters:
- msg - Your message that will encoded to QR
- version - QR code version (1-40)
- padding - padding size (0-50)