Deterministic Micro-API Suite

Deterministic Micro-APIs & Provenance Infrastructure

Zero LLM guesswork across 15 deterministic compliance, trade, ESG, healthcare, finance, and agent-utility micro-APIs with hosted Streamable HTTP MCP servers.

SHA-256 Provenance150+ JurisdictionsTenant-Isolated Cache
API Reference

Deterministic Micro-API Suite

One unified API key and quota pool across all 15 REST microservices and hosted Streamable HTTP MCP servers.

Explore OpenAPI 3.1

Core Agent & Scheduling

Deterministic business-day math, grounded web search, and SSRF-safe link unfurling.

/calendar
150+ Jurisdictions

ContextAPI Business Calendar, ISDA & SLA

Replaces brittle local holiday tables & LLM date guesswork

Cross-border working-day math, city & exchange calendars (XNYS, XLON, XECB), ISDA date rolling, Day-Count Fractions, and working-hour SLA deadlines with SHA-256 decree provenance.

GET /calendar/v1/business-days/add?start_date=2026-04-02&days=2&country=GB&market=XLON
→{"target_date": "2026-04-08", "skipped_holidays": ["Good Friday", "Easter Monday"]}
/search
65%–85% Token Savings

ContextAPI Agent Search & Markdown

Replaces raw HTML scraping bloat & ungrounded search snippets

Multi-engine search with consensus ranking, SSRF-firewalled HTML-to-Markdown extraction, deterministic token budgeting, and schema-grounded structured extraction.

POST /search/v1/extract {"url": "https://example.com", "max_tokens": 4000}
→{"markdown": "---\ntitle: ...", "stats": {"token_reduction_pct": 78.4}}
/unfurl
<2ms SVG Cards

ContextAPI Link Unfurl & Social Cards

Replaces unsafe DIY URL fetchers & heavy headless Chrome pods

SSRF-hardened OpenGraph, Twitter/X Cards, JSON-LD, oEmbed, and redirect-chain inspection paired with XSS-escaped 1200x630 vector SVG social cards and tenant-isolated caching.

POST /unfurl/v1/unfurl {"url": "https://example.com", "include_social_card_svg": true}
→{"title": "...", "redirect_chain": [...], "social_card_svg": "<svg ...>"}

EU Trade, Customs & Tax

VAT triangulation, ICS2 customs pre-flight, EN 16931 e-invoicing, and dropship guardrails.

/vat
27 EU + XI

ContextAPI EU VAT Triangulation & VIES

Replaces ad-hoc tax spreadsheets & unlogged VIES lookups

Deterministic 3-party EU chain evaluation (A → B → C) under Directive 2006/112/EC Articles 36a & 141, Case C-247/21 Art. 226(11a) wording, resilient EU VIES checks, and SHA-256 audit receipts.

POST /vat/v1/vat/triangulation/evaluate (FR → DE → PL, arranger: "A")
→{"eligible": true, "mandatory_invoice_wording": {"mandatory_phrase_en": "Reverse charge"}}
/customs
ICS2 Release 3

ContextAPI ICS2 & EU Customs Pre-Flight

Replaces border cargo holds & manual ENS manifest linting

Deterministic ICS2 Release 3 ENS pre-flight validation covering EU27/XI EORI syntax, 6-digit HS / 8-digit CN codes, EU Commission stop-word linting & rewriting, and IOSS €150 intrinsic-value & excise rules.

POST /customs/v1/customs/ics2/preflight (CN → DE air B2B, HS 8518.30.00)
→{"status": "READY_FOR_FILING", "risk_score": 0, "audit_receipt": {"receipt_id": "ics2_..."}}
/einvoice
BETAEU ViDA • EN 16931

ContextAPI EN 16931 E-Invoice

Replaces clunky Java Schematron CLI jars & rejected Peppol/XRechnung XML

Deterministic EN 16931 UBL 2.1 & CII XML pre-flight for Peppol BIS 3.0, XRechnung (BT-10 Leitweg-ID), and Factur-X ahead of EU ViDA.

POST /einvoice/v1/einvoice/validate-xml {"xml": "<Invoice>...</Invoice>", "profile": "AUTO"}
→{"valid": true, "syntax": "UBL_2.1_INVOICE", "profile": "PEPPOL_BIS_3"}
/dropship
BETAArt. 36a • 3PL Gate

ContextAPI EU Dropship Guardrail

Replaces silent 3PL VAT exposure when carrier legs break triangulation

Deterministic OMS/3PL pre-flight for EU VAT Art. 36a transport allocation, Art. 141 3-party vs. 4+ party chains, and Incoterms.

POST /dropship/v1/dropship/evaluate-fulfillment {"dispatch_country": "DE", "intermediary_vat_country": "NL", "destination_country": "FR"}
→{"triangulation_eligible": true, "zero_rated_transport_leg": "A->B"}

EU ESG, Chemicals & Circular

CLP/UFI hazard screening, CBAM 50t & ETS cost, PPWR packaging EPR, and Battery DPP.

/chemicals
BETAEU CLP • ECHA UFI

ContextAPI EU CLP / UFI & Annex VI

