OpenCaseLaw

OpenCaseLaw provides an open, searchable record of Swiss legal decisions and legislation. It aggregates over 1,040,000 court decisions dating back to 1875, including federal, cantonal, and European Court of Human Rights judgments, as well as more than 21,000 laws. All content is released under CC0 and rebuilt daily, making it accessible to both humans and machines for research, analysis, and public transparency. The platform supports multilingual access and offers APIs for programmatic retrieval of legal documents.

OpenCaseLaw publishes 15 API contracts indexed on the APIs.io network, including Admin API, Analysis API, Billing API, and 12 more. Tagged areas include Legal, Open Data, Switzerland, CourtDecisions, and Legislation.

The OpenCaseLaw catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

OpenCaseLaw’s developer surface includes CLI, documentation, API reference, and 18 more developer resources.

Pull OpenCaseLaw's APIs, OpenAPI, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
32.9/100 thin Agent 26/100 agent aware Full breakdown ↓
scored 2026-11-21 · rubric v0.28.1 · Show this score on your site →
AccessPaid
1 published contract 1 MCP Servers 2 Agent Skills
LegalOpen DataSwitzerlandCourtDecisionsLegislation

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-21 · rubric v0.28.1
Regulatory Posture applies to this provider. Its tags matched the Government & Public Sector regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics could not be measured. We hold no machine-readable contract for this provider to read, so there is nothing to measure a write surface against. Excluded rather than scored zero: never-measured and measured-empty are different facts. Publishing an OpenAPI is what makes this facet — and several others — scorable at all.
The six quality facets above are damped to 85 points between them, because the conditional facet above carries the other 15. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 85% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for OpenCaseLaw It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/opencaselaw-ch/"><img src="https://apis.io/badge/opencaselaw-ch/card.svg" alt="OpenCaseLaw on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • Machine-Readable Auth +10 pts — a served openid-configuration/oauth-authorization-server carrying `issuer` (served), else the securitySchemes class in the provider OpenAPIs — bound (mutualTLS, DPoP, Signature) > negotiable (oauth2 authorizationCode/clientCredentials, openIdConnect) > bearer (http bearer, apiKey) Ask about this →
  • Idempotency +9 pts — OpenAPI mutating operations declare an idempotency key — a header, a request-body property, or a named de-duplication token whose own description says so (verified); else common[].type matches /idempoten/i (documented) Ask about this →
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0 Ask about this →
  • Request/Response Examples +7 pts — share of operations carrying request/response examples; else an Examples / Code Samples link Ask about this →
  • Rate-Limit Signaling +7 pts — OpenAPI responses document X-RateLimit-* / RateLimit headers (verified), else a rate_limits artifact or RateLimits link (documented) Ask about this →
  • Registration Without a Human +6 pts — a `registration_endpoint` in the served RFC 8414 / OIDC discovery document Ask about this →
9 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Opencaselaw Ch · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/opencaselaw-ch/apis.yml: open an issue on github.com/api-evangelist/opencaselaw-ch to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 15

Individual APIs this provider publishes, each with its own machine-readable definition.

OpenCaseLaw Admin API

The Admin API from OpenCaseLaw — 1 operation(s) for admin.

OpenCaseLaw Analysis API

The Analysis API from OpenCaseLaw — 2 operation(s) for analysis.

OpenCaseLaw Billing API

The Billing API from OpenCaseLaw — 10 operation(s) for billing.

OpenCaseLaw Case Law API

The Case Law API from OpenCaseLaw — 5 operation(s) for case law.

OpenCaseLaw Citation Graph API

The Citation Graph API from OpenCaseLaw — 3 operation(s) for citation graph.

OpenCaseLaw Citation Integrity API

The Citation Integrity API from OpenCaseLaw — 3 operation(s) for citation integrity.

OpenCaseLaw Commentaries API

The Commentaries API from OpenCaseLaw — 2 operation(s) for commentaries.

OpenCaseLaw Coverage API

The Coverage API from OpenCaseLaw — 2 operation(s) for coverage.

OpenCaseLaw Decision Structure API

The Decision Structure API from OpenCaseLaw — 4 operation(s) for decision structure.

OpenCaseLaw Exports API

The Exports API from OpenCaseLaw — 5 operation(s) for exports.

OpenCaseLaw Legislation API

The Legislation API from OpenCaseLaw — 3 operation(s) for legislation.

OpenCaseLaw Materialien API

The Materialien API from OpenCaseLaw — 5 operation(s) for materialien.

OpenCaseLaw Research API

The Research API from OpenCaseLaw — 5 operation(s) for research.

OpenCaseLaw Scholarship API

The Scholarship API from OpenCaseLaw — 8 operation(s) for scholarship.

OpenCaseLaw Statutes API

The Statutes API from OpenCaseLaw — 4 operation(s) for statutes.

Scroll for all 15

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

OpenCaseLaw MCP Server

Remote MCP server at mcp.opencaselaw.ch.

MCP SERVER

