You can generate QR-Code image with a simple URL and refine display through different parameters for visual adaptation.
Image URL
To hotlink an image, a set of RewriteRules have been defined:
- http://qrcode.kaywa.com/code/2029998765 : Output = PNG, Size = 4, content = 2029998765, blackness = 0 (black)
- http://qrcode.kaywa.com/code/4/2029998765 : Output = PNG, Size = 4, content = 2029998765, blackness = 0 (black)
- http://qrcode.kaywa.com/code/8777777/2029998765 : Output = PNG, Size = 8, content = 2029998765, foreground color: #777777
- http://qrcode.kaywa.com/code/f8777777/2029998765 : Output = PDF, Size = 8, content = 2029998765, foreground color: #777777
- http://qrcode.kaywa.com/code/5888888ff0000/2029998765 : Output = PNG, Size = 5, content = 2029998765, foreground color: #888888, background color: #ff0000
- http://qrcode.kaywa.com/code/5tttttt/2029998765 : Output = PNG, Size = 5, content = 2029998765, foreground color: (black, default), background color: transparent
Non-rewritten URL
http://qrcode.kaywa.com/img.php?b=BBBBBB&w=FFFFFF&s=SIZE&t=TYPE&d=DATA Where:
- BBBBBB is the foreground color, in HTML/Hex format. Defaults to 000000 (black)
- FFFFFF is the background color, in HTML/Hex format. Defaults to ffffff (white)
- SIZE is the module size: 1-10
- DATA is the actual data (URL-ENCODED!)
- TYPE is the output image type: f for PDF, p for PNG
Decoding with other 2D Barcode
To allow other 2D Barcode than the Kaywa Reader to decode generated QR-Code you cannot use shortcode (just the QR-Code number). Instead you must add the link http://d.kaywa.com/ in the DATA. Here is an example:
http://qrcode.kaywa.com/img.php?d=http://d.kaywa.com/2029998765
Developing on the QR-Code API
Anyone is free to write software to do cool stuff with available QR-Code API. Here's how to get started:
Read the API documentation Apply for an API KeyAPI Policies
QR-Code services are experimental and are currently offered to outside developers on an ad hoc basis with no guarantee of uptime or availability of continued service. We reserve the right to disable access to external applications at any time.
We are currently evaluating the issues and results that arise from making these services available and creating policies for our full public release.
Kaywa is not responsible for the content or features provided by outside application developers.


