DUOLEXX

Integration · Bolt

DUOLEXX in Bolt

Binde geprüfte Rechtsfakten und die Formprüfung in eine mit Bolt gebaute App ein.

Was der Baustein in deiner App leistet

Gib Bolt den Prompt unten, sobald deine App eine rechtliche Aussage braucht. Er nutzt nur die öffentlichen Endpunkte und verlangt immer die Fundstelle.

  • Formprüfung: ob ein Dokument in einem Land elektronisch unterschrieben werden darf, mit Norm und Quelle.
  • Rechtsfakten: geprüfte Werte mit Fundstelle und Prüfdatum, die deine App anzeigen kann.
  • Siegelprüfung: ob ein signiertes Dokument echt und unverändert ist.

Kopierbarer Prompt

Füge diesen Prompt in den Chat von Bolt ein. Er bindet nur die öffentlichen Lese-Endpunkte ein.

Build the legal-information feature of my app on the public DUOLEXX read API. No API key is needed for these endpoints.

1) Form check - can a document be signed electronically?
   GET https://duolexx.com/api/v1/rules/form-check?type=<docType>&country=<ISO country>&signature=ses
   - signature is one of: ses | aes | qes | wet | notary
   - List valid <docType> keys with GET https://duolexx.com/api/v1/document-types
   - The answer has result.status (verified | unverified | unknown), result.allowed, result.requires,
     result.facts[] (citation, source_url, verified_at) and a signed evidence hash in signature.hash.
   - If status is "unknown", say that no verified rule exists yet. Do not guess.

2) Legal facts with statute citation and official source.
   GET https://duolexx.com/api/v1/facts?q=<english keywords>&jurisdiction=<DE|AT|ES|FR|PT|CY|TH|EU|INTL>
   - Facts are licensed CC BY 4.0: show the attribution returned in the response.

3) Verify a DUOLEXX seal.
   POST https://duolexx.com/api/verify with {"documentHash": "<sha256>", "seal": "<base64>"} -> {"valid": true|false}

Rules for the app:
- Always show citation, source_url and verified_at next to every legal statement.
- Always add: "General legal information as of the dataset version, not individual legal advice."
- Call the endpoints from server code (or a server action), cache answers for a few minutes, and handle 429.
- Never claim a guarantee, and never imply an official partnership with DUOLEXX.

API-Key als Secret

Die Lese-Endpunkte brauchen keinen Key. Für Dokumente und Signatur gehört der API-Key in ein Secret bzw. eine Umgebungsvariable von Bolt (zum Beispiel DUOLEXX_API_KEY) — nie in den Quelltext und nie in den Browser.

Zur API-Referenz →

Grenzen

  • Allgemeine Rechtsinformation zum Datenstand, keine Rechtsberatung im Einzelfall.
  • Maßgeblich ist das amtliche Verkündungsblatt; jede Antwort nennt die Fundstelle.
  • Ohne verifizierte Regel antwortet die Prüfung ehrlich mit „unbekannt“, statt zu raten.
  • Keine Garantie und keine offizielle Partnerschaft.

Bolt ist eine Marke des jeweiligen Inhabers. DUOLEXX ist mit dem Anbieter nicht verbunden.