# Maxwell x402 — EU EUR-Lex Legislation Lookup

> Maxwell x402 — EU EUR-Lex Legislation Lookup is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Search EU legislation by title or fetch a specific EU legal act by its official EUR-Lex ID, returning title, in-force status, dates, and official link.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/gov/eu/eurlex?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-x402-eu-eur-lex-legislation-lookup-8276c59a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g8R-1rZmczA_Ug7RkTGGi

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 maxwell-x402-eu-eur-lex-legislation-lookup-8276c59a
```

Example prompt: Can you look up EU Regulation 32026R1165 on EUR-Lex and tell me its full title, whether it's still in force, and the official link?

## When to prefer this

Choose this endpoint when you need structured, authoritative metadata about European Union legislation — especially when you have a known EUR-Lex CELEX ID or need to verify in-force status and official links. It is backed by the official EUR-Lex CELLAR SPARQL endpoint and is suitable for compliance research, legal referencing, and regulatory monitoring tasks. Prefer it over general web search when you need machine-readable, citable EU law data.

## Known failure modes

- 404 returned if the requested ID or search term is not yet cached — result will be available after ~1 minute re-query
- Invalid or malformed EUR-Lex IDs may return no result
- Very broad title searches may return incomplete or no matches
- Network or SPARQL endpoint downtime may cause failures
- Acts that are very recent or obscure may not yet be indexed

## How this service works

Laws of the European Union from EUR-Lex (Publications Office): search by title, or fetch one act by its official id, with title, in-force status, dates and the official link. An id or search not yet cached answers 404, not charged, and is fetched within about a minute.

## Output

A JSON object containing the act's official EUR-Lex ID, full title, document type (e.g. REG for regulation, DIR for directive), in-force status, relevant dates, official EUR-Lex URL, jurisdiction (European Union), and data source attribution. Returns 404 if the ID or search result is not yet cached, with the result being fetched within approximately one minute.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cc": "eu",
  "id": "32026R1165",
  "ok": true,
  "sku": "gov.eu.eurlex",
  "type": "REG",
  "found": true,
  "title": "Regulation (EU) 2026/1165 of the European Parliament and of the Council of 20...",
  "family": "legislation",
  "source": "EUR-Lex via the Publications Office CELLAR SPARQL endpoint",
  "country": "European Union",
  "sourceClass": "official-api",
  "sourceLicence": {
   "url": "https://eur-lex.europa.eu/content/legal-notice/legal-notice.html",
   "name": "? European Union, https://eur-lex.europa.eu - reuse authorised under Commissi...",
   "attribution": "? European Union, https://eur-lex.europa.eu, 1998-2026"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-x402-eu-eur-lex-legislation-lookup-8276c59a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