Agent Skills 2

Packaged agent skills for driving this provider's APIs from an AI assistant.

OpenCaseLaw API pricing

Prices published by OpenCaseLaw, read 2026-11-20 from mcp.opencaselaw.ch/api/docs#/Billing.

PlanPrice
Pro CHF 5/month

Plan details, limits and sources →

Pricing Plans 1

Published pricing tiers and plan structures.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Opencaselaw Ch Context

9 classes · 28 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.

OpenCaseLaw API Rules

45 rules · 36 error-severity 8 warn-severity 1 info-severity

SPECTRAL

JSON Schema 6

Standalone JSON Schema definitions for this provider's data models.

_AttestBody

6 properties

JSON SCHEMA

FindSupportRequest

3 properties

JSON SCHEMA

MockDecisionRequest

8 properties

JSON SCHEMA

ReflectRequest

5 properties

JSON SCHEMA

StrengthenRequest

5 properties

JSON SCHEMA

VerifyRequest

7 properties

JSON SCHEMA

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

OpenCaseLaw Domain Security

TLSv1.3 · DMARC

SECURITY

Agentic Access (API Evangelist recommendations) 1

Recommended x-agentic-access execution contracts for AI agents.

OpenCaseLaw Agentic Access

62 operations · 10 acting

62 operations · 10 acting

AGENTIC

Resources

Documentation 3

Reference material describing how the API behaves

Agent Surfaces 4

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 6

Pagination, idempotency, versioning, errors, and events

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Commercial 2

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Other 2

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: opencaselaw-ch
name: OpenCaseLaw
accessModel:
  pricing: paid
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Paid
  confidence: low
  source:
  - plans
  - security
  generated: '2026-11-20'
  method: derived
image: https://opencaselaw.ch/og-image.png
description: OpenCaseLaw provides an open, searchable record of Swiss legal decisions and legislation. It aggregates over
  1,040,000 court decisions dating back to 1875, including federal, cantonal, and European Court of Human Rights judgments,
  as well as more than 21,000 laws. All content is released under CC0 and rebuilt daily, making it accessible to both humans
  and machines for research, analysis, and public transparency. The platform supports multilingual access and offers APIs
  for programmatic retrieval of legal documents.
url: https://artifacts.apis.io/opencaselaw-ch/apis.yml
x-type: company
x-source: harvest:mcp-registry
x-tier: profiled
x-tier-reason: enrichment pass 2026-11-20 (modular-v1; was harvest)
specificationVersion: '0.20'
created: '2026-11-19'
modified: '2026-11-19'
tags:
- Legal
- Open Data
- Switzerland
- CourtDecisions
- Legislation
tags_raw:
- Legal
- OpenData
- Switzerland
- CourtDecisions
- Legislation
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
- FN: APIs.json
  email: info@apis.io
common:
- type: AgenticAccess
  url: agentic-access/opencaselaw-ch-agentic-access.yml
- type: Plans
  url: plans/opencaselaw-ch-plans-pricing.yml
- type: Spectral
  url: rules/opencaselaw-ch-rules.yml
- type: JSONLD
  url: json-ld/opencaselaw-ch-context.jsonld
- type: Vocabulary
  url: vocabulary/opencaselaw-ch-vocabulary.yml
- type: AgentSkill
  url: skills/_index.yml
- type: DataModel
  url: data-model/opencaselaw-ch-data-model.yml
- type: CLI
  url: cli/opencaselaw-ch-cli.yml
- type: ErrorCatalog
  url: errors/opencaselaw-ch-problem-types.yml
- type: Conformance
  url: conformance/opencaselaw-ch-conformance.yml
- type: LLMsTxt
  url: llms/opencaselaw-ch-llms.txt
- type: ToolCrosswalk
  url: mcp/opencaselaw-ch-tool-crosswalk.yml
- type: MCPServer
  url: mcp/opencaselaw-ch-mcp.yml
- type: Hosts
  url: hosts/opencaselaw-ch-hosts.yml
- type: Vendors
  url: vendors/opencaselaw-ch-vendors.yml
- type: PrivacyPolicy
  url: https://opencaselaw.ch/datenschutz/
- type: DomainSecurity
  url: security/opencaselaw-ch-domain-security.yml
- type: Website
  url: https://opencaselaw.ch/
- type: Documentation
  url: https://opencaselaw.ch/api/
- type: APIReference
  url: https://mcp.opencaselaw.ch/api/docs
- type: OpenAPI
  url: https://mcp.opencaselaw.ch/api/openapi.json
apis:
- aid: opencaselaw-ch:opencaselaw-ch-admin-api
  name: OpenCaseLaw Admin API
  description: The Admin API from OpenCaseLaw — 1 operation(s) for admin.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Admin
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-admin-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-analysis-api
  name: OpenCaseLaw Analysis API
  description: The Analysis API from OpenCaseLaw — 2 operation(s) for analysis.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Analysis
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-analysis-api-openapi.yml
  - type: JSONSchema
    url: json-schema/opencaselaw-ch-mock-decision-request-schema.json
