Basic Use

The minimum requiremets to make a request to the BarcodeThis API are the value you want to encode, and your API token.

        
            https://barcodethis.io/api/v1?value=[VALUE]&api_token=[TOKEN]
        
    

When a request like this is made, BarcodeThis will return a Code 39 barcode image in JPG format by default.

To change this default behavior, simply add the query parameters needed to get a different output. For example, you may request a different barcode type by adding the type query parameter, and a different image format with the format parameter:

        
            https://barcodethis.io/api/v1?value=[VALUE]&type=UPCA&format=PNG&api_token=[TOKEN]
        
    

If the value you provide is not compatible with the requested barcode type, BarcodeThis will return an error response in JSON format. For a complete list of supported barcode types, check out the Barcode Types documentation.

The API Guide section contains detailed information on all the supported query parameters.