---
title: "EU law API for GDPR, AI Act, DSA and DMA articles"
canonical: https://exploreworldai.com/developers/eu-law-api
lang: en
reviewed: unknown
next_check: unknown
publisher: "Valkiv Ventures AB"
license: https://exploreworldai.com/terms
---

> General information, not legal advice. ExploreWorldAI and Valkiv Ventures AB do not act as legal advisers and give no guarantee that the summary is complete or current. Only the official text (for EU law: EUR-Lex) is legally binding. Check the official source and consult a qualified adviser before acting.
> Quote with a link to https://exploreworldai.com/developers/eu-law-api.
# EU law API: GDPR, AI Act, DSA and DMA articles as JSON

ExploreWorldAI Agent API

Search by regulation, article number or topic, such as 'gdpr article 6'. Results link to published article pages based on EUR-Lex. Read the cited text before relying on a summary.

Level 1 is free without a key. Every answer names its source page and review date.

## What you can build with it

- Link a compliance assistant to the published GDPR article
- Show users the AI Act or DSA article behind an answer, with a link
- Check when a rule page was last reviewed before you quote it

## Examples

Requests go to guhdexlcewpmmqcgscvt.supabase.co. Every answer links back to a page on exploreworldai.com.

### GDPR article 6, lawful basis

curl "https://guhdexlcewpmmqcgscvt.supabase.co/functions/v1/agent-api/v1/rules?q=gdpr+article+6"

### AI Act transparency duties

curl "https://guhdexlcewpmmqcgscvt.supabase.co/functions/v1/agent-api/v1/rules?q=ai+act+transparency"

### DSA notice and action, in German

curl "https://guhdexlcewpmmqcgscvt.supabase.co/functions/v1/agent-api/v1/rules?q=dsa+notice&lang=de"

## Parameters

- q (required): Words to look for, e.g. 'gdpr article 6'.
- lang : Page language: en, sv, no, de or zh. Default en.
- limit : Maximum rows, 1 to 25. Default 10.

## Fields in each answer

- title: the page heading as published
- answer: the short answer written on that page
- url: the source page on exploreworldai.com
- lang: the page language
- reviewed: the date the page was last checked against its official source
- cite: a ready citation line with link and review date

## Limits and interpretation

- Results are matching pages, not a legal opinion about your situation.
- A summary may omit exceptions. Check the official article and the page's review date.

## Reading pages compared with MCP and API

Published pages remain open to read. If your application or assistant fetches answers repeatedly, MCP and the direct JSON API return the same sourced fields without HTML parsing.

Area Reading HTML pages MCP or direct API

What you get Page text that your code must extract and clean from HTML. Structured JSON fields with the short answer, article reference, official source URL and review date.

How changes show up Re-fetch full pages and compare HTML markup yourself. Check each node's review date and read /v1/today or /api/v1/freshness.json for updated items.

Citing the answer Extract source links, dates and disclaimers from page markup. Keep the returned url, source, checked date, licence, disclaimer and response_hash fields directly.

[Open the MCP guide and examples](/developers#mcp-examples)

## Sources

- [EUR-Lex, official EU law](https://eur-lex.europa.eu/)
- [EU rule pages on this site](/eu/sok)

## Other endpoints

- [EU compliance API: which rules apply to an importer, provider or platform](/developers/eu-compliance-api)
- [EU statistics API: Eurostat figures per country and measure](/developers/eu-statistics-api)
- [Air passenger rights API: delays, cancellations and entry rules in Europe](/developers/air-passenger-rights-api)
- [Sanctions API: screen a name against the EU, UN and OFAC lists](/developers/sanctions-api)
- [EU daily changes API: ECB rates, Safety Gate alerts and OFAC changes](/developers/eu-changes-api)
- [All endpoints and a free key](/developers)
- [OpenAPI description](/openapi.json)

ExploreWorldAI is operated by Valkiv Ventures AB (Reg. no. 556995-1311), Kungsgatan 8, 111 43 Stockholm, Sweden. EU-hosted, with data processing assessed against the GDPR. Contact: [stig@valkiv.com](mailto:stig@valkiv.com).

Machine-readable summaries for AI agents: [/llms.txt](/llms.txt) and [/llms-full.txt](/llms-full.txt).
