GETGenerate Barcode
https://api-barcode.dataandapis.com/v1/barcode
Query parameters
| Parameter | Example | |
|---|---|---|
| data | ABC-12345 | Required |
| format | svg | Optional |
| height | 10 | Optional |
| includetext | true | Optional |
| scale | 3 | Optional |
| type | code128 | Optional |
Example request
curl "https://api-barcode.dataandapis.com/v1/barcode?data=ABC-12345&format=svg&height=10&includetext=true&scale=3&type=code128" \
-H "X-Api-Key: YOUR_API_KEY"https://dataandapis.com/images/barcode-example.webp





