Cernion MaStR Monitor API

MaStR installation change monitoring with field-level delta detection and email notifications (v0.27). Watches track changes to MaStR installations based on saved queries with configurable schedules.

Operations 12

POST /api/mastr-monitor/watches Create MaStR monitor watch #
GET /api/mastr-monitor/watches List MaStR monitor watches #
GET /api/mastr-monitor/watches/:watchId Get MaStR monitor watch #
DELETE /api/mastr-monitor/watches/:watchId Delete MaStR monitor watch and all linked objects #
POST /api/mastr-monitor/watches/:watchId/run Run watch now #
GET /api/mastr-monitor/watches/:watchId/deltas Get delta history for watch #
GET /api/mastr-monitor/watches/:watchId/deltas/:deltaId Get one delta by ID #
GET /api/mastr-monitor/watches/:watchId/snapshot Get latest snapshot in JSON or CSV #
POST /api/mastr-monitor/watches/:watchId/subscribe Create subscription for watch #
DELETE /api/mastr-monitor/watches/:watchId/subscribe/:token Unsubscribe token #
GET /api/mastr-monitor/confirm/:token Confirm email subscription by token #
POST /api/mastr-monitor/from-session Create watch from Live-CSV session (stub) #

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/cernion-de:cernion-de-mastr-monitor-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

cernion-de-mastr-monitor-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cernion Energy Tools MaStR Monitor API
  version: 0.99.22
  description: 'MicroService Agent System for Energy Markets - REST API with AI integration.


    CERNION_TOKEN: request at https://cernion.de/ or by email: dev@stromdao.com.


    For the public instance at https://api.cernion.de/, create your token at https://cernion.de/cet-token/.'
servers:
- url: https://api.cernion.de
  description: API Server
tags:
- name: MaStR Monitor
  description: MaStR installation change monitoring with field-level delta detection and email notifications (v0.27). Watches track changes to MaStR installations based on saved queries with configurable schedules.
paths:
  /api/mastr-monitor/watches:
    post:
      summary: Create MaStR monitor watch
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_createWatch
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - query
              properties:
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
            examples:
              default:
                value:
                  name: STROMDAO Solar >100kW Monitoring
                  query:
                    gridOperatorMastrId: SNB935578300972
                    type: solar
                    minCapacity: 100
    get:
      summary: List MaStR monitor watches
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_listWatches
      parameters:
      - name: email
        in: query
        required: false
        schema:
          type: string
          format: email
          example: netzplanung@stromdao.de
      - name: limit
        in: query
        required: false
        schema:
          type: number
          default: 50
          example: 50
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          example: eyJvZmZzZXQiOjUwfQ==
      - name: offset
        in: query
        required: false
        schema:
          type: number
          minimum: 0
          example: 0
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
  /api/mastr-monitor/watches/:watchId:
    get:
      summary: Get MaStR monitor watch
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_getWatch
      parameters:
      - name: watchId
        in: path
        required: true
        schema:
          type: string
          example: stromdao-solar-monitor_ab12cd34
      - name: limit
        in: query
        required: false
        schema:
          type: number
          default: 50
          example: 50
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          example: eyJvZmZzZXQiOjUwfQ==
      - name: offset
        in: query
        required: false
        schema:
          type: number
          minimum: 0
          example: 0
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
    delete:
      summary: Delete MaStR monitor watch and all linked objects
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_deleteWatch
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                watchId:
                  type: string
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
              required: []
  /api/mastr-monitor/watches/:watchId/run:
    post:
      summary: Run watch now
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_runWatch
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              required:
              - watchId
              properties:
                watchId:
                  type:
                  - string
                  - 'null'
                  example: stromdao-solar-monitor_ab12cd34
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
            examples:
              default:
                value: {}
  /api/mastr-monitor/watches/:watchId/deltas:
    get:
      summary: Get delta history for watch
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_getDeltas
      parameters:
      - name: watchId
        in: path
        required: true
        schema:
          type: string
          example: stromdao-solar-monitor_ab12cd34
      - name: limit
        in: query
        required: false
        schema:
          type: number
          default: 50
          example: 50
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          example: eyJvZmZzZXQiOjUwfQ==
      - name: offset
        in: query
        required: false
        schema:
          type: number
          minimum: 0
          example: 0
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
  /api/mastr-monitor/watches/:watchId/deltas/:deltaId:
    get:
      summary: Get one delta by ID
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_getDelta
      parameters:
      - name: watchId
        in: path
        required: true
        schema:
          type: string
          example: stromdao-solar-monitor_ab12cd34
      - name: deltaId
        in: path
        required: true
        schema:
          type: string
          example: '2026-04-16'
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
  /api/mastr-monitor/watches/:watchId/snapshot:
    get:
      summary: Get latest snapshot in JSON or CSV
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_getSnapshot
      parameters:
      - name: watchId
        in: path
        required: true
        schema:
          type: string
          example: stromdao-solar-monitor_ab12cd34
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - json
          - csv
          default: json
          example: json
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
  /api/mastr-monitor/watches/:watchId/subscribe:
    post:
      summary: Create subscription for watch
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_subscribe
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - watchId
              - email
              properties:
                watchId:
                  type:
                  - string
                  - 'null'
                  example: stromdao-solar-monitor_ab12cd34
                email:
                  type: string
                  format: email
                  example: netzplanung@stromdao.de
                onlyOnChanges:
                  type: boolean
                  default: true
                language:
                  type: string
                  enum:
                  - de
                  - en
                  default: de
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
            examples:
              default:
                value:
                  email: netzplanung@stromdao.de
                  onlyOnChanges: true
                  language: de
  /api/mastr-monitor/watches/:watchId/subscribe/:token:
    delete:
      summary: Unsubscribe token
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_unsubscribe
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                watchId:
                  type: string
                token:
                  type: string
              required: []
  /api/mastr-monitor/confirm/:token:
    get:
      summary: Confirm email subscription by token
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_confirmSubscription
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          example: d6f47d6d687adc8f8e5a17f6b63dd3f31fc14e8f67122e4a
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
  /api/mastr-monitor/from-session:
    post:
      summary: Create watch from Live-CSV session (stub)
      tags:
      - MaStR Monitor
      operationId: mastr_monitor_createFromSession
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
            examples:
              default:
                value:
                  sessionId: 2a70e478-90ce-4fa5-b996-6f98efdba7cf
                  name: Monitoring aus CSV-Session
components:
  parameters:
    TokenQuery:
      name: token
      in: query
      required: false
      schema:
        type: string
      description: Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Optional Cernion MCP token. If not provided, falls back to CERNION_TOKEN from environment. Request token at https://cernion.de/ or by email: dev@stromdao.com.'