# Tinplate Stateless Edge Micro-APIs > 42 deterministic AI safety, MCP security, data preparation, and EU compliance micro-APIs running on Cloudflare Workers with zero payload logging. ## Core Documentation - [API Catalog & Overview](https://tinplate.dev/): Full list of 42 stateless edge endpoints - [Free Browser Tools](https://tinplate.dev/tools): 10 interactive developer and security tools - [Official TypeScript & Python SDKs + MCP Config](https://tinplate.dev/sdk): Zero-dependency SDKs, Vercel AI SDK guardrails, and MCP setup - [Engineering & Security Blog](https://tinplate.dev/blog): Practitioner writeups and benchmark analysis - [Developer Docs & Envelope Spec](https://tinplate.dev/docs): Authentication, response/error envelopes, and OpenAPI links - [Benchmarks & Limitations](https://tinplate.dev/limitations): Recall/FPR benchmarks and scope boundaries - [Verify & Receipt Lookup](https://tinplate.dev/verify): Verify Ed25519/ES256/HMAC-SHA256 X-Tinplate-Receipt compliance tokens (JWKS at https://tinplate.dev/.well-known/jwks.json) - [Self-Service Key Portal](https://tinplate.dev/portal): View Polar license usage, erase prior-month counters & key caches (POST /portal/erase), and download compliance summaries - [System Status & Live Readiness](https://tinplate.dev/status): Live edge readiness telemetry and historical incident log - [Release Changelog](https://tinplate.dev/changelog): Versioned gateway, SDK, and security changelog - [Security & Trust Center](https://tinplate.dev/security): Ed25519 JWKS attestations, SSRF isolation, incident SLAs, safe harbour & PGP key (https://tinplate.dev/.well-known/security.txt) - [Standard GDPR DPA](https://tinplate.dev/dpa): 0s persistent payload retention, sub-processors, and erasure rights - [Privacy Notice](https://tinplate.dev/privacy): Zero payload logging architecture and minimal anonymous counter disclosure - [Terms of Service](https://tinplate.dev/terms): Acceptable use, fair-use quotas, and Polar billing terms - [Support & Compliance Contacts](https://tinplate.dev/support): Support email (support@tinplate.dev), Polar billing links, public GitHub issues (https://github.com/madmaison/tinplate-action), and GDPR requests - [Unified OpenAPI 3.1 Spec](https://tinplate.dev/openapi.json): Single OpenAPI 3.1.0 specification covering all 49 endpoints - [Postman v2.1 Collection](https://tinplate.dev/postman.json): Downloadable Postman collection covering all 49 endpoints across 42 APIs - [Solutions & Use-Case Bundles](https://tinplate.dev/solutions): MCP security, AI agent SSRF firewall, LLM guardrails, and EU compliance - [Pricing & Quotas](https://tinplate.dev/pricing): Pro ($29/mo), Team ($79/mo), and marketplace BASIC/PRO/ULTRA/MEGA tiers ## Solutions & Use-Case Bundles - [MCP Tool Poisoning Checker & Server Security Linter](https://tinplate.dev/solutions/mcp-security): Model Context Protocol (MCP) tool descriptions are injected directly into your LLM's system prompt. Tinplate gives you deterministic static linting for mcp.json manifests plus runtime argument, shell, SQL, and code guards. - [AI Agent SSRF Protection API & URL Firewall](https://tinplate.dev/solutions/agent-ssrf-firewall): Autonomous agents that browse URLs, fetch webhooks, or read Markdown can be tricked into probing 169.254.169.254, 127.0.0.1, or internal VPC services. Validate and normalize untrusted URLs before your agent ever opens a socket. - [LLM Guardrails: Prompt Injection, PII Redaction & JSON Repair API](https://tinplate.dev/solutions/llm-guardrails): Protect both sides of your LLM call: strip PII and API secrets before prompts leave your VPC, block Unicode/Base64 prompt injections, and deterministically heal broken JSON before it crashes your downstream parser. - [EU VAT API with VIES Validation & Peppol UBL Invoice Validator](https://tinplate.dev/solutions/eu-compliance): Built for European B2B SaaS, fintechs, and invoicing pipelines. Verify VAT formats and live EU VIES registration, validate IBAN/BIC checksums, lint Peppol BIS 3.0 UBL XML invoices, and screen counterparties against EU/UN/OFAC sanctions. ## Category Domain Hubs - [All API Categories](https://tinplate.dev/categories): Domain hubs across 7 technical categories - [AI Safety & LLM Guardrail APIs](https://tinplate.dev/categories/ai-safety): Detect prompt injection, redact reversible PII placeholders before LLM prompts leave your VPC, catch RAG hallucinations, and scan LLM outputs in sub-millisecond edge compute. - [AI Agent & MCP Security APIs](https://tinplate.dev/categories/agent-security): Audit Model Context Protocol (MCP) manifests for tool poisoning, validate LLM tool-call arguments, inspect shell/SQL commands before execution, and sign tamper-evident agent action receipts. - [LLM Data Preparation & JSON Repair APIs](https://tinplate.dev/categories/data-prep): Repair broken LLM JSON output, convert noisy web pages to Markdown, normalize multi-turn chat messages[], chunk docs with code/table boundaries, and neutralize CSV formula injection. - [Application Security, SSRF Firewall & Secret Scanner APIs](https://tinplate.dev/categories/security): Block private IPs and cloud metadata SSRF attacks, mask 28 secret types in logs, audit HTTP security headers, verify Stripe/GitHub/Polar webhooks, and validate RFC 8725 JWT/JWKs. - [Email Authentication, DMARC & Consent Token APIs](https://tinplate.dev/categories/email): Audit MX, SPF 10-lookup limits, DKIM selectors, DMARC policies, and MTA-STS, generate valid DNS TXT records, and issue RFC 8058 stateless one-click unsubscribe consent tokens. - [EU VAT, IBAN, EN 16931 Invoice & Sanctions APIs](https://tinplate.dev/categories/compliance): Validate EU VAT numbers via VIES, MOD-97 IBAN/BIC codes, LEI/EORI corporate IDs, EN 16931 / Peppol BIS 3.0 UBL invoices, Hungarian NAV rules, EU workdays, and global sanctions watchlists. - [Deterministic Developer & DevOps Utility APIs](https://tinplate.dev/categories/utilities): Detect breaking JSON Schema/OpenAPI diffs, parse cron schedules with human explanations, inspect AI crawler bots and robots/llms.txt files, strip UTM tracking, and prevent ReDoS. ## Free Interactive Browser Tools - [Free DMARC, SPF, DKIM & MTA-STS Checker + Generator](https://tinplate.dev/tools/email-dns-checker): Audit MX, SPF, DMARC, DKIM & MTA-STS with a 0–100 score—or generate lookup-safe DNS TXT records. - [Free HTTP Security Headers & CSP Checker (Letter Grade)](https://tinplate.dev/tools/security-headers-checker): Audit HSTS, CSP, X-Frame-Options, Referrer-Policy, Permissions-Policy, and CORS with a shareable letter grade. - [Free IBAN, EU VAT, LEI & EORI Checksum Validator](https://tinplate.dev/tools/vat-iban-validator): Validate IBAN/BIC, EU VAT numbers, ISO 17442 LEI, EORI, and national corporate tax IDs instantly. - [Free Broken JSON & LLM Output Fixer](https://tinplate.dev/tools/json-fixer): Strip Markdown fences, fix single quotes & trailing commas, close truncated brackets, and validate against JSON Schema. - [Free Cron Expression Explainer & Next-Run Calculator](https://tinplate.dev/tools/cron-explainer): Translate cron schedules into plain English and preview upcoming DST-aware execution timestamps. - [Free Secret Scanner & PII Redaction Playground](https://tinplate.dev/tools/secret-pii-redactor): Scan logs and prompts for 28 secret types or redact PII with reversible placeholder tokens. - [Free MCP Server Manifest & Tool-Poisoning Security Linter](https://tinplate.dev/tools/mcp-manifest-linter): Audit Model Context Protocol (MCP) tool definitions for hidden prompt injection and over-broad permissions. - [Free Multi-Step AI Guardrail & Security Pipeline Builder](https://tinplate.dev/tools/pipeline-builder): Chain up to 5 Tinplate endpoints sequentially with automatic short-circuiting on security blocks. - [Free Peppol UBL 2.1 / XRechnung E-Invoice Generator & EPC-QR Tool](https://tinplate.dev/tools/peppol-ubl-converter): Convert structured JSON invoices into EN 16931 / Peppol UBL 2.1 XML + SEPA EPC-QR strings in milliseconds. - [Free EU Cross-Border VAT & Reverse-Charge Calculator](https://tinplate.dev/tools/eu-vat-calculator): Determine exact EU VAT rate, net/gross/VAT amounts, reverse-charge status, and EN 16931 tax code instantly. ## Engineering Blog Articles - [What I Learned Building a Deterministic Prompt-Injection Detector (With Real Bypass Examples & 104-Prompt Benchmarks)](https://tinplate.dev/blog/prompt-injection-detector-bypasses-and-benchmarks): Why most regex prompt-injection filters either miss trivial Unicode/Base64 obfuscations or block legitimate developer prompts—and how we built a two-layer deterministic engine benchmarked across 104 labeled prompts. - [How MCP Tool Poisoning Works in the Wild — and How to Statically Lint mcp.json Manifests](https://tinplate.dev/blog/mcp-tool-poisoning-and-how-to-lint-for-it): Model Context Protocol (MCP) tool descriptions are injected directly into the host LLM's system prompt. Here is how attackers abuse tool metadata—and how to lint MCP manifests before connecting. - [Why DMARC Fails Silently for SaaS Domains (and How to Avoid the RFC 7208 SPF 10-Lookup Trap)](https://tinplate.dev/blog/why-dmarc-fails-silently-and-spf-10-lookup-traps): Most SaaS teams think their email authentication is healthy because they added an SPF record two years ago. Then Marketing adds a new ESP, total nested DNS lookups cross 10, and SPF fails with PermError. - [Hungarian Bridge Days (Munkaszüneti nap áthelyezés) and Why Standard Business-Day APIs Get Central European SLAs Wrong](https://tinplate.dev/blog/hungarian-bridge-days-and-business-day-api-pitfalls): In Hungary, when a public holiday falls on a Tuesday or Thursday, ministerial decrees turn the adjacent Monday or Friday into a rest day and designate a nearby Saturday as an official working day. ## API Endpoints & OpenAPI 3.0.3 Specifications - [PII Redactor API](https://tinplate.dev/apis/pii-redactor): `POST /v1/pii-redactor` (also: `POST /v1/pii-redactor/restore`) — Mask emails, phones, IBANs, cards, and EU IDs with reversible tokens before LLM calls. ([OpenAPI JSON](https://tinplate.dev/openapi/pii-redactor.json)) - [Prompt Injection Detection API](https://tinplate.dev/apis/prompt-guard): `POST /v1/prompt-guard` — Catch prompt injections, role hijacks, and encoded jailbreaks in user inputs and RAG chunks. ([OpenAPI JSON](https://tinplate.dev/openapi/prompt-guard.json)) - [MCP Server Manifest & Tool Security Linter API](https://tinplate.dev/apis/mcp-manifest-linter): `POST /v1/mcp-manifest-linter` — Audit MCP server manifests for hidden tool poisoning, shell risks, and excessive permissions. ([OpenAPI JSON](https://tinplate.dev/openapi/mcp-manifest-linter.json)) - [Agent Tool-Call Validator & Repairer API](https://tinplate.dev/apis/tool-call-validator): `POST /v1/tool-call-validator` — Validate and auto-repair broken LLM tool-call arguments against your JSON Schema. ([OpenAPI JSON](https://tinplate.dev/openapi/tool-call-validator.json)) - [Deterministic Hallucination Diff API](https://tinplate.dev/apis/hallucination-diff): `POST /v1/hallucination-diff` — Fast first filter to catch unsupported numbers, dates, and names in LLM answers vs RAG sources. ([OpenAPI JSON](https://tinplate.dev/openapi/hallucination-diff.json)) - [Prompt Cache Key & Context Budgeter API](https://tinplate.dev/apis/prompt-cache-budgeter): `POST /v1/prompt-cache-budgeter` — Estimate tokens, optimize message order for prompt caching, and calculate LLM API costs. ([OpenAPI JSON](https://tinplate.dev/openapi/prompt-cache-budgeter.json)) - [Agent Action Receipts API](https://tinplate.dev/apis/agent-action-receipts): `POST /v1/agent-action-receipts/issue` (also: `POST /v1/agent-action-receipts/verify`) — Issue and verify tamper-evident HMAC-signed receipts for autonomous AI agent actions. ([OpenAPI JSON](https://tinplate.dev/openapi/agent-action-receipts.json)) - [Synthetic Content Provenance Checker API](https://tinplate.dev/apis/content-provenance): `POST /v1/content-provenance` — Detect C2PA manifests, AI generator EXIF/XMP tags, and stripped metadata in files or headers. ([OpenAPI JSON](https://tinplate.dev/openapi/content-provenance.json)) - [Broken JSON & LLM Output Healer API](https://tinplate.dev/apis/json-heal): `POST /v1/json-heal` — Repair malformed or truncated LLM JSON outputs into valid, schema-checked JSON in 1 ms. ([OpenAPI JSON](https://tinplate.dev/openapi/json-heal.json)) - [LLM HTML-to-Markdown Cleaner API](https://tinplate.dev/apis/html-to-markdown): `POST /v1/html-to-markdown` — Convert noisy web pages or raw HTML into clean, token-efficient Markdown for RAG. ([OpenAPI JSON](https://tinplate.dev/openapi/html-to-markdown.json)) - [Text-to-Structured Date, Money & Unit Parser API](https://tinplate.dev/apis/locale-value-parser): `POST /v1/locale-value-parser` — Normalize messy EU/US prices, dates, percentages, and measurements into structured JSON. ([OpenAPI JSON](https://tinplate.dev/openapi/locale-value-parser.json)) - [Log Redact & Secret Scanner API](https://tinplate.dev/apis/secret-scanner): `POST /v1/secret-scanner` (also: `POST /v1/secret-scanner/restore`) — Detect and mask leaked API keys, JWTs, and private keys in logs, diffs, and prompts. ([OpenAPI JSON](https://tinplate.dev/openapi/secret-scanner.json)) - [Agent URL & SSRF Firewall API](https://tinplate.dev/apis/ssrf-firewall): `POST /v1/ssrf-firewall` — Validate URLs and redirect chains against SSRF, private IPs, and cloud metadata targets. ([OpenAPI JSON](https://tinplate.dev/openapi/ssrf-firewall.json)) - [HTTP Security Header Scanner API](https://tinplate.dev/apis/security-headers): `POST /v1/security-headers` — Audit CSP, HSTS, and browser security headers with an A+ to F grade and fix snippets. ([OpenAPI JSON](https://tinplate.dev/openapi/security-headers.json)) - [Webhook Signature Verifier API](https://tinplate.dev/apis/webhook-verify): `POST /v1/webhook-verify` — Verify Stripe, GitHub, Slack, Shopify, and Svix HMAC webhook signatures and timestamps. ([OpenAPI JSON](https://tinplate.dev/openapi/webhook-verify.json)) - [Email DNS Deliverability Auditor API](https://tinplate.dev/apis/email-dns): `POST /v1/email-dns` — Audit MX, SPF 10-lookup limits, DMARC, DKIM, BIMI, and MTA-STS with a 0–100 score. ([OpenAPI JSON](https://tinplate.dev/openapi/email-dns.json)) - [SPF, DKIM & DMARC Record Linter & Generator API](https://tinplate.dev/apis/email-dns-generator): `POST /v1/email-dns-generator` — Lint existing SPF/DMARC strings and generate clean, RFC-compliant DNS TXT records. ([OpenAPI JSON](https://tinplate.dev/openapi/email-dns-generator.json)) - [Stateless Consent & One-Click Unsubscribe Tokens API](https://tinplate.dev/apis/consent-tokens): `POST /v1/consent-tokens/issue` (also: `POST /v1/consent-tokens/verify`) — Issue and verify stateless HMAC unsubscribe tokens and RFC 8058 List-Unsubscribe headers. ([OpenAPI JSON](https://tinplate.dev/openapi/consent-tokens.json)) - [EU VAT & IBAN/BIC Validator API](https://tinplate.dev/apis/eu-vat-iban): `POST /v1/eu-vat-iban/iban` (also: `POST /v1/eu-vat-iban/vat`) — Validate IBANs, BIC/SWIFT codes, and EU/UK VAT numbers with live EU VIES lookup. ([OpenAPI JSON](https://tinplate.dev/openapi/eu-vat-iban.json)) - [Invoice & EU EN 16931 / Peppol Validator API](https://tinplate.dev/apis/invoice-validator): `POST /v1/invoice-validator` — Audit extracted invoices for line-item math errors, VAT mismatches, and Peppol compliance. ([OpenAPI JSON](https://tinplate.dev/openapi/invoice-validator.json)) - [Hungarian Business Document & NAV Validator API](https://tinplate.dev/apis/hu-business-validator): `POST /v1/hu-business-validator` — Validate Hungarian adószám, cégjegyzékszám, GIRO bank accounts, and NAV invoice rules. ([OpenAPI JSON](https://tinplate.dev/openapi/hu-business-validator.json)) - [Workday & Holiday Calculator API](https://tinplate.dev/apis/workday-holiday): `POST /v1/workday-holiday/between` (also: `POST /v1/workday-holiday/add`, `POST /v1/workday-holiday/is-workday`) — Calculate business days and SLA deadlines across 30+ countries including HU swap Saturdays. ([OpenAPI JSON](https://tinplate.dev/openapi/workday-holiday.json)) - [Signup Fraud & Disposable Email Scorer API](https://tinplate.dev/apis/signup-fraud): `POST /v1/signup-fraud` — Block disposable emails, alias abuse, and bot signups with a 0–100 fraud risk score. ([OpenAPI JSON](https://tinplate.dev/openapi/signup-fraud.json)) - [Cron & Schedule Explainer & Validator API](https://tinplate.dev/apis/cron-explainer): `POST /v1/cron-explainer` — Validate cron expressions, translate to plain English, and compute next N runs with DST. ([OpenAPI JSON](https://tinplate.dev/openapi/cron-explainer.json)) - [OpenAPI & JSON Schema Breaking-Change Diff API](https://tinplate.dev/apis/schema-diff): `POST /v1/schema-diff` — Diff two OpenAPI 3.x or JSON Schemas to catch breaking changes and recommend SemVer bumps. ([OpenAPI JSON](https://tinplate.dev/openapi/schema-diff.json)) - [User-Agent & AI Bot Parser API](https://tinplate.dev/apis/ua-bot-parser): `POST /v1/ua-bot-parser` — Detect AI training crawlers, RAG bots, headless browsers, and device/OS details from User-Agent. ([OpenAPI JSON](https://tinplate.dev/openapi/ua-bot-parser.json)) - [URL Normalizer & Tracking Parameter Stripper API](https://tinplate.dev/apis/url-normalizer): `POST /v1/url-normalizer` — Canonicalize URLs and strip 120+ ad-tracking and click-ID parameters for clean deduplication. ([OpenAPI JSON](https://tinplate.dev/openapi/url-normalizer.json)) - [ICS / iCalendar Feed Sanitizer & Validator API](https://tinplate.dev/apis/ics-sanitizer): `POST /v1/ics-sanitizer` — Repair broken .ics calendar feeds, normalize Windows timezones to IANA, and parse VEVENTs. ([OpenAPI JSON](https://tinplate.dev/openapi/ics-sanitizer.json)) - [robots.txt & llms.txt AI Crawler Analyzer & Generator API](https://tinplate.dev/apis/robots-llms-analyzer): `POST /v1/robots-llms-analyzer` — Audit which AI crawlers your robots.txt allows and generate a valid llms.txt file. ([OpenAPI JSON](https://tinplate.dev/openapi/robots-llms-analyzer.json)) - [SemVer & Package Manifest / Lockfile Diff Judge API](https://tinplate.dev/apis/semver-lockfile-judge): `POST /v1/semver-lockfile-judge` — Diff two package.json files to flag breaking SemVer bumps and risky dependency changes. ([OpenAPI JSON](https://tinplate.dev/openapi/semver-lockfile-judge.json)) - [LLM Output Safety, Leakage & Format Guardrail API](https://tinplate.dev/apis/llm-output-guard): `POST /v1/llm-output-guard` — Scan and sanitize LLM outputs for prompt leakage, Markdown beacons, XSS, and policy violations. ([OpenAPI JSON](https://tinplate.dev/openapi/llm-output-guard.json)) - [Agent Shell Command & SQL Query Safety Firewall API](https://tinplate.dev/apis/command-sql-guard): `POST /v1/command-sql-guard` — Audit agent shell commands and Text-to-SQL queries for RCE, reverse shells, and destructive SQL. ([OpenAPI JSON](https://tinplate.dev/openapi/command-sql-guard.json)) - [European Corporate Tax, LEI, EORI & National ID Validator API](https://tinplate.dev/apis/eu-id-validator): `POST /v1/eu-id-validator` — Validate LEI, EORI, SIREN/SIRET, Steuer-ID, Codice Fiscale, NIF/CIF, NIP, BSN, CRN & EIN checksums. ([OpenAPI JSON](https://tinplate.dev/openapi/eu-id-validator.json)) - [JWT, JWS & JWK Security Auditor & RFC 8725 Linter API](https://tinplate.dev/apis/jwt-jwk-inspector): `POST /v1/jwt-jwk-inspector` — Audit JWT tokens and JWK sets against RFC 8725 for alg:none, weak secrets, and leaked keys. ([OpenAPI JSON](https://tinplate.dev/openapi/jwt-jwk-inspector.json)) - [Markdown & Code Aware Smart RAG Document Chunker API](https://tinplate.dev/apis/rag-chunker): `POST /v1/rag-chunker` — Split Markdown into token-budgeted RAG chunks with heading breadcrumbs and intact code/tables. ([OpenAPI JSON](https://tinplate.dev/openapi/rag-chunker.json)) - [Regex ReDoS Vulnerability Scanner & Pattern Explainer API](https://tinplate.dev/apis/regex-safety): `POST /v1/regex-safety` — Audit regular expressions for O(2^n) ReDoS backtracking, explain patterns, and test matches. ([OpenAPI JSON](https://tinplate.dev/openapi/regex-safety.json)) - [LLM Chat Messages Policy Proxy & Sanitizer API](https://tinplate.dev/apis/llm-messages-guard): `POST /v1/llm-messages-guard` — Sanitize entire multi-turn LLM messages[] arrays in one call before forwarding to OpenAI, Anthropic, or Gemini. ([OpenAPI JSON](https://tinplate.dev/openapi/llm-messages-guard.json)) - [Tabular CSV/JSON RAG Sanitizer & Formula-Injection Firewall API](https://tinplate.dev/apis/tabular-rag-cleaner): `POST /v1/tabular-rag-cleaner` — Neutralize CSV formula injection, redact cell-level PII, and convert tables into RAG-ready Markdown & row chunks. ([OpenAPI JSON](https://tinplate.dev/openapi/tabular-rag-cleaner.json)) - [Peppol UBL 2.1 / XRechnung E-Invoice Converter & EPC-QR API](https://tinplate.dev/apis/peppol-ubl-invoice): `POST /v1/peppol-ubl-invoice` — Generate EN 16931 / Peppol BIS 3.0 UBL 2.1 XML and SEPA EPC-QR payloads from JSON, or parse UBL XML to JSON. ([OpenAPI JSON](https://tinplate.dev/openapi/peppol-ubl-invoice.json)) - [EU Cross-Border VAT Rate & Reverse-Charge Calculator API](https://tinplate.dev/apis/eu-vat-calculator): `POST /v1/eu-vat-calculator` — Determine exact EU VAT rates, B2B reverse charge, EN 16931 tax category codes, and mandatory invoice legal text. ([OpenAPI JSON](https://tinplate.dev/openapi/eu-vat-calculator.json)) - [Sanctions, Watchlist & Embargo Entity Screener API](https://tinplate.dev/apis/sanctions-screener): `POST /v1/sanctions-screener` — Screen beneficiaries, vendors, BICs, and wallets against embargo rules and fuzzy sanctions watchlists. ([OpenAPI JSON](https://tinplate.dev/openapi/sanctions-screener.json)) - [AI-Generated Code & CI Workflow Sandbox Auditor API](https://tinplate.dev/apis/agent-code-guard): `POST /v1/agent-code-guard` — Audit LLM-generated Python, JS/TS, Shell, or GitHub Actions code for sandbox escapes before execution. ([OpenAPI JSON](https://tinplate.dev/openapi/agent-code-guard.json))