Launchpad rocket shipNext Bitcoin QR launchpad in:
d
h
m
s
Bitcoin QR Code Generator Tool

Bitcoin APIs and Bitcoin Widgets

Custom colored QR code examples

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

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 variety of different fiat currencies.

Bitcoin APIs

What is an API (application programming interface)?

API is an acronym for application programming interface, and over the years the modern API has become extraordinary useful and valuable. An API is a generic connection interface to a website or (d)app. Use the quick links below to jump to one of our useful and powerful Bitcoin APIs.

Bitcoin QR Code API

Clean and simple crypto QR code creation.

Below you will find detailed documentation on our crypto QR code API. We also have created an API link generating wizard to make things super fast and simple. Contact us if you have any questions or would like to file a bug report.

Also a friendly reminder that you can customize your QR codes with our API. Just use the color, border or background parameter when making a QR code. All of the details can be found below or you can jump to our api quick start instructions guide.

Wizard
Cryptocurrency type:
Wallet address:
(optional)
Tool tipPresets the amount of crypto to send or receive when scanned.
(optional)
Tool tipEnter fiat into the amount field when selected. The fiat amount is converted to crypto each time the QR code is requested at current market rates.
(optional)
Tool tipAdds a crypto URI link to your wallet address.
(optional)
(optional)
QR code result and API image link:

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 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 (case sensitive) 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
Required
QR code cryptocurrency type.
Required
Public crypto wallet address.
Optional
Prefills the amount of cryptocurrency to send or receive in the users application when scanned (default is blank).
Optional
Allows you to enter fiat into the amount parameter setting (default is no conversion).
Optional
Add a URI to the crypto wallet address (default is on).
Optional
QR code color (default is black).
Optional
Add a stylish border to your crypto QR code (default is no border).
Optional
Changes the background color of your crypto QR code (default is white). (coming soon)
Optional
Add the corresponding cryptocurrency logo to your QR code (default is on). (coming soon)

Parameter: style (required)

Style types and their parameter values (case sensitive)

Parameter value
Crypto type
bitcoin
BitcoinBitcoin (BTC)
ethereum
EthereumEthereum (ETH)
bitcoincash
Bitcoin CashBitcoin Cash (BCH)
litecoin
LitecoinLitecoin (LTC)
bitcoinsv
Bitcoin SVBitcoin SV (BSV)
monero
MoneroMonero (XMR)
dogecoin
DogecoinDogecoin (DOGE)
cardano
CardanoCardano (ADA)

Parameter: address (required)

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

If the address format and crypto type do not match a default non QR code image will be returned. Also note 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 and is used in conjunction with the URI address setting. This feature is handy if you are requesting payments for goods or services.

When a user scans one of our QR codes it will prefill the cryptocurrency address field as well as the amount field. Most popular (d)apps today recognize crypto URIs which helps to streamline 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)
Dogecoin
8 decimal places (0.00000001)
Cardano
6 decimal places (0.000001)

Parameter: fiat (optional)

Currencies currently available and their parameter values (case sensitive)

