DUOLEXX

DUOLEXX API

Verified legal facts and form check, over API.

Read endpoints without an API key for legal facts, form check and seal verification. Plus documents and signing over REST with an API key — ideal for PropTech, HR and LegalTech workflows.

Read path — no API key

Deterministic from verified rules, every answer with its citation. The form check comes as a signed evidence package that can be verified publicly.

GET/api/v1/rules/form-check
Form check: can the document be signed this way?
GET/api/v1/facts
Legal facts with statute, source and verification date (CC BY 4.0).
GET/api/v1/facts/dataset
The entire facts dataset as JSON.
GET/api/v1/document-types
Catalogue of document types, countries and required fields.
POST/api/verify
Verify a seal or an evidence package.

Examples

curl

curl "https://duolexx.com/api/v1/rules/form-check?type=<docType>&country=DE&signature=ses"
curl "https://duolexx.com/api/v1/facts?q=deposit&jurisdiction=DE"
curl -X POST https://duolexx.com/api/verify \
  -H "content-type: application/json" \
  -d '{"documentHash":"<sha256>","seal":"<base64>"}'

fetch

const res = await fetch(
  "https://duolexx.com/api/v1/rules/form-check?type=<docType>&country=DE&signature=ses"
);
const { result, signature } = await res.json();
// result.allowed, result.requires, result.facts[].citation, signature.hash

Python

import requests

r = requests.get(
    "https://duolexx.com/api/v1/facts",
    params={"q": "deposit", "jurisdiction": "DE"},
    timeout=10,
)
for fact in r.json()["facts"]:
    print(fact["statement"], fact["citation"])

OpenAPI specification → · Verify a seal publicly →

Built for developers

Versioned REST API

Stable endpoints under /v1 with clear JSON — no surprises on updates.

API-key authentication

Per-project keys, rate limits and quotas instead of fragile session logic.

Self-discovery catalog

Document types, countries, required fields and language pairs are available as JSON.

Bilingual PDF & signature

The same engine as the web: authoritative language + translation, electronic signature included.

Documents and signing — with an API key

Create and fill documents, render them as PDF and request signatures.

Core endpoints

GET/v1/document-types
List all document types, countries and required fields.
POST/v1/documents
Create a document from type, country, language pair and answers.
PATCH/v1/documents/{id}
Update answers and recompute the preview.
POST/v1/documents/{id}/pdf
Render the finished bilingual PDF.
POST/v1/documents/{id}/signature-request
Trigger the counterparty's signature via link.

Example: create a document

curl -X POST https://duolexx.com/api/v1/documents \
  -H "Authorization: Bearer $DUOLEXX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 3f9a…" \
  -d {
    "type": "intl-nda",
    "legalLanguage": "en",
    "translationLanguage": "de",
    "answers": { "partyA": "…", "partyB": "…", "purpose": "…" }
  }

Access

The API is part of DUOLEXX Pro — with an included quota, usage-based beyond it. Request an API key and get started.

Request an API key