Tools

Barcode Generator

Generate linear barcodes.

GET /v1/tools/barcode

https://api.cludz.net/v1/tools/barcode

Generate a barcode image (PNG).

Query Parameters:

ParameterRequiredDescriptionType
textYesThe text to encode.string
typeNoBarcode type (e.g., code128, ean13). Defaults to code128.string
show_textNoSet to true to include the human-readable text below the barcode.boolean
scaleNoScaling factor. Defaults to 3.number
heightNoBar height in millimeters. Defaults to 10.number

Example

curl "https://api.cludz.net/v1/tools/barcode?text=123456789&show_text=true" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --output barcode.png

Response

Returns a image/png file directly.

Built with 💖 by Miza • © 2026 - Powered by Nuxt