API Basics
Data Tools
WWW
Browser Bot
HTML Clean
URL Info
Telephony
Geolocation
Security and Networking
E-commerce
Imaging
Legacy APIs

QR Code

Generate a QR code as a PNG image

End Point

https://neutrinoapi.net/qr-code
Test API
API Request
ParameterRequiredTypeDefaultDescription
contentyesstringThe content to encode into the QR code (e.g. a URL or a phone number)
widthnointeger256The width of the QR code (in px)
heightnointeger256The height of the QR code (in px)
fg-colornostring#000000The QR code foreground color
bg-colornostring#ffffffThe QR code background color
API Response
API Performance
CharacteristicValueDescription
Avg Latency30msAverage RTT for requests within the same data center/region
Max Rate6/secondMaximum inbound request rate. Exceeding this will result in request throttling
Max Concurrency50Maximum concurrent/simultaneous requests. Exceeding this will result in error code 06 [TOO MANY CONNECTIONS]

API Example
curl https://neutrinoapi.net/qr-code \ --header "User-ID: <your-user-id>" \ --header "API-Key: <your-api-key>> \ --data-urlencode "width=256" \ --data-urlencode "fg-color=#000000" \ --data-urlencode "bg-color=#ffffff" \ --data-urlencode "content=https://www.neutrinoapi.com/signup/" \ --data-urlencode "height=256" \ --output "qr-code.png"