30MHz Calculation API

The calculation API from 30MHz — 2 operation(s) for calculation.

Operations 4

GET /calculation/{calculationId} Get a calculation #
POST /calculation/{calculationId} Perform calculation #
DELETE /calculation/{calculationId} Remove calculation #
POST /calculation Create a new calculation #

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/30mhz-calculation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

30mhz-calculation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2.0'
  title: ZENSIE Calculation API
servers:
- url: https://api.30mhz.com/api
tags:
- name: calculation
paths:
  /calculation/{calculationId}:
    get:
      tags:
      - calculation
      summary: Get a calculation
      description: ''
      operationId: getCalculation
      parameters:
      - name: calculationId
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '200':
          description: Calculation retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Calculation'
            application/zensie-v2+json:
              schema:
                $ref: '#/components/schemas/Calculation'
        '403':
          description: User not allowed to view the calculation
        '500':
          description: Sorry, there was a problem getting the calculation.
    post:
      tags:
      - calculation
      summary: Perform calculation
      description: ''
      operationId: calculate
      parameters:
      - name: calculationId
        in: path
        required: true
        schema:
          type: string
      - name: lastValueOnly
        in: query
        description: Optional - Only return the calculated value corresponding to the latest timestamp. Leave empty or set to false to return all values
        required: false
        schema:
          type: boolean
          default: false
      security:
      - Bearer: []
      responses:
        '200':
          description: Calculation has been performed.
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
            application/zensie-v2+json:
              schema:
                type: object
                additionalProperties:
                  type: object
        '403':
          description: User is not authorized to perform this operation.
        '404':
          description: Calculation not found.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CalculationSettings'
    delete:
      tags:
      - calculation
      summary: Remove calculation
      description: Authentication required for this operation, authenticated user must have admin role.
      operationId: deleteCalculation
      parameters:
      - name: calculationId
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '204':
          description: Calculation has been removed.
        '403':
          description: User is not authorized to perform this operation, they must be an admin.
        '404':
          description: Calculation not found.
  /calculation:
    post:
      tags:
      - calculation
      summary: Create a new calculation
      description: Authentication required for this operation, authenticated user have admin role.
      operationId: createCalculation
      security:
      - Bearer: []
      responses:
        '201':
          description: New calculation created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Calculation'
            application/zensie-v2+json:
              schema:
                $ref: '#/components/schemas/Calculation'
        '403':
          description: User must be an admin.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewCalculation'
components:
  schemas:
    CalculationSettings:
      type: object
      required:
      - inputParams
      properties:
        calculationId:
          type: string
          description: Unique identifier for the calculation
        inputParams:
          type: object
          description: A map of the necessary input parameters and their type for performing the calculation
          additionalProperties:
            type: object
      description: Settings used to perform a calculation.
    NewCalculation:
      type: object
      required:
      - calculationId
      - name
      properties:
        aggregationKey:
          type: string
          description: Key of the selected aggregation from the calculation response
        calculationId:
          type: string
          description: Unique identifier for the calculation
        description:
          type: string
          description: Description for the calculation
        inputParams:
          type: object
          description: A map of the necessary input parameters and their type for performing the calculation
          additionalProperties:
            type: string
        name:
          type: string
          description: Displayable name for the calculation
        outputFields:
          type: object
          description: A map of the selected output parameters and their type from the calculation response
          additionalProperties:
            type: string
        template:
          type: string
          description: Template for the calculation
        templateId:
          type: string
          description: Unique identifier for the calculation template
      description: Object holding the properties of a new calculation.
    Calculation:
      type: object
      properties:
        calculationId:
          type: string
          description: Unique identifier for the calculation
        description:
          type: string
          description: Description for the calculation
        inputParams:
          type: object
          description: A map of the necessary input parameters and their type for performing the calculation
          additionalProperties:
            type: string
        name:
          type: string
          description: Displayable name for the calculation
        outputFields:
          type: object
          description: A map of the selected output parameters and their type from the calculation response
          additionalProperties:
            type: string
      description: Calculations allow querying data through operations and aggregations.
  securitySchemes:
    Bearer:
      description: ''
      type: apiKey
      name: Authorization
      in: header