Statutes

Search Swiss statute articles (federal + cantonal)

Unified FTS5 search across statutes.db (federal) and cantonal_laws.db (all 26 cantons).

get/laws/search

Request

  • Base URL: https://mcp.opencaselaw.ch/api
  • URL: https://mcp.opencaselaw.ch/api/laws/search
  • Auth: none declared

Query parameters

querystring

Search query

qstring

Alias for query.

sr_numberstring

Restrict to specific federal law by SR

cantonstring

Restrict to canton (ZH, BE, …, CH=federal)

jurisdictionstring

all | federal | cantonal

languagestring

OPTIONAL filter (de/fr/it). Omit to search all three official languages — most laws exist in DE/FR/IT and a filter silently hides valid hits in the others. Set ONLY when the user explicitly asks for one language.

limitinteger

Max results

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.