Developer Portal & OpenAPI 3.1 Sandbox

SSCCAPI REST API & Label Engine

Enterprise-grade Cloudflare Edge APIs for SSCC-18 Modulo 10 validation, EDIFACT / SAP IDoc extraction, and Dual-Symbology GS1 Logistics Pallet Labels (Classic 1D GS1-128 + Sunrise 2027 2D QR Code GS1 Digital Link in native Zebra ZPL-II, Vector SVG and Printable A5/4×6" HTML).

Endpoint Group 1 · Validation & EDI Extraction (Free)
https://ssccapi.com/validate
Open access · 500 req/hr · Validate, calculate check digits, expand ranges & parse EDIFACT/XML.
Endpoint Group 2 · GS1 Pallet Labels, ZPL & 2D QR Engine
https://ssccapi.com/v1/labels
25 free labels included · Pro X-API-Key unlocks high-volume ZPL, Dual 1D+2D QR & A5 labels.

01. System Architecture & Data Flow Diagram

Both APIs execute at the Cloudflare Edge in < 5 ms with zero external runtime dependencies. Vector barcode geometry (Code 128 Subset C/B + FNC1 and ISO/IEC 18004 Reed-Solomon QR matrices) and Zebra ZPL-II command streams are compiled deterministically in memory.

🏢 ERP / WMS Systems
SAP S/4HANA (IDoc EXIDV), Odoo, Microsoft Dynamics, Custom WMS
📄 EDI Messages
UN/EDIFACT DESADV (GIN+BJ, RFF+SI), XML, CSV Batches
📱 Web Studio & Scanners
ssccapi.com/ PWA, Camera & USB Laser Wedge
➔
⚡ Cloudflare Edge Worker 1: Validator
• GS1 Modulo 10 Check Digit Engine
• 2025 GS1 Country Prefix Registry
• Non-overlapping Regex & Segment Parser
🏷️ Cloudflare Edge Worker 2: Label Engine
• 1D GS1-128: Subset C/B + FNC1 (AI 00, 02, 10, 15, 37)
• 2D QR Code: ISO/IEC 18004 GS1 Digital Link URI
• Quota Ledger (LABELS_KV): 4-Layer Free Tier & Pro Keys
➔
🖨️ Industrial Zebra Thermal
Native ZPL-II (^BCN + ^BQN) over Raw TCP Port 9100 (4×6")
📄 A5 / A6 Pallet Sheets
Pure Vector SVG & Multi-Page Print HTML/PDF
📲 2D Smartphone & Gate Scan
GS1 Sunrise 2027 Digital Link Resolver & JSON Audit

02. Authentication, Quotas & Credit Plans

The Validation API (ssccapi.com) is 100% free. The Commercial Pallet Label & ZPL API (ssccapi.com) includes 25 free pallet labels per company prefix (GCP) for evaluation. High-volume production requires an X-API-Key header (`sscc_pro_...`).

Free Evaluation
0 €
25 Pallet Labels
No API key required. Enforced by GS1 Company Prefix (GCP) & IP.
Test in Sandbox ↓
Emergency Pack
5 €
250 Label Credits
One-time payment. Credits never expire (~7 full truckloads).
Buy 250 Credits
Business Pack
15 €
1,000 Label Credits
One-time payment. Credits never expire (~30 full truckloads).
Buy 1,000 Credits
POST /v1/labels ssccapi.com
1D GS1-128 + 2D QR Digital Link · ZPL / HTML / SVG / JSON

Generates single or batch GS1 Logistics Pallet Labels (1 to 500 units). Supports explicit SSCC arrays or sequential generation from a GS1 Company Prefix (gcp), optional Multi-AI trade item barcodes (AI 02 GTIN, AI 15 Best Before, AI 37 Count, AI 10 Batch/Lot), and 3 symbology modes (dual, gs1-128, qr).

ParameterTypeValue (Live Sandbox Input)Description
gcpbody string GS1 Company Prefix (6 to 11 digits)
startSerialbody integer Starting serial reference number
quantitybody integer Number of sequential pallet labels (1–500)
layoutenum string Choose full logistics label or standalone SSCC barcode strip
symbologyenum string Barcode symbology mode on label
formatenum string Response output format
senderbody string Consignor / Sender company name (FROM)
recipientbody string Consignee / Destination hub (TO)
gtin / batchNo / expiryDatemulti-AI string Generates secondary upper GS1-128 barcode & enriches 2D QR Digital Link
Consumes quantity credit(s) from Free Quota or X-API-Key
200 OK
GET /v1/barcode ssccapi.com
1D GS1-128 · 2D QR · Or Both (SVG / JSON / ZPL)

Dedicated endpoint for developers and ERPs that compose their own label layouts and only need the SSCC barcode(s). Use the type (or symbology) parameter to request the 1D GS1-128 linear barcode (gs1-128), the 2D QR Code GS1 Digital Link (qr), or both together / separated (both / dual). Alias GET /v1/qr is also supported.

ParameterTypeValue (Live Sandbox Input)Description
ssccrequired string 17, 18, or 20-digit SSCC code (auto-computes check digit if 17 digits)
typeenum string Choose which barcode(s) to generate: gs1-128, qr, or both (alias: symbology)
formatenum string Output format (svg image, json with separated assets, or zpl)
batchoptional string Optional Batch / Lot number (AI 10) encoded into 2D QR Digital Link
Tip: Use format=json&type=both to receive svg1d and svgQr as two separate properties
200 OK
GET /v1/quota ssccapi.com
Zero-Cost Quota & Key Balance Check

Returns the remaining free label allowance (out of 25) for a GS1 Company Prefix / IP, or the remaining credit balance of the active X-API-Key passed in the header.

200 OK
GET /validate ssccapi.com
Free Public Endpoint

Validates an 18-digit SSCC (or 20-digit with AI 00), verifies the GS1 Modulo 10 check digit, and returns the GS1 member country and flag.

sscc (query parameter)
curl "https://ssccapi.com/validate?sscc=356012345600000016"
const res = await fetch('https://ssccapi.com/validate?sscc=356012345600000016');
const data = await res.json();
r = requests.get('https://ssccapi.com/validate', params={'sscc': '356012345600000016'})
GET /generate ssccapi.com

Computes the 18th GS1 Modulo 10 check digit for a 17-digit SSCC payload.

body (17 digits)
curl "https://ssccapi.com/generate?body=35601234560000001"
const res = await fetch('https://ssccapi.com/generate?body=35601234560000001');
r = requests.get('https://ssccapi.com/generate', params={'body': '35601234560000001'})
GET /range ssccapi.com

Expands a range of SSCC codes (up to 500 units) and computes check digits for every code.

from
to
GET /prefix ssccapi.com

Identifies the GS1 Member Organization country and ISO code for an SSCC prefix.

sscc
POST /extract ssccapi.com

Extracts and validates all SSCCs from raw EDIFACT (GIN+BJ, RFF+SI), SAP IDoc (EXIDV), XML, or CSV payloads (max 1 MB).

03. Industrial Integration Manuals (Zebra TCP/IP & ERP)

Industrial Zebra thermal printers (ZT411, ZT231, GK420d, ZD421) listen on Raw TCP Port 9100 (JetDirect protocol). You can pipe the ZPL-II response from POST /v1/labels directly to your warehouse printer over the local network without drivers.

A. Direct Linux / Bash Dispatch to Zebra Printer (Port 9100)

# Generate Dual (1D GS1-128 + 2D QR Digital Link) ZPL and pipe directly to Zebra printer IP 192.168.1.200:9100
curl -s -X POST "https://ssccapi.com/v1/labels" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: sscc_pro_YOUR_KEY" \
  -d '{"gcp":"5601234","startSerial":1001,"quantity":5,"symbology":"dual","format":"zpl"}' \
  | nc -w 2 192.168.1.200 9100

B. Python / Odoo / Warehouse WMS Socket Integration

import socket, requests

def print_gs1_pallet_batch(api_key, zebra_ip, gcp, start_serial, qty, lot_no):
    res = requests.post(
        "https://ssccapi.com/v1/labels",
        headers={"X-API-Key": api_key, "Content-Type": "application/json"},
        json={
            "gcp": gcp,
            "startSerial": start_serial,
            "quantity": qty,
            "symbology": "dual",
            "batchNo": lot_no,
            "format": "zpl"
        },
        timeout=5
    )
    res.raise_for_status()
    with socket.create_connection((zebra_ip, 9100), timeout=3) as printer:
        printer.sendall(res.text.encode("utf-8"))
    print(f"Dispatched {qty} GS1 labels to Zebra {zebra_ip}:9100")

C. HTTP Status & Error Reference

HTTP CodeError CodeDescription & Resolution
200 OKOKLabels or validation results generated. Check X-Credits-Remaining header.
400 Bad RequestINVALID_INPUTMalformed SSCC check digit, invalid GCP length (must be 6–11 digits), or batch > 500.
401 UnauthorizedINVALID_API_KEYThe provided X-API-Key does not exist. Verify your key or claim by purchase email.
402 Payment RequiredFREE_QUOTA_EXCEEDED25 free labels reached for this GS1 Company Prefix / IP, or Pro key credits exhausted.
429 Too Many RequestsRATE_LIMITEDValidation API rate limit (500 req/hr per IP) exceeded.
💬 Need Custom Features, Retailer Label Templates or ERP/WMS Integration?
Contact us for custom ZPL layouts (Sonae, Jerónimo Martins, Mercadona, Amazon), SAP/Odoo connectors, or dedicated enterprise endpoints.