barfly API

GET Request Format


Supported bctype (barcode type):

  • code39: Code39
  • qrcode: QR Code
  • dmtx: Data Matrix
  • isis: i1 iSis

Supported ext (filetype extension):

  • svg: Scalable Vector Graphics
  • png: Portable Network Graphics
  • jpg: JPEG (Joint Photographic Experts Group)
  • gif: Graphics Interchange Format
  • bmp: Bitmap
  • tif: TIFF (Tagged Image File Format)

cURL Example:

$ curl -Ls

POST Request Format


Required form data:

  • bctype: barcode type
  • bcdata: barcode data to be encoded
  • ftype: filetype extension

cURL Example:

$ curl -Ls \
    -X POST \
    -H 'Content-Type:application/x-www-form-urlencoded' \
    --data 'bctype=qrcode&bcdata=barcodedata&ftype=png'