81trust / 100

Eu Eurlex

by Maxwell x402 in Search & web

x402 APIPassing, checked 3 h ago

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.

GET https://api.maxwellinternational.ai/v1/gov/eu/eurlex

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
74 ms typical, 74 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/gov/eu/eurlex?id=32016R0679"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fgov%2Feu%2Feurlex
const res = await pay("https://api.maxwellinternational.ai/v1/gov/eu/eurlex?id=32016R0679");
console.log(await res.json());

Example input

{
  "id": "32016R0679"
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40280 ms$0.005
8 h agoPassed40274 ms$0.005