Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt

Use this file to discover all available pages before exploring further.

Use these slugs in API calls and SDK methods: client.articles.list("gdpr"), /frameworks/cra/articles, etc.

Framework List

SlugNameCELEXStatusDocumentation
craCyber Resilience Act32024R2847ActiveView Docs
nis2NIS2 Directive32022L2555ActiveView Docs
doraDigital Operational Resilience Act32022R2554ActiveView Docs
gdprGeneral Data Protection Regulation32016R0679ActiveView Docs
ai_actAI Act32024R1689ActiveView Docs
eidaseIDAS Regulation32014R0910ActiveView Docs
dsaDigital Services Act32022R2065ActiveView Docs
dmaDigital Markets Act32022R1925ActiveView Docs
data_actData Act32023R2854ActiveView Docs
dgaData Governance Act32022R0868ActiveView Docs
eidas2eIDAS 2.032024R1183ActiveView Docs
cerCritical Entities Resilience Directive32022L2557ActiveView Docs
psd2Payment Services Directive 232015L2366ActiveView Docs
micaMarkets in Crypto-Assets Regulation32023R1114ActiveView Docs
cybersecurity_actCybersecurity Act32019R0881ActiveView Docs
eprivacyePrivacy Directive32002L0058ActiveView Docs
redRadio Equipment Directive32014L0053ActiveView Docs
csrdCorporate Sustainability Reporting Directive32022L2464ActiveView Docs
nis1NIS Directive (Original)32016L1148SupersededView Docs
nis1 has status: "superseded" — it is still accessible for historical reference but NIS2 is the current directive.

Stakeholder Roles

Across all frameworks, the following stakeholder roles are defined:
RoleDescription
manufacturerEntities that develop, produce, or place products/services on the market
importerEntities that bring products/services from third countries into the EU
distributorEntities that make products/services available in the EU supply chain
authorized_representativeEU-based representatives for non-EU entities
open_source_stewardMaintainers of open source components (CRA-specific)
notified_bodyDesignated conformity assessment bodies
market_surveillanceNational competent authorities overseeing compliance
consumerEnd users, data subjects, or recipients of services

Requirement Types

Requirements across frameworks are classified into these types:
TypeDescription
obligationMandatory actions that must be taken
prohibitionActions or practices that are forbidden
rightEntitlements granted to stakeholders (e.g., data subject rights)
procedureProcesses that must be followed (e.g., incident reporting)
generalGeneral provisions, definitions, and scope

Using Slugs

# Get all CRA articles
curl https://api.law4devs.eu/v1/frameworks/cra/articles

# Get GDPR framework details
curl https://api.law4devs.eu/v1/frameworks/gdpr

# Get AI Act requirements by stakeholder role
curl https://api.law4devs.eu/v1/frameworks/ai_act/requirements?role=manufacturer

# Compare NIS2 and DORA
curl "https://api.law4devs.eu/v1/compare?frameworks=nis2,dora"
# Python SDK example
from law4devs import Law4Devs

client = Law4Devs(api_key="your-api-key")

# List articles from multiple frameworks
cra_articles = client.articles.list("cra")
gdpr_articles = client.articles.list("gdpr")

# Get requirements by stakeholder role
requirements = client.requirements.list("ai_act", role="manufacturer")

# Search across frameworks
results = client.search(query="incident reporting", frameworks=["nis2", "dora", "cra"])