- aid: opencaselaw-ch:opencaselaw-ch-billing-api
  name: OpenCaseLaw Billing API
  description: The Billing API from OpenCaseLaw — 10 operation(s) for billing.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Billing
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-billing-api-openapi.yml
  - type: JSONSchema
    url: json-schema/opencaselaw-ch-verify-request-schema.json
  - type: JSONSchema
    url: json-schema/opencaselaw-ch-reflect-request-schema.json
  - type: JSONSchema
    url: json-schema/opencaselaw-ch-strengthen-request-schema.json
  - type: JSONSchema
    url: json-schema/opencaselaw-ch-find-support-request-schema.json
- aid: opencaselaw-ch:opencaselaw-ch-case-law-api
  name: OpenCaseLaw Case Law API
  description: The Case Law API from OpenCaseLaw — 5 operation(s) for case law.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Case Law
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-case-law-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-citation-graph-api
  name: OpenCaseLaw Citation Graph API
  description: The Citation Graph API from OpenCaseLaw — 3 operation(s) for citation graph.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Citation Graph
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-citation-graph-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-citation-integrity-api
  name: OpenCaseLaw Citation Integrity API
  description: The Citation Integrity API from OpenCaseLaw — 3 operation(s) for citation integrity.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Citation Integrity
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-citation-integrity-api-openapi.yml
  - type: JSONSchema
    url: json-schema/opencaselaw-ch-attest-body-schema.json
- aid: opencaselaw-ch:opencaselaw-ch-commentaries-api
  name: OpenCaseLaw Commentaries API
  description: The Commentaries API from OpenCaseLaw — 2 operation(s) for commentaries.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Commentaries
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-commentaries-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-coverage-api
  name: OpenCaseLaw Coverage API
  description: The Coverage API from OpenCaseLaw — 2 operation(s) for coverage.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Coverage
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-coverage-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-decision-structure-api
  name: OpenCaseLaw Decision Structure API
  description: The Decision Structure API from OpenCaseLaw — 4 operation(s) for decision structure.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Decision Structure
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-decision-structure-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-exports-api
  name: OpenCaseLaw Exports API
  description: The Exports API from OpenCaseLaw — 5 operation(s) for exports.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Export
  tags_raw:
  - Exports
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-exports-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-legislation-api
  name: OpenCaseLaw Legislation API
  description: The Legislation API from OpenCaseLaw — 3 operation(s) for legislation.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Legislation
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-legislation-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-materialien-api
  name: OpenCaseLaw Materialien API
  description: The Materialien API from OpenCaseLaw — 5 operation(s) for materialien.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Materialien
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-materialien-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-research-api
  name: OpenCaseLaw Research API
  description: The Research API from OpenCaseLaw — 5 operation(s) for research.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Research
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-research-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-scholarship-api
  name: OpenCaseLaw Scholarship API
  description: The Scholarship API from OpenCaseLaw — 8 operation(s) for scholarship.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Scholarship
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-scholarship-api-openapi.yml
- aid: opencaselaw-ch:opencaselaw-ch-statutes-api
  name: OpenCaseLaw Statutes API
  description: The Statutes API from OpenCaseLaw — 4 operation(s) for statutes.
  humanURL: https://mcp.opencaselaw.ch/api/docs
  baseURL: https://mcp.opencaselaw.ch/api
  tags:
  - Statutes
  properties:
  - type: OpenAPI
    url: openapi/opencaselaw-ch-statutes-api-openapi.yml
x-enrichment:
  date: '2026-11-20'
  status: enriched
  artifacts_added: 32
  pass: modular-v1
  engine: identity=local,contract=local,surfaces=local,docs=local,regulatory=local

OpenCaseLaw API — frequently asked questions

Does OpenCaseLaw have an API?

Yes. APIs.io lists 15 APIs from OpenCaseLaw, including OpenCaseLaw Admin API, OpenCaseLaw Analysis API and OpenCaseLaw Billing API, and 12 more.

Is there an OpenAPI specification for the OpenCaseLaw API?

Yes. APIs.io indexes 15 OpenAPI specifications for OpenCaseLaw, each linked for download from this page.

How much does the OpenCaseLaw API cost?

OpenCaseLaw publishes its prices; its Pro plan is CHF 5/month as of 2026-11-20. APIs.io lists 1 pricing plan for OpenCaseLaw, with each plan's price, limits and inclusions under Pricing on this page.

Does OpenCaseLaw have an MCP server?

Yes. APIs.io lists 1 MCP server for OpenCaseLaw: Remote MCP server at mcp.opencaselaw.ch.

Is the OpenCaseLaw API ready for AI agents?

OpenCaseLaw has a Kin Score of 32.9 out of 100 (thin) and an Agent Readiness score of 25.9 (agent-aware), scored by API Evangelist on 2026-11-21.

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/opencaselaw-ch"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/opencaselaw-ch/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/opencaselaw-ch/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.