# API Keg Category: `document-generation`

> 2 zero-signup Cloudflare Edge API(s) and Streamable HTTP MCP server(s) tagged `document-generation` on `*.apikeg.com`.

## [PDF Forge & Layout Diagnostics Edge API](https://pdf-forge.apikeg.com/) (`https://pdf-forge.apikeg.com/mcp`)
Compile Markdown or HTML into polished multi-page PDF 1.7 documents with orphan-page & wide-table diagnostics in <20ms.

- [`render_document_pdf`](https://pdf-forge.apikeg.com/tools/render-document-pdf.md) — $0.004 USD per rendered PDF document (x402 instant micropayment): Compiles Markdown (headings, bold/italic/code, lists, GFM tables, callouts, '---pagebreak---') or HTML into both print-ready themed HTML and a spec-compliant multi-page PDF 1.7 binary with running headers, 'Page X of Y' footers, repeated table headers across page breaks, optional watermark, and deterministic layoutDiagnostics.
- [`inspect_pdf_document`](https://pdf-forge.apikeg.com/tools/inspect-pdf-document.md) — $0.001 USD per PDF binary inspection (x402 instant micropayment): Parses a Base64-encoded PDF binary to verify %PDF header/EOF integrity and extract pdfVersion, exact pageCount, byteLength, encryption status, AcroForm presence, and Info dictionary metadata.

## [Barcode, QR & Logistics Label Sheet Edge API](https://barcode-pass.apikeg.com/) (`https://barcode-pass.apikeg.com/mcp`)
Generate scan-verified QR Codes, GS1-128, EAN-13, UPC-A (SVG + lossless PNG) and Avery/Zebra label sheets in <15ms.

- [`generate_barcode`](https://barcode-pass.apikeg.com/tools/generate-barcode.md) — $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.
- [`generate_label_sheet`](https://barcode-pass.apikeg.com/tools/generate-label-sheet.md) — $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.
- [`validate_gtin_check_digit`](https://barcode-pass.apikeg.com/tools/validate-gtin-check-digit.md) — $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).

