inexogy Virtual API

The Virtual API from inexogy — 1 operation(s) for virtual.

Operations 3

GET /virtual_meter Return the individual meters comprising the specified virtual meter #
POST /virtual_meter Create a new virtual meter (meter group) #
DELETE /virtual_meter Delete the specified virtual meter #

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/discovergy:discovergy-virtual-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. 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.

OpenAPI Specification

discovergy-virtual-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Discovergy Virtual API
tags:
- name: Virtual
paths:
  /virtual_meter:
    get:
      tags:
      - Virtual
      summary: Return the individual meters comprising the specified virtual meter
      operationId: getSubmeters
      parameters:
      - name: meterId
        in: query
        description: Identifier of the virtual meter to get constituent meters for
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Meters as a JSON object array
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Meter'
    post:
      tags:
      - Virtual
      summary: Create a new virtual meter (meter group)
      operationId: createVirtualMeter
      parameters:
      - name: meterIdsPlus
        in: query
        description: Comma-separated list of identifiers of all submeters with positive sign
        required: true
        schema:
          type: string
      - name: meterIdsMinus
        in: query
        description: Comma-separated list of identifiers of all submeters with negative sign
        schema:
          type: string
      responses:
        '200':
          description: The virtual meter as a JSON object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Activity'
    delete:
      tags:
      - Virtual
      summary: Delete the specified virtual meter
      operationId: destroyVirtualMeter
      parameters:
      - name: meterId
        in: query
        description: Identifier of the virtual meter to be deleted
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Operation successful
components:
  schemas:
    Address:
      type: object
      properties:
        street:
          type: string
          description: Name of the street where the meter is located
        streetNumber:
          type: string
          description: Number in the street where the meter is located
        zip:
          type: string
          description: Postal code where the meter is located
        city:
          type: string
          description: City/town where the meter is located
        country:
          type: string
          description: Country code where the meter is located
    Activity:
      type: object
      properties:
        deviceType:
          type: string
          enum:
          - BASE_LOAD
          - OVEN
          - WATER_HEATER
          - WATER_HEATING
          - REFRIGERATOR
          - WASHING_MACHINE
          - DISHWASHER
          - ELECTRIC_VEHICLE
          - ROUTER
          - CHARGER
          - LIGHT
          - GRINDER
          - COFFEE
          - ESPRESSO_MACHINE
          - DRYER
          - LAPTOP
          - PRINTER
          - TV
          - VACUUM_CLEANER
          - TREADMILL
          - HAIR_DRYER
          - FAN
          - AIR_CONDITIONER
          - MANURE_EXTRACTOR
          - INFRARED_HEATING
          - MILK_ROBOT
          - FARROWING
          - RADIATOR
          - SAUNA
          - STABLE
          - ANIMAL_FEEDING
          - VACUUM_PUMP
          - WATER_PUMP
          - WINDMILL
          - PIPE_FLUSHER
          - CIRCULATION_PUMP
          - COMPRESSOR
          - COW_BARN
          - UNKNOWN
        deviceId:
          type: integer
          format: int64
        deviceName:
          type: string
        activityId:
          type: integer
          format: int64
        beginTime:
          type: integer
          format: int64
        endTime:
          type: integer
          format: int64
        energy:
          type: integer
          format: int64
    Meter:
      type: object
      properties:
        meterId:
          type: string
          description: Unique meterId, used as an identifier
        manufacturerId:
          type: string
          description: DLMS manufacturerId
        serialNumber:
          type: string
          description: Short serial number of the meter.
        fullSerialNumber:
          type: string
          description: Full standardized serial number, as it is reported by the meter itself.
        printedFullSerialNumber:
          type: string
          description: 'Full standardized serial number, as it is printed on the meter. Note: This might differ from fullSerialNumber only on meters from the manufacturer EMH.'
        location:
          $ref: '#/components/schemas/Address'
        administrationNumber:
          type: string
          description: Metering location number (MeLo or Zaehlpunktnummer) associated with the meter
        type:
          type: string
          description: Device type of the meter
        measurementType:
          type: string
          description: Physical quantity being measured by the meter
        loadProfileType:
          type: string
          description: Metering load profile type associated with the meter
        scalingFactor:
          type: integer
          description: Factor imposed on metered current AND voltage by a transducer
          format: int64
        currentScalingFactor:
          type: integer
          description: Factor imposed on metered current by a transducer
          format: int64
        voltageScalingFactor:
          type: integer
          description: Factor imposed on metered voltage by a transducer
          format: int64
        internalMeters:
          type: integer
          description: Number of individual metering units comprising the meter
          format: int64
        firstMeasurementTime:
          type: integer
          description: Time of the first measurement sent by the meter, as a UNIX millisecond timestamp, or -1 if the meter has not sent any measurements
          format: int64
        lastMeasurementTime:
          type: integer
          description: Time of the last measurement sent by the meter, as a UNIX millisecond timestamp, or -1 if the meter has not sent any measurements
          format: int64
        storageNumbers:
          uniqueItems: true
          type: array
          description: The storage numbers that meter has reported
          items:
            type: integer
            description: The storage numbers that meter has reported
            format: int32
        submeter:
          type: boolean
          description: Is meter part of sub-metering
        kWhScalingFactor:
          type: integer
          description: Scaling factor to be used as divisor to convert retrieved values to kWh
          format: int64