Kanton Zürich Tests API

The Tests API from Kanton Zürich — 2 operation(s) for tests.

GitHub OpenAPI

Operations 2

0 of 2 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 2 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

GET /basictest Get basictest observed #
GET /dbtest Get dbtest observed #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/zh-ch:zh-ch-tests-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

zh-ch-tests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zh Ch Tests API
  version: '0.5'
  contact:
    name: Res Marti
    email: res.marti@bi.zh.ch
  description: 'Operations tagged Tests across 2 of this provider''s published API definitions: bista-zh-ch-openapi.json, zh-ch-education-statistics-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /basicapi
- url: https://www.bista.zh.ch/basicapi
  description: Absolute form of the relative server /basicapi published on www.bista.zh.ch/basicapi/api-docs/
tags:
- name: Tests
paths:
  /basictest:
    get:
      description: Use to test basic functionality of the api
      tags:
      - Tests
      responses:
        '200':
          description: A successfull response, the api-server is up and running. This endpoint should return an array of strings.
      summary: Get basictest
      x-summary-source: derived
      operationId: getBasictest
      x-operation-id-source: derived
    servers:
    - url: /basicapi
  /dbtest:
    get:
      description: Use to test the connection to the database
      tags:
      - Tests
      responses:
        '200':
          description: A successfull response, the api-server has returned usable data. Will only return a senseless json object.
        '500':
          description: The server could not connect to the database. The database is either offline of the credentials to access the database are invalid
        '501':
          description: The requested resource could not be processed. This should not happen since the sql query is hard coded into the api.
      summary: Get dbtest
      x-summary-source: derived
      operationId: getDbtest
      x-operation-id-source: derived
    servers:
    - url: /basicapi
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- bista-zh-ch-openapi.json
- zh-ch-education-statistics-openapi.yml