# API Keg (`apikeg.com`)

> Pay-per-pour deterministic edge APIs and remote Streamable HTTP MCP servers for business, operations, and coding agents.

No accounts, OAuth redirects, or static API keys required. Every service below exposes free discovery (`/llms.txt`, `/openapi.json`, `/.well-known/mcp.json`, `/.well-known/api-catalog`, MCP `tools/list`, and `?dry_run=true` schema validation) and settles paid executions inline over `HTTP 402` (`x402` v2 with `USDC` on Base via Cloudflare Monetization Gateway).

## Hub Discovery Indexes
- **RFC 9727 Master API Catalog:** [https://apikeg.com/.well-known/api-catalog](https://apikeg.com/.well-known/api-catalog)
- **Use-Case & Intent Index:** [https://apikeg.com/use-cases.md](https://apikeg.com/use-cases.md)
- **Categories:** [agent-infra](https://apikeg.com/categories/agent-infra.md) · [agent-infrastructure](https://apikeg.com/categories/agent-infrastructure.md) · [api-tooling](https://apikeg.com/categories/api-tooling.md) · [business-intelligence](https://apikeg.com/categories/business-intelligence.md) · [business-ops](https://apikeg.com/categories/business-ops.md) · [context-compression](https://apikeg.com/categories/context-compression.md) · [context-engineering](https://apikeg.com/categories/context-engineering.md) · [context-optimization](https://apikeg.com/categories/context-optimization.md) · [crm-automation](https://apikeg.com/categories/crm-automation.md) · [data-analytics](https://apikeg.com/categories/data-analytics.md) · [data-extraction](https://apikeg.com/categories/data-extraction.md) · [data-hygiene](https://apikeg.com/categories/data-hygiene.md) · [data-visualization](https://apikeg.com/categories/data-visualization.md) · [developer-tools](https://apikeg.com/categories/developer-tools.md) · [document-automation](https://apikeg.com/categories/document-automation.md) · [document-generation](https://apikeg.com/categories/document-generation.md) · [document-processing](https://apikeg.com/categories/document-processing.md) · [ecommerce](https://apikeg.com/categories/ecommerce.md) · [email-deliverability](https://apikeg.com/categories/email-deliverability.md) · [email-ops](https://apikeg.com/categories/email-ops.md) · [logistics](https://apikeg.com/categories/logistics.md) · [marketing-ops](https://apikeg.com/categories/marketing-ops.md) · [observability](https://apikeg.com/categories/observability.md) · [office-ooxml](https://apikeg.com/categories/office-ooxml.md) · [procurement-ops](https://apikeg.com/categories/procurement-ops.md) · [productivity](https://apikeg.com/categories/productivity.md) · [reporting](https://apikeg.com/categories/reporting.md) · [retail-ops](https://apikeg.com/categories/retail-ops.md) · [revops](https://apikeg.com/categories/revops.md) · [scheduling](https://apikeg.com/categories/scheduling.md) · [security-compliance](https://apikeg.com/categories/security-compliance.md) · [security-hygiene](https://apikeg.com/categories/security-hygiene.md) · [security-verification](https://apikeg.com/categories/security-verification.md) · [spreadsheets](https://apikeg.com/categories/spreadsheets.md) · [web-scraping](https://apikeg.com/categories/web-scraping.md) · [webhook-testing](https://apikeg.com/categories/webhook-testing.md)

## Available Subdomain APIs & Remote MCP Servers (15)

### [CRM Cleanse & Dedupe Edge API](https://crm-cleanse.apikeg.com/) — `https://crm-cleanse.apikeg.com`
- **Summary:** Normalize E.164 phones, clean names/companies, and fuzzy-deduplicate up to 500 CRM leads in <15ms.
- **Why Buy vs. DIY:** Eliminates brittle regexes, trunk-zero E.164 bugs, McDonald/O'Connor casing mistakes, free-webmail false merges, and multi-turn LLM token burn over large lead lists.
- **MCP Endpoint (Streamable HTTP):** `https://crm-cleanse.apikeg.com/mcp` (`com.apikeg/crm-cleanse`)
- **Docs & Schemas:** [llms.txt](https://crm-cleanse.apikeg.com/llms.txt) | [llms-full.txt](https://crm-cleanse.apikeg.com/llms-full.txt) | [openapi.json](https://crm-cleanse.apikeg.com/openapi.json) | [.well-known/x402.json](https://crm-cleanse.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`cleanse_contact_batch`](https://crm-cleanse.apikeg.com/tools/cleanse-contact-batch.md) (`POST https://crm-cleanse.apikeg.com/v1/cleanse-contact-batch`) — $0.001 base (up to $0.01 max ($0.001 minimum + $0.002 per 100 records, capped at $0.01 for up to 500 records), x402 variable settlement): Normalizes emails, international E.164 phones, person names/honorifics, and company legal suffixes across 1-500 CRM records, returning merged canonical uniqueRecords and duplicateClusters.
  - [`compare_contact_pair`](https://crm-cleanse.apikeg.com/tools/compare-contact-pair.md) (`POST https://crm-cleanse.apikeg.com/v1/compare-contact-pair`) — $0.0005 USD per contact pair comparison (x402 instant micropayment): Computes field-by-field normalized similarity (email fingerprint, E.164 phone, Jaro-Winkler + Soundex name, company key, corporate domain) and returns an isMatch merge recommendation.

### [MailPreflight Email QA & Deliverability API](https://mail-preflight.apikeg.com/) — `https://mail-preflight.apikeg.com`
- **Summary:** Catch broken merge tags, Gmail 102KB clipping, Outlook CSS bugs, and spam triggers before your agent hits send.
- **Why Buy vs. DIY:** Replaces brittle regexes and heavyweight headless browsers with a <15ms deterministic HTML/CSS & deliverability parser covering Outlook Word VML/ghost-table quirks, 6 ESP placeholder syntaxes, phishing host-mismatch checks, and RFC 5322 plain-text conversion.
- **MCP Endpoint (Streamable HTTP):** `https://mail-preflight.apikeg.com/mcp` (`com.apikeg/mail-preflight`)
- **Docs & Schemas:** [llms.txt](https://mail-preflight.apikeg.com/llms.txt) | [llms-full.txt](https://mail-preflight.apikeg.com/llms-full.txt) | [openapi.json](https://mail-preflight.apikeg.com/openapi.json) | [.well-known/x402.json](https://mail-preflight.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`audit_email_template`](https://mail-preflight.apikeg.com/tools/audit-email-template.md) (`POST https://mail-preflight.apikeg.com/v1/audit-email-template`) — $0.003 USD per email template preflight audit (x402 instant micropayment): Runs a full pre-send deliverability, merge-tag, link-hygiene, Gmail 102KB clipping, and cross-client CSS compatibility audit (Outlook Windows, Gmail, Apple Mail Dark Mode) on an HTML email.
  - [`extract_plain_text_fallback`](https://mail-preflight.apikeg.com/tools/extract-plain-text-fallback.md) (`POST https://mail-preflight.apikeg.com/v1/extract-plain-text-fallback`) — $0.001 USD per HTML-to-plain-text MIME fallback conversion (x402 instant micropayment): Converts an HTML email into a clean, RFC 5322-wrapped text/plain MIME companion, preserving CTA links inline as 'Label (https://...)' and stripping invisible &#847; / &zwnj; preheader padding hacks.

### [Domain & Email Deliverability Inspector](https://domain-deliverability.apikeg.com/) — `https://domain-deliverability.apikeg.com`
- **Summary:** Verify 100-email batches and audit recursive SPF, DMARC, MX, DKIM & BIMI at the edge.
- **Why Buy vs. DIY:** Replaces brittle DIY DNS scripts with RFC 7208 10-lookup recursive SPF tree evaluation, RFC 7505 Null MX detection, DMARC/DKIM/BIMI parsing, and deduplicated DoH batch checks for $0.001-$0.01.
- **MCP Endpoint (Streamable HTTP):** `https://domain-deliverability.apikeg.com/mcp` (`com.apikeg/domain-deliverability`)
- **Docs & Schemas:** [llms.txt](https://domain-deliverability.apikeg.com/llms.txt) | [llms-full.txt](https://domain-deliverability.apikeg.com/llms-full.txt) | [openapi.json](https://domain-deliverability.apikeg.com/openapi.json) | [.well-known/x402.json](https://domain-deliverability.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`verify_email_batch`](https://domain-deliverability.apikeg.com/tools/verify-email-batch.md) (`POST https://domain-deliverability.apikeg.com/v1/verify-email-batch`) — $0.001 base (up to $0.01 max $0.001 base + $0.0005 per unique domain checked (up to 100 emails, capped at $0.01), x402 variable settlement): Validates a batch of 1 to 100 email addresses for RFC syntax, live MX/Null-MX mail acceptance, ESP provider fingerprint, SPF/DMARC domain posture, disposable/burner domains, role accounts, and free-webmail providers with per-domain DNS deduplication.
  - [`audit_sender_domain`](https://domain-deliverability.apikeg.com/tools/audit-sender-domain.md) (`POST https://domain-deliverability.apikeg.com/v1/audit-sender-domain`) — $0.002 USD per sender domain authentication audit (x402 instant micropayment): Performs a deep sender deliverability audit for a domain: MX & ESP provider fingerprinting, recursive RFC 7208 SPF tree evaluation (10-lookup cap, 2-void-lookup cap, cycle & multi-record permerror detection), DMARC policy & alignment, BIMI logo/VMC, and optional DKIM selector key checks, returning a 0-100 score, prioritized issues, and copy-paste DNS remediation records.

### [HookSink Webhook Inbox & Signature Verifier API](https://hook-sink.apikeg.com/) — `https://hook-sink.apikeg.com`
- **Summary:** Provision instant public webhook URLs, verify Stripe/Shopify/GitHub/Slack HMAC signatures, and replay captured events at the edge.
- **Why Buy vs. DIY:** Eliminates spinning up ngrok tunnels, public servers, or error-prone raw-body HMAC/timestamp parsers when agents test integrations or receive async callbacks.
- **MCP Endpoint (Streamable HTTP):** `https://hook-sink.apikeg.com/mcp` (`com.apikeg/hook-sink`)
- **Docs & Schemas:** [llms.txt](https://hook-sink.apikeg.com/llms.txt) | [llms-full.txt](https://hook-sink.apikeg.com/llms-full.txt) | [openapi.json](https://hook-sink.apikeg.com/openapi.json) | [.well-known/x402.json](https://hook-sink.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`create_inbox`](https://hook-sink.apikeg.com/tools/create-inbox.md) (`POST https://hook-sink.apikeg.com/v1/create-inbox`) — Free ($0.00): Provisions a fresh public webhook capture URL (/in/:inboxId) backed by an isolated Durable Object ring buffer (up to 100 events, 128 KiB each) with optional automatic HMAC signature verification.
  - [`inspect_inbox_events`](https://hook-sink.apikeg.com/tools/inspect-inbox-events.md) (`POST https://hook-sink.apikeg.com/v1/inspect-inbox-events`) — $0.002 USD per inbox inspection query (x402 instant micropayment): Retrieves captured webhook deliveries from an inbox (headers, raw body, SHA-256 digest, parsed JSON, and cryptographic signature verification), supporting cursor pagination via sinceEventId and retroactive ad-hoc signature checks.
  - [`verify_webhook_signature`](https://hook-sink.apikeg.com/tools/verify-webhook-signature.md) (`POST https://hook-sink.apikeg.com/v1/verify-webhook-signature`) — $0.001 USD per stateless signature verification (x402 instant micropayment): Statelessly verifies webhook HMAC-SHA256 signatures and replay timestamps across Stripe, GitHub, Shopify, Slack, Linear, or custom headers using constant-time Web Crypto comparison.
  - [`replay_event`](https://hook-sink.apikeg.com/tools/replay-event.md) (`POST https://hook-sink.apikeg.com/v1/replay-event`) — $0.003 USD per SSRF-guarded webhook replay (x402 instant micropayment): Replays a captured webhook event (exact raw body, HTTP method, and signature headers) from an inbox to a public HTTP/HTTPS target URL protected by strict SSRF filtering, returning target status, latency, and response snippet.

### [CalendarICS Edge API](https://calendar-ics.apikeg.com/) — `https://calendar-ics.apikeg.com`
- **Summary:** Generate Outlook/Google/Apple-proof RFC 5545 .ics invites, VTIMEZONE blocks, and calendar deep links in <5ms.
- **Why Buy vs. DIY:** LLM-generated .ics strings routinely fail in Outlook and Apple Calendar due to LF-only line breaks, >75-octet UTF-8 emoji corruption, and missing VTIMEZONE definitions. One $0.001 call guarantees byte-accurate RFC 5545 compliance.
- **MCP Endpoint (Streamable HTTP):** `https://calendar-ics.apikeg.com/mcp` (`com.apikeg/calendar-ics`)
- **Docs & Schemas:** [llms.txt](https://calendar-ics.apikeg.com/llms.txt) | [llms-full.txt](https://calendar-ics.apikeg.com/llms-full.txt) | [openapi.json](https://calendar-ics.apikeg.com/openapi.json) | [.well-known/x402.json](https://calendar-ics.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`generate_calendar_invite`](https://calendar-ics.apikeg.com/tools/generate-calendar-invite.md) (`POST https://calendar-ics.apikeg.com/v1/generate-calendar-invite`) — $0.001 USD per generated .ics invite + deep-link bundle (x402 instant micropayment): Compiles a strict RFC 5545 / RFC 5546 .ics invite (PUBLISH, REQUEST with RSVP attendees, or CANCEL) with UTF-8 code-point-safe 75-octet CRLF folding, IANA VTIMEZONE blocks, and Google/Outlook/Yahoo/data-URI calendar links.
  - [`validate_ics_payload`](https://calendar-ics.apikeg.com/tools/validate-ics-payload.md) (`POST https://calendar-ics.apikeg.com/v1/validate-ics-payload`) — $0.001 USD per .ics audit (with optional deterministic auto-repair) (x402 instant micropayment): Audits raw .ics text for RFC 5545 & iTIP defects (LF-only line breaks, >75-octet lines, missing VCALENDAR/VERSION/PRODID/UID/DTSTAMP/DTSTART, DTEND <= DTSTART, missing VTIMEZONE for TZID, METHOD:CANCEL without STATUS:CANCELLED, METHOD:REQUEST without ORGANIZER, unescaped commas/newlines) and optionally returns a deterministically repaired .ics string.

### [Office OOXML Template Merge & Markdown Extractor API](https://office-template.apikeg.com/) — `https://office-template.apikeg.com`
- **Summary:** Brand-safe .docx/.pptx template merging (fixing Word split XML runs & table loops) and 85%+ token-saving .docx/.pptx/.xlsx Markdown extraction.
- **Why Buy vs. DIY:** Typing {{customer_name}} in Word or PowerPoint shatters placeholders across multiple <w:r>/<a:r> runs with <w:proofErr/> tags, breaking naive regex scripts and corrupting PKZIP CRC32 headers. This API heals split runs, clones styled table rows, and extracts clean Markdown in milliseconds.
- **MCP Endpoint (Streamable HTTP):** `https://office-template.apikeg.com/mcp` (`com.apikeg/office-template`)
- **Docs & Schemas:** [llms.txt](https://office-template.apikeg.com/llms.txt) | [llms-full.txt](https://office-template.apikeg.com/llms-full.txt) | [openapi.json](https://office-template.apikeg.com/openapi.json) | [.well-known/x402.json](https://office-template.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`merge_office_template`](https://office-template.apikeg.com/tools/merge-office-template.md) (`POST https://office-template.apikeg.com/v1/merge-office-template`) — $0.004 USD per Office template merge (.docx or .pptx) (x402 instant micropayment): Coalesces split {{variable}} runs across Word (<w:r>) and PowerPoint (<a:r>) paragraphs while preserving opening-run typography, expands {{#loop}}...{{/loop}} table rows, replaces variables across body/headers/footers/slides, and returns a valid PKZIP Base64 document plus any unmatchedPlaceholders.
  - [`extract_office_markdown`](https://office-template.apikeg.com/tools/extract-office-markdown.md) (`POST https://office-template.apikeg.com/v1/extract-office-markdown`) — $0.002 USD per Office document extraction (.docx, .pptx, or .xlsx) (x402 instant micropayment): Auto-detects .docx, .pptx, or .xlsx from OOXML structure and converts headings, lists, Word/PowerPoint tables, numerically ordered slides, speaker notes, and sparse Excel worksheets into compact GitHub-Flavored Markdown with token-savings telemetry.

### [Context Crush — Deterministic LLM Context Compactor](https://context-crush.apikeg.com/) — `https://context-crush.apikeg.com`
- **Summary:** Cut WebVTT/SRT transcripts, .eml reply chains, Slack threads, and Jira ADF JSON by 65-90% tokens in <15ms with zero LLM summarization loss.
- **Why Buy vs. DIY:** Replaces fragile MIME/quoted-printable decoders, rolling live-caption overlap logic, O(N^2) email quote peelers, and recursive Jira ADF AST renderers—saving $0.02-$0.15 in downstream frontier-LLM input tokens for a $0.001-$0.005 edge call.
- **MCP Endpoint (Streamable HTTP):** `https://context-crush.apikeg.com/mcp` (`com.apikeg/context-crush`)
- **Docs & Schemas:** [llms.txt](https://context-crush.apikeg.com/llms.txt) | [llms-full.txt](https://context-crush.apikeg.com/llms-full.txt) | [openapi.json](https://context-crush.apikeg.com/openapi.json) | [.well-known/x402.json](https://context-crush.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`compact_transcript`](https://context-crush.apikeg.com/tools/compact-transcript.md) (`POST https://context-crush.apikeg.com/v1/compact-transcript`) — $0.001 base (up to $0.005 max ($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB), x402 variable settlement): Parses WebVTT (<v Speaker>, NOTE/STYLE blocks, cue UUIDs), SubRip (.srt), or Zoom/Teams/Otter text transcripts; deduplicates rolling live captions, coalesces speaker turns into Markdown, and computes speaker talk-turn stats.
  - [`compact_email_thread`](https://context-crush.apikeg.com/tools/compact-email-thread.md) (`POST https://context-crush.apikeg.com/v1/compact-email-thread`) — $0.001 base (up to $0.005 max ($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB), x402 variable settlement): Decodes raw RFC 5322 .eml MIME messages (multipart/alternative, quoted-printable, base64) or pasted reply chains, strips O(N^2) repeated quoted history, mobile signatures, and legal disclaimers, and outputs chronological Markdown.
  - [`compact_workspace_export`](https://context-crush.apikeg.com/tools/compact-workspace-export.md) (`POST https://context-crush.apikeg.com/v1/compact-workspace-export`) — $0.001 base (up to $0.005 max ($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB), x402 variable settlement): Compacts Slack channel/thread JSON (resolving <@U...> mentions, dropping join/leave noise, grouping thread_ts replies, formatting reactions, stripping Block Kit) or Jira v3 Issue/ADF JSON (rendering headings, tables, code blocks, lists, mentions, comments while dropping avatarUrls and null customfield_* keys).

### [Sheet SQL & Multi-Tab XLSX Engine API](https://sheet-sql.apikeg.com/) — `https://sheet-sql.apikeg.com`
- **Summary:** Run real SQLite JOINs and window functions over messy CSV/JSON tables and export styled multi-tab .xlsx workbooks in milliseconds.
- **Why Buy vs. DIY:** Eliminates spinning up Python/pandas/openpyxl sandboxes, avoids LLM arithmetic hallucinations on large CSVs, strips '$1,250.50' currency strings automatically, and emits genuine frozen-header Excel formulas.
- **MCP Endpoint (Streamable HTTP):** `https://sheet-sql.apikeg.com/mcp` (`com.apikeg/sheet-sql`)
- **Docs & Schemas:** [llms.txt](https://sheet-sql.apikeg.com/llms.txt) | [llms-full.txt](https://sheet-sql.apikeg.com/llms-full.txt) | [openapi.json](https://sheet-sql.apikeg.com/openapi.json) | [.well-known/x402.json](https://sheet-sql.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`query_tabular_data`](https://sheet-sql.apikeg.com/tools/query-tabular-data.md) (`POST https://sheet-sql.apikeg.com/v1/query-tabular-data`) — $0.002 base (up to $0.01 max $0.002 base + $0.001 per 1,000 total input rows (capped at $0.01), x402 variable settlement): Ingests 1–10 named RFC 4180 CSV/TSV or JSON row-array datasets into an ephemeral zero-retention SQLite sandbox, coerces currency columns (e.g. '$1,250.50' -> 1250.5), runs read-only SQL (JOIN, GROUP BY, CTEs, window functions), and returns typed rows, Markdown preview, inferred schemas, and optional .xlsx export.
  - [`build_xlsx_workbook`](https://sheet-sql.apikeg.com/tools/build-xlsx-workbook.md) (`POST https://sheet-sql.apikeg.com/v1/build-xlsx-workbook`) — $0.003 USD per multi-sheet .xlsx workbook generation (x402 instant micropayment): Compiles 1–20 structured JSON datasets into a genuine Office Open XML (.xlsx) workbook with bold shaded headers, frozen top rows, auto-sized columns, numeric formatting, formula-injection protection, and live Excel summary formulas (SUM, AVERAGE, MIN, MAX, COUNT).

### [PDF Forge & Layout Diagnostics Edge API](https://pdf-forge.apikeg.com/) — `https://pdf-forge.apikeg.com`
- **Summary:** Compile Markdown or HTML into polished multi-page PDF 1.7 documents with orphan-page & wide-table diagnostics in <20ms.
- **Why Buy vs. DIY:** Eliminates heavyweight headless Chromium containers, broken PDF byte-offset xref tables, clipped wide tables, and embarrassing 2-line trailing orphan pages before delivering client-facing PDFs.
- **MCP Endpoint (Streamable HTTP):** `https://pdf-forge.apikeg.com/mcp` (`com.apikeg/pdf-forge`)
- **Docs & Schemas:** [llms.txt](https://pdf-forge.apikeg.com/llms.txt) | [llms-full.txt](https://pdf-forge.apikeg.com/llms-full.txt) | [openapi.json](https://pdf-forge.apikeg.com/openapi.json) | [.well-known/x402.json](https://pdf-forge.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`render_document_pdf`](https://pdf-forge.apikeg.com/tools/render-document-pdf.md) (`POST https://pdf-forge.apikeg.com/v1/render-document-pdf`) — $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) (`POST https://pdf-forge.apikeg.com/v1/inspect-pdf-document`) — $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.

### [Trace Diet — HAR & Log Context Distiller API](https://trace-diet.apikeg.com/) — `https://trace-diet.apikeg.com`
- **Summary:** Shrink 5MB .har captures and 50,000-line crash logs by 95–99% while scrubbing live tokens before they hit your LLM context.
- **Why Buy vs. DIY:** Saves $0.25–$1.50 of wasted frontier-LLM input tokens per debugging turn, prevents live JWT/Cookie leakage into conversation history, folds multi-language stack traces accurately, and infers TypeScript API schemas in <40ms.
- **MCP Endpoint (Streamable HTTP):** `https://trace-diet.apikeg.com/mcp` (`com.apikeg/trace-diet`)
- **Docs & Schemas:** [llms.txt](https://trace-diet.apikeg.com/llms.txt) | [llms-full.txt](https://trace-diet.apikeg.com/llms-full.txt) | [openapi.json](https://trace-diet.apikeg.com/openapi.json) | [.well-known/x402.json](https://trace-diet.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`distill_har_capture`](https://trace-diet.apikeg.com/tools/distill-har-capture.md) (`POST https://trace-diet.apikeg.com/v1/distill-har-capture`) — $0.002 base (up to $0.008 max ($0.002 base + $0.001 per 250KB of .har input, capped at $0.008), x402 variable settlement): Parses Chrome DevTools / Playwright .har captures, strips static assets (.js/.css/fonts/images), analytics beacons, and OPTIONS preflights, scrubs credentials (Authorization, Cookie, Set-Cookie, X-Api-Key, token params, JWTs) into [REDACTED:<type>], groups dynamic :id/:uuid routes and polling loops, surfaces 4xx/5xx failures and slowestEndpoints, and infers compact TypeScript request/response schemas.
  - [`cluster_logs`](https://trace-diet.apikeg.com/tools/cluster-logs.md) (`POST https://trace-diet.apikeg.com/v1/cluster-logs`) — $0.002 base (up to $0.008 max ($0.002 base + $0.001 per 2,000 log lines, capped at $0.008), x402 variable settlement): Folds multi-line stack traces (JS/Java 'at ...', Python Traceback, Go panics, Java 'Caused by:'), parses plain-text, Docker/Kubernetes CRI, and NDJSON logs, pre-masks <UUID>/<IP>/<HEX>/<ISO_TS>/<URL>/<NUM>, and runs a fixed-depth Drain prefix-tree clusterer to collapse 50,000+ log lines by 95–99% with errorClusters highlighted first.

### [Spec Slice — OpenAPI & GraphQL Subgraph Extractor](https://spec-slice.apikeg.com/) — `https://spec-slice.apikeg.com`
- **Summary:** Shrink 200k-token OpenAPI 3.1 and GraphQL schemas by 90-99% into valid, cycle-safe mini-specs in <20ms.
- **Why Buy vs. DIY:** Eliminates context-window overflow on massive Stripe/GitHub/Shopify specs, avoids broken $ref pointers or infinite recursive schema loops, and saves $0.10-$0.50 in LLM input tokens for $0.001.
- **MCP Endpoint (Streamable HTTP):** `https://spec-slice.apikeg.com/mcp` (`com.apikeg/spec-slice`)
- **Docs & Schemas:** [llms.txt](https://spec-slice.apikeg.com/llms.txt) | [llms-full.txt](https://spec-slice.apikeg.com/llms-full.txt) | [openapi.json](https://spec-slice.apikeg.com/openapi.json) | [.well-known/x402.json](https://spec-slice.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`slice_openapi_spec`](https://spec-slice.apikeg.com/tools/slice-openapi-spec.md) (`POST https://spec-slice.apikeg.com/v1/slice-openapi-spec`) — $0.001 USD per OpenAPI/Swagger subgraph slice (x402 instant micropayment): Scores OpenAPI/Swagger endpoints against a natural-language `query` (BM25 + boosted `operationId`, `summary`, `tags`, and path tokens) or explicit `operationIds`/`pathPatterns`, walks every reachable JSON Pointer `$ref` with cycle protection, prunes unused paths/components, and emits ready-to-use `curl` + TypeScript `fetch` snippets.
  - [`slice_graphql_schema`](https://spec-slice.apikeg.com/tools/slice-graphql-schema.md) (`POST https://spec-slice.apikeg.com/v1/slice-graphql-schema`) — $0.001 USD per GraphQL SDL subgraph slice (x402 instant micropayment): Parses GraphQL Schema Definition Language (`Query`, `Mutation`, `Subscription`, `type`, `input`, `interface`, `union`, `enum`, `scalar`), scores root fields against `query` or explicit `rootFields`, and emits a valid mini-SDL containing only selected root fields and the transitive closure of referenced types.

### [Executive SVG Chart & KPI Card Compiler Edge API](https://chart-viz.apikeg.com/) — `https://chart-viz.apikeg.com`
- **Summary:** Compile board-ready SVG charts (waterfall, funnel, gantt, bar, line) and KPI sparkline cards with zero overlapping labels in <10ms.
- **Why Buy vs. DIY:** Eliminates clipped axes, overlapping x-axis text, broken floating-point tick steps, heavyweight headless-browser Chart.js/Playwright containers, and thousands of wasted LLM tokens generating raw SVG coordinates.
- **MCP Endpoint (Streamable HTTP):** `https://chart-viz.apikeg.com/mcp` (`com.apikeg/chart-viz`)
- **Docs & Schemas:** [llms.txt](https://chart-viz.apikeg.com/llms.txt) | [llms-full.txt](https://chart-viz.apikeg.com/llms-full.txt) | [openapi.json](https://chart-viz.apikeg.com/openapi.json) | [.well-known/x402.json](https://chart-viz.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`render_chart`](https://chart-viz.apikeg.com/tools/render-chart.md) (`POST https://chart-viz.apikeg.com/v1/render-chart`) — $0.002 USD per rendered executive SVG chart (x402 instant micropayment): Compiles structured business data into a crisp standalone SVG + base64 data URI across bar, stacked_bar, horizontal_bar, line, area, waterfall, funnel, and gantt chart types, returning a verified zero-overlap layoutReport.
  - [`render_kpi_card`](https://chart-viz.apikeg.com/tools/render-kpi-card.md) (`POST https://chart-viz.apikeg.com/v1/render-kpi-card`) — $0.001 USD per executive KPI snapshot card (1-6 tiles) (x402 instant micropayment): Renders 1-6 executive KPI summary tiles with formatted headline values ($1.2M, 45.3%), semantic trend pills (+14.2% MoM), and inline SVG sparklines ready for Slack, Notion, Email, PDFs, or slide decks.

### [Document Redline & Table Diff Edge API](https://doc-redline.apikeg.com/) — `https://doc-redline.apikeg.com`
- **Summary:** Deterministic Myers redlines, numeric/date edit alerts, Word .docx Track Changes, and composite-key table diffs in milliseconds.
- **Why Buy vs. DIY:** Prevents middle-of-context LLM skimming misses on buried numeric/date edits, cuts 40-page document review payloads by 90-98% in tokens, and emits real OpenXML <w:ins>/<w:del> .docx archives without brittle Python/LibreOffice dependencies.
- **MCP Endpoint (Streamable HTTP):** `https://doc-redline.apikeg.com/mcp` (`com.apikeg/doc-redline`)
- **Docs & Schemas:** [llms.txt](https://doc-redline.apikeg.com/llms.txt) | [llms-full.txt](https://doc-redline.apikeg.com/llms-full.txt) | [openapi.json](https://doc-redline.apikeg.com/openapi.json) | [.well-known/x402.json](https://doc-redline.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`diff_documents`](https://doc-redline.apikeg.com/tools/diff-documents.md) (`POST https://doc-redline.apikeg.com/v1/diff-documents`) — $0.002 USD per document redline comparison (x402 instant micropayment): Runs two-level Myers O(ND) section/paragraph and inline word-and-punctuation diffing across two document versions, returning sectionBreadcrumb-tagged hunks, CriticMarkup ({--old--}{++new++}), inline HTML (<del>/<ins>), dedicated numericAndDateChanges alerts, and optional native .docx Track Changes.
  - [`diff_tables`](https://doc-redline.apikeg.com/tools/diff-tables.md) (`POST https://doc-redline.apikeg.com/v1/diff-tables`) — $0.002 USD per structured table or catalog diff (x402 instant micropayment): Compares two JSON object arrays or RFC 4180 CSV strings keyed by a single or composite primaryKey, returning exact summary counts, added rows, removed rows, and cell-level modified diffs with exact decimal numericDelta.

### [DOM Harvest & Table Grid Edge API](https://dom-harvest.apikeg.com/) — `https://dom-harvest.apikeg.com`
- **Summary:** Turn noisy HTML tables, repeating product grids, and JSON-LD into clean typed JSON with >90% LLM token reduction.
- **Why Buy vs. DIY:** Dumping raw 300KB HTML into an LLM burns $0.05-$0.30 in context tokens and truncates past item 20; DIY regex/table parsers break on multi-row thead colspan + rowspan merges. DOM Harvest extracts all 500 items deterministically in <20ms for $0.001-$0.002.
- **MCP Endpoint (Streamable HTTP):** `https://dom-harvest.apikeg.com/mcp` (`com.apikeg/dom-harvest`)
- **Docs & Schemas:** [llms.txt](https://dom-harvest.apikeg.com/llms.txt) | [llms-full.txt](https://dom-harvest.apikeg.com/llms-full.txt) | [openapi.json](https://dom-harvest.apikeg.com/openapi.json) | [.well-known/x402.json](https://dom-harvest.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`harvest_page_structures`](https://dom-harvest.apikeg.com/tools/harvest-page-structures.md) (`POST https://dom-harvest.apikeg.com/v1/harvest-page-structures`) — $0.002 USD per HTML page structure harvest (x402 instant micropayment): Zero-selector structural HTML harvester: extracts canonical/OpenGraph/Twitter metadata, Schema.org JSON-LD, normalized 2D tables (resolving multi-header rowspan/colspan merges + cell links), and repeating sibling card collections across 100-500 items without truncation.
  - [`extract_by_schema`](https://dom-harvest.apikeg.com/tools/extract-by-schema.md) (`POST https://dom-harvest.apikeg.com/v1/extract-by-schema`) — $0.001 USD per declarative CSS-schema extraction (x402 instant micropayment): Deterministic CSS-selector record extractor supporting descendant/child/attribute/group selectors, relative URL resolution against baseUrl, numeric currency/comma coercion, boolean flags, inner HTML serialization, and multi-value arrays.

### [Barcode, QR & Logistics Label Sheet Edge API](https://barcode-pass.apikeg.com/) — `https://barcode-pass.apikeg.com`
- **Summary:** Generate scan-verified QR Codes, GS1-128, EAN-13, UPC-A (SVG + lossless PNG) and Avery/Zebra label sheets in <15ms.
- **Why Buy vs. 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.
- **MCP Endpoint (Streamable HTTP):** `https://barcode-pass.apikeg.com/mcp` (`com.apikeg/barcode-pass`)
- **Docs & Schemas:** [llms.txt](https://barcode-pass.apikeg.com/llms.txt) | [llms-full.txt](https://barcode-pass.apikeg.com/llms-full.txt) | [openapi.json](https://barcode-pass.apikeg.com/openapi.json) | [.well-known/x402.json](https://barcode-pass.apikeg.com/.well-known/x402.json)
- **Tools:**
  - [`generate_barcode`](https://barcode-pass.apikeg.com/tools/generate-barcode.md) (`POST https://barcode-pass.apikeg.com/v1/generate-barcode`) — $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) (`POST https://barcode-pass.apikeg.com/v1/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): 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) (`POST https://barcode-pass.apikeg.com/v1/validate-gtin-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).
