# Invoket Legal History Batch — French & EU Law Version Lookup

> Invoket Legal History Batch — French & EU Law Version Lookup is a paid API for AI agents from api.invoket.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Batch-retrieves the legislative history and version timeline for multiple French or EU legal articles in a single call, returning LEGI/EUR-Lex status, version IDs, and date ranges.

## Facts

- Endpoint: POST https://api.invoket.com/legal/history/batch
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/invoket-legal-history-batch-french-eu-law-version-lookup-8b38c946
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ySV4A0PaRnqxep16bPtok

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability invoket-legal-history-batch-french-eu-law-version-lookup-8b38c946 -d '<json body>'
```

Example prompt: Can you look up the full version history for Code civil article 1240 and GDPR article 17 at once — I need the effective dates, LEGI status (like vigueur or abroge), and version IDs for both?

## When to prefer this

Use this endpoint when you need legislative version history for multiple French code articles or EU regulations in a single call. Prefer it over single-article lookups when comparing amendment timelines across articles, checking repeal status across a batch, or resolving LEGI/EUR-Lex version IDs for compliance workflows. Best when working with French civil, commercial, or administrative law (base LEGI) or consolidated EU regulations via EUR-Lex.

## Known failure modes

- Unknown article code or CELEX ID returns empty results array with count 0
- Malformed request body causes 400 Bad Request
- Payment not settled via x402 returns 402 Payment Required
- Coverage incomplete flag (coverage.complete: false) indicates partial data for that article
- Rate limiting or gateway timeout if batch is too large

## How this service works

Before your agent re-certifies a legal knowledge base or monitors a portfolio of citations: the version timeline (status and validity dates) of up to 100 French or EU article references in one call, from the official LEGI and EUR-Lex datasets, to detect which references changed and when. Covers 12 major French codes and statutes and key EU acts (GDPR, DSA, AI Act, MiCA and more).

## Output

Returns a JSON object with a results array, one entry per queried article, each containing: the article number, code label, total version count, a coverage.complete boolean, and an ordered versions array with date_debut, date_fin, etat (vigueur/abroge/modifie/vigueur_diff/abroge_diff), and version_id. Also includes provenance metadata indicating the data source (DILA LEGI or EUR-Lex), snapshot freshness date, and fetch timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "refs"
 ],
 "properties": {
  "refs": {
   "type": "array",
   "description": "Array of article references, French ({ code, article }) and EU ({ celex or eli, article? }) mixed freely. Covered corpus — French law (Légifrance LEGI): Code civil, Code du travail, Code de commerce, Code pénal, Code de la consommation, Code général des impôts (CGI), Code de la sécurité sociale, Code monétaire et financier, Code de l'environnement, Code de la propriété intellectuelle, Code des assurances, plus the Data Protection Act (loi 78-17); EU law (EUR-Lex): GDPR, eIDAS, the e-Commerce Directive, the DSM copyright Directive, DSA, DMA, AI Act, MiCA and NIS2"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/invoket-legal-history-batch-french-eu-law-version-lookup-8b38c946/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.invoket.com](https://www.zero.xyz/host/api.invoket.com/llms.txt)
