Bitcoin QR Code Generator Tool

Bitcoin QR Code API and Widgets

Create crypto QR codes on a large scale by integrating our secure and easy to use Bitcoin QR code generator API into your websites or apps.

Custom Colored QR Code Examples

Also stay up to date with the fast paced crypto environment by embedding our price widget. Our price widget is designed to follow the cryptocurrency market rates in real time 24/7 in a verity of different fiat currencies.

Bitcoin QR Code API

Clean and simple crypto QR code creation.

The following QR code style and color examples are the most common and widely used. Black and white QR codes give the highest amount of contrast between the dark and light data modules. This makes them easier for smart phone cameras to scan and read the data in a more reliable manner.

Custom Crypto QR Code API Examples

If you would prefer to customize the color of your QR codes our API can do that for you as well. Just use the color parameter in our crypto QR code generator's API. Detailed documentation below.

Request a QR code from our API.

Request URL
https://www.bitcoinqrcodemaker.com/api/
Request Method
GET
Response
Binary Image File (PNG)

What is a GET request?

A GET request is a type of HTTP method for requesting information or resources from a website. GET is also one of the most common HTTP methods today.

Note in this example below that the query string (parameter/value pairs) is sent in the URL of a GET request.

https://www.bitcoinqrcodemaker.com/api/?parameter1=value1&parameter2=value2&parameter3=value3

We've made things easy by including example GET request URL's for our QR code API below. All you have to do is change the values to reflect your own required QR code needs. Refer to the parameter names and their possible values using the charts below.

For more advanced webmasters you may want to dynamically generate wallet addresses in place of the GET requests crypto wallet address value using your favorite programming language.

GET request parameters.

Parameter Name
Set
Description
style
Required
Crypto type and branding style.
address
Required
Public crypto wallet address.
amount
Optional
Prefills the amount of cryptocurrency to send or receive in the user's application when scanned (default is blank).
fiat
Optional
Allows you to enter fiat into the amount parameter setting (default is no conversion).
color
Optional
QR code color (default is black with a white background).
prefix
Optional
Add URI prefix to the crypto wallet address (default is on).
border
Optional
Add a stylish border to your crypto QR code (default is no border).

Parameter: style (required)

Style Types and Their Parameter Values

Bitcoin Logo
bitcoin
Ethereum Logo
ethereum
Bitcoin Cash Logo
bitcoincash
Litecoin Logo
litecoin
Bitcoin SV Logo
bitcoinsv
Monero Logo
monero

Parameter: address (required)

The address parameter is the public crypto wallet address that you would like to convert into a QR code format. Make sure the crypto address you add to the GET request matches the crypto style parameter above.

If the address and style do not match a default non QR code image will be returned. If you see the following image returned when making an API request check for missing required parameters or parameter errors.

API Error Response Image

Default API error response image (PNG).

Parameter: amount (optional)

The amount parameter is used to automatically set the amount of cryptocurrency you wish to send or receive. This feature is handy if you are requesting payments for goods or services.

When you or someone scans the QR code it will fill in the crypto address as well as the amount field, streamlining the sending or receiving process.

In the following example we would like to include the set amount of 0.0005 BTC with address 1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX in a QR code format.

https://www.bitcoinqrcodemaker.com/api/?style=bitcoin&amount=0.0005&address=1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX

Each cryptocurrency amount is rounded to their nearest pre configured decimal place. Here is a chart showing each crypto and the set decimal place they function with.

Bitcoin
8 decimal places (0.00000001)
Ethereum
18 decimal places (0.000000000000000001)
Bitcoin Cash
8 decimal places (0.00000001)
Litecoin
8 decimal places (0.00000001)
Bitcoin SV
8 decimal places (0.00000001)
Monero
12 decimal places (0.000000000001)

Parameter: fiat (optional)

Fiat Currencies Currently Available and Their Parameter Values

USD
USD
EUR
EUR
JPY
JPY
GBP
GBP
CAD
CAD
CHF
CHF

This setting works in conjunction with the amount parameter. When a fiat currency is set the amount entered will be fiat not crypto.

