Barcode, QR & Logistics Label Sheet Edge API

Generate scan-verified QR Codes, GS1-128, EAN-13, UPC-A (SVG + lossless PNG) and Avery/Zebra label sheets in <15ms.

Deterministic ISO/IEC 18004 QR Code (v1-v10 GF(256) Reed-Solomon), GS1-128 (FNC1 Application Identifiers), Code-128 (auto Set B/C), EAN-13, and UPC-A encoder returning crisp SVG, lossless binary PNG, and print-ready Avery 5160 / Zebra 4x6 & 2x1 label sheets.

logistics ecommerce retail-ops developer-tools document-generation

Why Agents Call This API Instead of DIY

Eliminates fragile canvas/native image binaries, broken QR Reed-Solomon/mask implementations, wrong GS1 Modulo-10/103 check digits, and misaligned Avery 5160 or Zebra thermal @page CSS.

DimensionDIY Inside Agent Sandbox / PromptBarcode, QR & Logistics Label Sheet Edge API (barcode-pass)
Onboarding & AuthInstall packages, debug runtime errors, or manage API keysZero signup — instant HTTP 402 (x402 USDC) & remote MCP
Context & Token CostThousands of tokens spent in multi-turn code/parse loopsDeterministic compact JSON response (<1.5K tokens)
Schema ValidationSilent runtime failures on malformed inputsFree ?dry_run=true preflight ($0.00 on 4xx errors)

Tools & Payable Endpoints (3)

generate_barcode — Generate Barcode or QR Code (SVG + PNG)

$0.001 USD per generated barcode or QR symbol (SVG + PNG) (x402 instant micropayment)

Encodes a single QR Code (ISO 18004 v1-v10), Code-128, GS1-128, EAN-13, or UPC-A symbol, validating/computing GS1 check digits and returning both crisp vector SVG and lossless binary base64 PNG.

Why buy vs. DIY: Avoids 800+ lines of GF(256) Reed-Solomon, BCH format/version masking, GS1 FNC1/Mod-103 tables, and binary PNG DEFLATE+CRC32 framing; executes at the edge in <10ms.

generate_label_sheet — Generate Printable Barcode / QR Label Sheet

$0.002 base (up to $0.008 max ($0.002 base + $0.002 per 50 rendered labels, capped at $0.008 for up to 200 labels), x402 variable settlement)

Batch-encodes up to 200 QR or 1D barcodes into print-ready @page HTML/SVG label sheets formatted for Avery 5160 (30-up US Letter), Zebra 4x6 shipping thermal, or Zebra 2x1 retail/bin tags.

Why buy vs. DIY: Replaces brittle PDF/headless-Chrome pipelines with zero-margin print-accurate @page CSS + inline crisp vector SVGs for up to 200 warehouse or retail labels in a single call.

validate_gtin_check_digit — Validate or Compute GS1 GTIN / SSCC Check Digit

$0.0005 USD per GTIN/SSCC validation request (up to 100 codes) (x402 instant micropayment)

Validates or computes official GS1 Modulo-10 check digits for GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, GSIN-17, and SSCC-18 identifiers (single value or batch up to 100).

Why buy vs. DIY: Prevents costly retailer/Amazon GTIN check-digit rejections and off-by-one right-to-left 3x/1x weighting bugs.

Quickstart: MCP, x402 & Optional Bearer API Key

1. Streamable HTTP MCP Config (com.apikeg/barcode-pass)

{
  "mcpServers": {
    "barcode-pass": {
      "type": "streamable-http",
      "url": "https://barcode-pass.apikeg.com/mcp"
    }
  }
}

Using a Monthly Stripe Plan? Get your per-email ak_live_... key at https://apikeg.com/account ($5 / $20 / $50 monthly tiers) and pass header Authorization: Bearer ak_live_... on REST or MCP requests.

2. Free Schema Dry-Run ($0.00)

curl -X POST "https://barcode-pass.apikeg.com/v1/generate-barcode?dry_run=true" \
  -H "Content-Type: application/json" \
  -d '{"format":"gs1_128","value":"(01)09501101530003(17)271231(10)BATCH42","scale":2,"barHeight":80}'

Common Agent & Automation Workflows

Frequently Asked Questions

Why should an AI agent call Barcode, QR & Logistics Label Sheet Edge API instead of writing custom code?

Eliminates fragile canvas/native image binaries, broken QR Reed-Solomon/mask implementations, wrong GS1 Modulo-10/103 check digits, and misaligned Avery 5160 or Zebra thermal @page CSS.

How do I connect Barcode, QR & Logistics Label Sheet Edge API to Claude, Cursor, or an MCP client?

Connect directly to the stateless Streamable HTTP MCP endpoint at https://barcode-pass.apikeg.com/mcp (registry ID: com.apikeg/barcode-pass). No API keys or OAuth accounts are required; initialize and tools/list are 100% free.

How much does Barcode, QR & Logistics Label Sheet Edge API cost per API or MCP call?

Pay per call with zero signup via HTTP 402 (x402 v2 USDC on Base): generate_barcode ($0.001 USD per generated barcode or QR symbol (SVG + PNG) (x402 instant micropayment)); generate_label_sheet ($0.002 base (up to $0.008 max ($0.002 base + $0.002 per 50 rendered labels, capped at $0.008 for up to 200 labels), x402 variable settlement)); validate_gtin_check_digit ($0.0005 USD per GTIN/SSCC validation request (up to 100 codes) (x402 instant micropayment)). Prefer traditional monthly billing? Get a verified-email Bearer API key at https://apikeg.com/account with $5/mo ($6 credit), $20/mo ($28 credit), or $50/mo ($80 credit) per-product plans. Invalid schemas (HTTP 400) and ?dry_run=true always cost $0.00.

Can I validate request payloads for free before paying?

Yes. Pass ?dry_run=true in the URL or send the header X-Dry-Run: true to validate your JSON input against the strict schema at $0.00 cost.