Compatibility LayersLabelary CompatibilityQuickstart
Quickstart
Your first API request in 5 minutes
Before you begin
Get an API key from your account dashboard.
Simple Example
Render a label and save it as PNG:
curl -X POST "https://api.zpl.tools/compatibility/labelary/v1/printers/8dpmm/labels/4x6/0" \
-H "X-API-Key: your_api_key_here" \
--data "^XA^FO50,50^FDHello World^FS^XZ" \
-o label.pngMore Examples
More examples in cURL, JavaScript and Python, with multi-page labels and other output formats.
Next Steps
- API Reference — endpoints, headers and status codes
- ZPL Documentation — command reference