Then when the QR code is requested via our API it will automatically convert the fiat amount into the corresponding cryptocurrency amount based on the current market rates.

Consider the following example. This API request will include the set amount of $100 USD worth of BTC with address 1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX in a QR code format.

https://www.bitcoinqrcodemaker.com/api/?style=bitcoin&fiat=USD&amount=100&address=1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX

Parameter: color (optional)

The color parameter will change the default black and white QR code to any one of the following shown below. If the color is not set the default will be black with a white background or parameter 1.

QR Code Colors and Their Parameter Values

1
2
3
4
5
6
7
8
9
10

Parameter: prefix (optional)

The URI prefix by default is always on so it's not necessary to set the prefix in the GET request if you actually want the URI added to your crypto wallet addresses. If you would like to remove the URI prefix from your QR codes just set the prefix parameter to off.

URI Prefix Settings With Their Corresponding Style Type Values

Style Type
Prefix
QR Code Result
bitcoin
on
bitcoin:(Crypto public wallet address)
ethereum
on
ethereum:(Crypto public wallet address)
bitcoincash
on
bitcoincash:(Crypto public wallet address)
litecoin
on
litecoin:(Crypto public wallet address)
bitcoinsv
on
bitcoinsv:(Crypto public wallet address)
monero
on
monero:(Crypto public wallet address)
All style types
off
(Crypto public wallet address)

Parameter: border (optional)

The border parameter gives you the option of adding a border to your crypto QR code. Below are the current border designs available. The default is no border when the parameter is not set.

QR Code Borders and Their Parameter Values

Red textured
1
Orange to yellow fade
2
Rainbow fade
3
Dark grey textured
4
Solid blue
5
Solid purple
6
Solid grey
7
Copper fade
8
Lime green
9
Blue red yellow textured fade
10

Simply replace the border parameter with the corresponding border style type number shown in the table above to customize your QR codes. Plus use this in conjunction with the QR color parameter for even more of a verity of styles.

The following URL is an example API request which includes a red textured border and a red QR code.

https://www.bitcoinqrcodemaker.com/api/?style=bitcoin&color=2&border=1&address=1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX

Crypto QR Code API Examples with Custom Colors and Borders

Key features of our Bitcoin QR code API.

Quick start instructions.

Send a GET request in the following form to get a crypto QR code graphic in PNG format (to generate a QR code).

https://www.bitcoinqrcodemaker.com/api/?style=(Crypto style type)&color=(QR code color)&prefix=(URI prefix option)&address=(Crypto public wallet address)

Test it within your browser by requesting the following URL example.

https://www.bitcoinqrcodemaker.com/api/?style=bitcoin&color=1&prefix=on&address=1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX

Now you can easily embed the QR code in your (X)HTML documents by using the img tag. Example code shown below.

<img src="https://www.bitcoinqrcodemaker.com/api/?style=bitcoin&amp;color=1&amp;prefix=on&amp;address=1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX" height="300" width="300" alt="Bitcoin QR Code" />

300 by 300 pixels is the base image size. You can make the image smaller by simply changing the dimensions of the (X)HTML img tag while still maintaining the image resolution. Just make sure both height and width are the same dimensions.

Bitcoin QR Code

Sample image output from (X)HTML code shown above using an API request.

Widgets

Embed our crypto price widget on your website.

Give your website visitors the ability to track crypto price changes in real time by embedding our crypto price widget into your websites or apps.

Below are the current crypto price widget settings and corresponding output examples. Just cut and paste the code into your application for real time price updates directly on your website.

Crypto to Fiat Price Widget

Price widget options:
Cryptocurrency:
Fiat Currency:
Color Theme:
Height:
Width:
Min: 150 pixels / Max: 500 pixels
Min: 150 pixels / Max: 728 pixels
Price widget preview:
Price widget code:
About UsPrivacy PolicyAPI and WidgetsContact Us
Bitcoin donations: 1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX
Protected by Norton Security
© 2020 Bitcoin QR Code Maker Inc., all rights reserved.