Barcode generator playground
Configure layout, symbology, and custom copyright metadata to generate print-ready barcode assets.
Request
EAN-13
Output format
Request preview
POST /api/v1/barcodes/render
Authorization: Bearer pdapi_sample_key
Content-Type: application/json
{
"type": "ean13",
"data": "4006381333931",
"format": "png",
"width": 200,
"height": 100,
"foreground": "#000000",
"background": "#ffffff",
"rotation": 0,
"showText": true,
"quietZone": true,
"options": {
"dpi": 300,
"moduleWidthMm": 0.33,
"barHeightMm": 15,
"fontSize": 8,
"preset": "print-safe"
},
"metadata": {
"copyright": "Copyright 2026 open4goods",
"author": "Open4Goods B2B API",
"description": "Product GTIN Barcode"
}
} Response
Configure parameters and click Run to generate a barcode preview.