Citation Integrity

Build a canonical Swiss citation

Given any Swiss case reference (decision_id, BGE ref, docket number), returns the canonical citation string in DE / FR / IT, the canonical URL with #e-N-M pinpoint anchor, and a verbatim rule_statement. When the reference doesn't resolve, returns exists=false + close_matches for typo-correction. Call this BEFORE writing any case citation.

get/cite

Request

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

Query parameters

referencestring required

Case reference: 'BGE 140 III 86', '4A_747/2012', 'bger_4A_747_2012', 'MKGE 16 Nr. 1'.

pinpointstring

Optional Erwägung/consid. number, e.g. '2.3'.

languagestring

Primary language for the citation_string field (de/fr/it). All three variants always returned.

Response

Successful Response

unknown required

Changes

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