{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "schemaVersion": "1.0",
  "name": "Barcode, QR & Logistics Label Sheet Edge API",
  "humanReadableId": "apikeg/barcode-pass",
  "agentVersion": "1.0.0",
  "description": "Generate scan-verified QR Codes, GS1-128, EAN-13, UPC-A (SVG + lossless PNG) and Avery/Zebra label sheets in <15ms. 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.",
  "provider": {
    "name": "API Keg",
    "url": "https://apikeg.com"
  },
  "capabilities": {
    "mcpVersion": "2025-06-18",
    "x402Version": 2,
    "streaming": false,
    "supportedMessageParts": [
      "json",
      "text"
    ]
  },
  "supportedInterfaces": [
    {
      "url": "https://barcode-pass.apikeg.com/mcp",
      "protocolBinding": "MCP-STREAMABLE-HTTP",
      "protocolVersion": "2025-06-18"
    },
    {
      "url": "https://barcode-pass.apikeg.com/openapi.json",
      "protocolBinding": "OPENAPI-REST",
      "protocolVersion": "3.1.0"
    },
    {
      "url": "https://barcode-pass.apikeg.com/.well-known/api-catalog",
      "protocolBinding": "RFC9727-LINKSET",
      "protocolVersion": "1.0"
    }
  ],
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/markdown",
    "text/html"
  ],
  "skills": [
    {
      "id": "generate_barcode",
      "name": "Generate Barcode or QR Code (SVG + PNG)",
      "description": "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 call instead of 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. Pricing: $0.001 USD per generated barcode or QR symbol (SVG + PNG) (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "logistics",
        "ecommerce",
        "retail-ops",
        "developer-tools",
        "document-generation"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.001",
        "unitDescription": "per generated barcode or QR symbol (SVG + PNG)"
      },
      "documentationUrl": "https://barcode-pass.apikeg.com/tools/generate-barcode"
    },
    {
      "id": "generate_label_sheet",
      "name": "Generate Printable Barcode / QR Label Sheet",
      "description": "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 call instead of 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. Pricing: $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). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "logistics",
        "ecommerce",
        "retail-ops",
        "developer-tools",
        "document-generation"
      ],
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.002",
        "maxPriceUsd": "0.008",
        "unitDescription": "($0.002 base + $0.002 per 50 rendered labels, capped at $0.008 for up to 200 labels)"
      },
      "documentationUrl": "https://barcode-pass.apikeg.com/tools/generate-label-sheet"
    },
    {
      "id": "validate_gtin_check_digit",
      "name": "Validate or Compute GS1 GTIN / SSCC Check Digit",
      "description": "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 call instead of DIY: Prevents costly retailer/Amazon GTIN check-digit rejections and off-by-one right-to-left 3x/1x weighting bugs. Pricing: $0.0005 USD per GTIN/SSCC validation request (up to 100 codes) (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "logistics",
        "ecommerce",
        "retail-ops",
        "developer-tools",
        "document-generation"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.0005",
        "unitDescription": "per GTIN/SSCC validation request (up to 100 codes)"
      },
      "documentationUrl": "https://barcode-pass.apikeg.com/tools/validate-gtin-check-digit"
    }
  ]
}