https://api.invoket.com/legal/diff
See exactly what changed in a French or EU law between two dates: resolves the version in force at each date and returns a structured diff of the consolidated text — word-level segments plus a git-style unified patch — with the version metadata of both endpoints. Covers the 12 major French codes (civil, labor, commercial, penal, tax/CGI, social-security, monetary & financial, environmental, IP, insurance, consumer) plus the Data Protection Act, and key EU acts (GDPR, eIDAS, e-Commerce, DSM copyright, DSA, DMA, AI Act, MiCA, NIS2). No account, no key, pay per call.
Start with a quote-only recipe. Payment signing stays in your project.
const response = await fetch("https://api.invoket.com/legal/diff", {
method: "GET",
});
console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));
// A valid 402 is a quote, not a completed paid call.This sends no payment. Inspect the 402 response before adding a wallet-enabled client.
- Live 402 quote confirmed
GET returned a protocol-valid 402 quote (402). No payment was made.
- Origin reachable
HEAD https://api.invoket.com/ returned 200.
- Observed in cdp-bazaar
The registry record was observed and retained with provenance.
- Observed in 402-index
Discovered through bazaar.
- Registry record checked
Registry health: healthy.
EVIDENCE
Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call.