Skip to main content
GET
/
api
/
v1
/
labels
/
{trackingNumber}
/
download
curl "https://api.crbtrack.com/api/v1/labels/CBECUSD123456789/download" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -o label.pdf
HTTP/1.1 200 OK
Content-Type: application/pdf
Content-Disposition: attachment; filename="CBECUSD123456789.pdf"
Content-Length: 45678

[Binary PDF data]

Documentation Index

Fetch the complete documentation index at: https://docs.crbtrack.com/llms.txt

Use this file to discover all available pages before exploring further.

Downloads the actual shipping label file. Returns the binary file content.

Path Parameters

trackingNumber
string
required
The tracking number of the parcel.

Query Parameters

format
string
default:"PDF"
Label format: PDF, ZPL, or PNG.

Response

Returns the label file with appropriate Content-Type header:
FormatContent-Type
PDFapplication/pdf
PNGimage/png
ZPLtext/plain
curl "https://api.crbtrack.com/api/v1/labels/CBECUSD123456789/download" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -o label.pdf
HTTP/1.1 200 OK
Content-Type: application/pdf
Content-Disposition: attachment; filename="CBECUSD123456789.pdf"
Content-Length: 45678

[Binary PDF data]

Label Specifications

PropertyValue
Size4” × 6” (100mm × 150mm)
Resolution203 DPI (thermal printers)
BarcodeCode 128
QR CodeContains tracking URL

Printer Compatibility

Use format=ZPL for Zebra and compatible thermal printers.Tested with:
  • Zebra ZD420
  • Zebra GK420d
  • TSC TDP-225
Use format=PDF for standard office printers.Print settings:
  • 100% scale (no fit to page)
  • Portrait orientation