Replaces manual ECHA PCN spreadsheets & UFI checksum errors

Deterministic ECHA 16-character UFI mod-31 validation & generation, 100% BOM composition checks, EuPCS validation, and ECHA Annex VI Table 3 + Reg (EU) 2023/707 hazard screening.

POST /chemicals/v1/chemicals/ufi/validate-or-generate {"vat_id": "DE123456789", "formulation_number": 42}
→{"valid": true, "mode": "generate", "ufi": "....-....-....-...."}
/cbam
BETAEU CBAM • 50t Rule

ContextAPI EU CBAM & ETS Estimator

Replaces manual CN-code spreadsheets & surprise 50t threshold breaches

Deterministic EU CBAM Annex I CN matching, cumulative 50-tonne de minimis threshold tracking, and EU ETS certificate cost estimation.

POST /cbam/v1/cbam/scope-and-threshold {"cn_code": "72081000", "shipment_net_tonnes": 15, "prior_ytd_tonnes": 40}
→{"in_scope": true, "sector": "IRON_STEEL", "retroactive_trigger": true}
/epr
BETAEU PPWR • Plastic Tax

ContextAPI EU Packaging & EPR

Replaces manual country-by-country PRO & plastic-tax spreadsheets

Deterministic EU PPWR eco-modulated EPR fees (DE/FR/ES/IT/NL) plus Spain, Italy & UK Plastic Packaging Tax calculations.

POST /epr/v1/epr/check-plastic-tax {"country": "ES", "plastic_weight_kg": 100, "recycled_content_pct": 0}
→{"currency": "EUR", "virgin_plastic_kg": 100.0, "tax_due": 45.0}
/battery
BETAEU 2023/1542 • DPP

ContextAPI EU Battery & DPP

Replaces manual Battery Reg 2023/1542 DPP checks & WEEE PRO tables

Deterministic EU Battery Reg (EU) 2023/1542 Digital Battery Passport (DPP) schema validation and national WEEE / Battery PRO levy calculator.

POST /battery/v1/battery/levy/calculate {"country": "DE", "category": "PORTABLE", "chemistry": "LI_ION", "unit_weight_kg": 0.5, "units": 200}
→{"total_weight_kg": 100.0, "estimated_pro_levy_eur": 165.0}

Finance, Hazmat & Healthcare

ISO 20022 payments, 49 CFR/ADR hazmat, MedTech UDI/EUDAMED, and US clinical codes.

/medtech
Zero-PHI • EUDAMED

ContextAPI MedTech UDI/NDC & EUDAMED

Replaces fragile UDI barcode parsers & manual EUDAMED XML checks

Deterministic GS1/HIBCC/ICCBBA UDI & FDA NDC-10/11 parsing, XXE-hardened EU EUDAMED (MDR/IVDR) SRN, Basic UDI-DI (GMN), EMDN & NANDO validation, and CC0 openFDA recall screening.

POST /medtech/v1/medtech/udi/parse {"code": "(01)00844588003288(17)280200(10)LOT42A"}
→{"valid": true, "issuing_agency": "GS1", "audit_receipt": {"receipt_id": "med_..."}}
/iso20022
BETAZero-PCI • SEPA / CBPR+

ContextAPI ISO 20022 Payment Pre-Flight

Replaces slow bank SFTP uploads & cryptic XSD rejection loops

Deterministic pain.001 & pacs.008 XML linting, CtrlSum/NbOfTxs verification, ISO 13616 IBAN MOD-97, BICFI, ABA routing, and SEPA / CBPR+ / Fedwire scheme overlays.

POST /iso20022/v1/iso20022/check-totals-and-ids {"ibans": ["DE89370400440532013000"]}
→{"valid": true, "ibans": [{"iban_masked": "DE89**************3000", "valid": true}]}
/hazmat
BETA49 CFR • EU ADR

ContextAPI Ground Hazmat & Lithium

Replaces manual 49 CFR HMT lookups & trailer segregation guesswork

Public-domain US 49 CFR § 172.101 / § 173.185(c) & EU UNECE ADR SP 188 lithium battery Wh/gram thresholds, Limited Quantity checks, and 49 CFR § 177.848 manifest segregation.

POST /hazmat/v1/hazmat/lithium/preflight {"un_number": "UN3481", "watt_hours": 75, "package_gross_mass_kg": 12.5}
→{"eligible_for_ground_exception": true, "classification": "EXEMPT_SMALL_LITHIUM_GROUND"}
/healthref
BETAZero-PHI • CMS / NLM

ContextAPI US Clinical Reference

Replaces brittle CMS flat-file parsers & AI code hallucinations

100% Public-Domain ICD-10-CM billable leaf-node & retirement checks, HCPCS Level II (explicitly excluding AMA CPT), CMS NPI Luhn, and NLM RxNorm.

POST /healthref/v1/healthref/codes/validate {"icd10_codes": ["E11.9", "E11"], "hcpcs_codes": ["E0601"]}
→{"valid": false, "icd10_results": [{"code": "E11.9", "billable": true}, {"code": "E11", "billable": false}]}