Generate barcodes in multiple formats including Code128, EAN-13, UPC-A, Code39, ITF, and more. High-quality PNG output.
POST /v1/barcode| Name | Type | Required | Description |
|---|---|---|---|
| data | string | Yes | Data to encode in the barcode |
| format | string | No | Barcode format: code128, ean13, upca, code39 (default: code128) |
| width | integer | No | Bar width in pixels |
| height | integer | No | Barcode height in pixels |
curl -X POST "https://api.toolcenter.dev/v1/barcode" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data": "1234567890", "format": "code128"}' \
--output barcode.png
Generate product barcodes for inventory
Create shipping labels
Build barcode scanning applications
Print asset tracking labels
500 free API calls per month. No credit card required.
Get Started Free