Parameter value
Currency type
ARS
Argentine peso (ARS)
AED
United Arab Emirates dirham (AED)
AUD
Australian dollar (AUD)
BRL
Brazilian real (BRL)
BHD
Bahraini dinar (BHD)
BDT
Bangladeshi taka (BDT)
BMD
Bermudian dollar (BMD)
CAD
Canadian dollar (CAD)
CHF
Swiss franc (CHF)
CLP
Chilean peso (CLP)
CNY
Renminbi (CNY)
CZK
Czech koruna (CZK)
DKK
Danish krone (DKK)
EUR
Euro (EUR)
GBP
Pound sterling (GBP)
HUF
Hungarian forint (HUF)
HKD
Hong Kong dollar (HKD)
IDR
Indonesian rupiah (IDR)
ILS
Israeli new shekel (ILS)
INR
Indian rupee (INR)
JPY
Japanese yen (JPY)
KRW
Korean won (KRW)
KWD
Kuwaiti dinar (KWD)
LKR
Sri Lankan rupee (LKR)
MMK
Burmese kyat (MMK)
MXN
Mexican peso (MXN)
MYR
Malaysian ringgit (MYR)
NGN
Nigerian naira (NGN)
NOK
Norwegian krone (NOK)
NZD
New Zealand dollar (NZD)
PHP
Philippine peso (PHP)
PKR
Pakistani rupee (PKR)
PLN
Polish zloty (PLN)
RUB
Russian rouble (RUB)
SAR
Saudi riyal (SAR)
SEK
Swedish krona (SEK)
SGD
Singapore dollar (SGD)
TWD
New Taiwan dollar (TWD)
THB
Thai baht (THB)
TRY
Turkish lira (TRY)
UAH
Ukrainian hryvnia (UAH)
USD
United States dollar (USD)
VEF
Venezuelan bolivar (VEF)
VND
Vietnamese dong (VND)
ZAR
South African rand (ZAR)

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: prefix (optional)

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

Note: Some out of date cryptocurrency wallets and (d)apps will not be able to read the imbedded wallet address within the QR code while the prefix setting is set to on. So if you're having trouble getting an (d)app to recognize a wallet address try turning the prefix setting to off.

Bitcoin has the highest amount of wallet support for crypto URIs which are required when setting an amount for your QR codes.

URI settings with their corresponding style type values (case sensitive)

Style type
Parameter value
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)
dogecoin
on
dogecoin:(Crypto public wallet address)
cardano
on
cardano:(Crypto public wallet address)
All style types
off
(Crypto public wallet address)

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 or parameter 1.

QR code colors and their parameter values

Parameter value
Color name
1
Black
2
Red
3
Blue
4
Lime green
5
Orange
6
Purple
7
Baby blue
8
Pink
9
Grey
10
Aqua blue
11
Navy blue
12
Dark green

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

Parameter value
Border name
1
Red textured
2
Orange to yellow fade
3
Rainbow fade
4
Dark grey textured
5
Blue
6
Purple
7
Grey
8
Copper fade
9
Lime green
10
Blue red yellow textured fade
11
Black
12
Red

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 variety 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

Key features of our Bitcoin QR code API.

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 address 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 HTML documents by using the img tag. Example HTML snippet shown below.

<img src="https://www.bitcoinqrcodemaker.com/api/?style=bitcoin&amp;color=1&amp;prefix=on&amp;address=1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX" height="150" width="150" 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 HTML img tag while still maintaining the image resolution. Just make sure both height and width are the same dimensions.

Bitcoin QR code API example

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

Bitcoin Widgets

What is a website widget?

A website widget is a standalone feature designed to be easily added to a website or application. Widgets are relatively simple to setup by copying and pasting provided code into the desired area of an app.

Widgets are handy because you don't need to know how to change or even fully understand code or code frameworks to add dynamic features to any site. Use the quick links below to jump to one of our Bitcoin widgets.

Bitcoin to Fiat Price Widget

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.

Wizard

Bitcoin to fiat price widget wizard

Cryptocurrency:
Currency:
Color theme:
Min: 150 pixels / max: 500 pixels
Min: 150 pixels / max: 728 pixels
Price widget preview:
:
Embed this HTML snippet on your website.
Bitcoin QR Code Maker
Bitcoin QR Code Maker

Bitcoin QR Code Maker helps make the process of sending and receiving crypto payments simple and reliable.

Products & Services
APIs and Widgets
Bitcoin Donate Button
Bitcoin Payment Button
Launchpad rocket shipLaunchpads
Company
About
Privacy Policy
Contact Us
Community
Twitter
Get the latest crypto news and (d)app updates by subscribing to our free newsletter:
Your tips help us develop more great apps:
bitcoin:1M5m1DuGw4Wyq1Nf8sfoKRM6uA4oREzpCX
Protected by Norton Security
© 2023 Bitcoin QR Code Maker, all rights reserved.