Skip to content

Barcode label API. JSON to PDF.

Send JSON from your SaaS, ERP or internal tool to generate product and inventory label PDFs. Save a template and reuse it for each batch.

$29 USD / month. Eligible new accounts get 2,000 labels once. Pricing and limits Sample PDF

Gookit Label API in 30 seconds

  1. Design a label template once.
  2. Send product data as JSON.
  3. Your template fills each label.
  4. Poll the job. Download the PDF.
First page of a 50 by 30 millimeter Gookit Label API PDF showing Trail Bottle, TB-1042, $24.00 and EAN-13 barcode 5901234123457
RENDERED PDF · PAGE 1 OF 24 50 × 30 MM

24 labels. One print-ready PDF.

A 24-page sample PDF of the Trail Bottle label at 50 × 30 mm.

Output
PDF 1.4 · 24 pages
Label size
50 × 30 mm
Barcode
EAN-13
Layout
One label per page
Download sample PDF

Generated by the API’s label renderer. Print at 100% / Actual Size.

Formats, data and printer support

Batch PDFs

Up to 1,000 labels per job, with quantities for each record.

PNG previews

A single label returned synchronously for on-screen previews.

Barcode formats

Code 128, Code 39, EAN-13, QR codes and more.

Custom label sizes

Set dimensions to match your label stock.

Your JSON fields

Product names, SKUs, prices, lot numbers and custom data.

PDF print workflow

Download a PDF for your viewer and configured printer driver. Test your stock and settings.

Design once. Reuse your template.

Set your label size, place text and barcodes, then bind them to your JSON fields.

Template editor
API template editor showing a 50 by 30 mm Trail Bottle label, template list, text and barcode tools, and position controls
API template editor · sample data View full size
  1. Choose the label stock

    Choose a paper preset or custom label size.

  2. Build and save the layout

    Save your layout and copy its template ID.

  3. Reuse it in print jobs

    Send templateId with your product or inventory data.

How to retrieve a PDF after creating a job

Create a job. Retrieve the PDF.

Poll background PDF jobs for status and a download URL.

  1. Create the job

    POST a template ID plus the records and quantities to print.

  2. Poll the job ID

    Status moves from pending to processing, then completed or failed.

  3. Download the PDF

    Download URLs typically last about 24 hours.

poll-print-job.sh
curl https://label-api.gookit.co/api/v1/print/JOB_ID \
  -H "Authorization: Bearer $KEY"

# 200 OK
{
  "jobId": "8fd9e2c1-7a4b-4c6d-91f0-15e8f4e12b7c",
  "status": "completed",
  "url": "https://example.com/labels/8fd9e2c1.pdf",
  "createdAt": "2026-01-15T04:31:20.000Z",
  "completedAt": "2026-01-15T04:31:28.000Z"
}

pending → processing → completed | failed

One monthly API plan.

Unlimited monthly output, with clear job and rate limits.

$29 USD / month

See pricing and limits

Eligible new standalone developer accounts receive 2,000 labels once. This allowance does not renew each month.

Choose your API access.

Building your own integration?

Use an independent developer account. Create a key, save a template, and send your product data. No commerce platform is required.

Get a developer API key

Integration guides.

Tutorials for batch jobs, templates, spreadsheets, automation tools and error handling.

Explore all integration guides

Before you build.

Can I use the API if I already use BarcodeMan?

Yes. Shopify merchants start in BarcodeMan → Settings → Open API. Independent developers use a Gookit developer account. Merchant and developer keys belong to separate access paths; confirm the available path for other BarcodeMan platforms with support.

Is this a shipping label API?

No. Gookit Label API is for product and inventory labels: SKUs, prices, barcodes, QR codes, lot numbers, bin locations, and other data from your system. It does not buy postage or create carrier shipping labels.

Do I need Shopify or Wix?

No. The API is platform-agnostic. If your application can send an HTTPS request with JSON, it can generate labels with Gookit Label API.

Do I need to design a template before my first request?

Yes. Create and save a reusable template first, then send its templateId with each print request. The visual editor can start from a paper preset and a designed layout.

Which barcode formats are supported?

Gookit Label API supports common product and inventory formats including Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E, GS1-128, ISBN, and QR codes.

Which printers can I use?

The API returns PDF files for your existing print workflow. Match the template dimensions to your stock, print at Actual Size, and test the output with your printer and scanner before increasing volume.

Plans and limits are on the pricing page.

Try it with your own data.

Eligible new accounts receive 2,000 production labels once.