Open·Parlamento
query the law · real sources · living graph
open data · read-only API

Public API

All the corpus data, in JSON, free and citable: statutes, per-article text, amendment relations and the knowledge graph. A read-only API (GET only), documented with OpenAPI/Swagger.

Interactive documentation

Explore and try the endpoints from Swagger UI (OpenAPI spec included):

Swagger UI ↗ · openapi.json ↗

Endpoints

EndpointWhat
GET /api/public/normeList of statutes (ELI, type, title, counts)
GET /api/public/norme/{eli}Statute detail: per-article text + amendment relations
GET /api/public/relazioni?norma=Amendment relations of a statute
GET /api/public/graphRelations knowledge graph (nodes + links)
GET /api/public/healthService status and counts

Examples

# List laws
curl "https://open-parlament.xyz/api/public/norme?tipo=legge&limit=5"

# What a decree amends
curl "https://open-parlament.xyz/api/public/relazioni?norma=DL%2019/2024&dir=out"

# Relations knowledge graph
curl "https://open-parlament.xyz/api/public/graph?livello=norma"

License and attribution

Data from Normattiva (Akoma Ntoso, ELI) under CC BY 4.0. Always cite the official source. Informational tool, not legal advice.

See also

Open data · MCP server · Indexed statutes · Versione italiana