inexogy Disaggregation API
The Disaggregation API from inexogy — 3 operation(s) for disaggregation.
The Disaggregation API from inexogy — 3 operation(s) for disaggregation.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/discovergy:discovergy-disaggregation-api"
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.
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: 3.2.0
info:
title: Discovergy Disaggregation API
tags:
- name: Disaggregation
paths:
/activities:
get:
tags:
- Disaggregation
summary: Returns the activities recognised for the given meter during the given interval
operationId: getActivities
parameters:
- name: meterId
in: query
description: Identifier of the meter to get activities for
required: true
schema:
type: string
- name: from
in: query
description: 'Begin time of interval to return activities for, as a UNIX millisecond timestamp '
required: true
schema:
type: integer
format: int64
- name: to
in: query
description: 'End time of interval to return activities for, as a UNIX millisecond timestamp '
required: true
schema:
type: integer
format: int64
responses:
'200':
description: Activities as a JSON object array
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Activity'
/disaggregation:
get:
tags:
- Disaggregation
summary: Provides the disaggregated energy for the specified meter at 15 minute intervals
operationId: getDisaggregationResults
parameters:
- name: meterId
in: query
description: Identifier of the meter to get disaggregated energy for
required: true
schema:
type: string
- name: from
in: query
description: Begin time of interval to return disaggregation for, as a UNIX millisecond timestamp
required: true
schema:
type: integer
format: int64
- name: to
in: query
description: End time of interval to return disaggregation for for, as a UNIX millisecond timestamp
schema:
type: integer
format: int64
responses:
'200':
description: Disaggregation results were loaded. Energy is provided in 10^-10 kWH
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/EnergyByDeviceMeasurement'
post:
tags:
- Disaggregation
summary: Stores the disaggregation results for the specified meter
operationId: pushDisaggregationResults
parameters:
- name: meterId
in: query
description: Identifier of the meter to store disaggregation results for
required: true
schema:
type: string
requestBody:
description: 'Disaggregation results in JSON format. Timestamp is in UNIX milliseconds and power in mW. {Timestamp:{Appliance1:Power, Appliance2:Power2}}. Appliance name must be composed by appliance type and index. A correct example is OVEN-2. Currently supported appliance types are REFRIGERATOR, DISHWASHER, BASE_LOAD, UNKNOWN, WASHING_MACHINE, OVEN, WATER_HEATING, ELECTRIC_VEHICLE. '
content:
application/json:
schema:
type: object
additionalProperties:
type: object
additionalProperties:
type: object
properties:
value:
type: integer
format: int64
key:
type: integer
format: int64
required: true
responses:
'200':
description: Disaggregation results were stored
content:
'*/*':
schema:
type: string
/nilm:
post:
tags:
- Disaggregation
summary: Process the disaggregation results for the specified meter measurements and…
operationId: getDisaggregationResults_1
requestBody:
description: "Request given as a JSON map:<ul>\n<li>Key: measurements </li>\n<li>Value: a JSON map:<ul>\n<li>Key: UNIX millisecond timestamp</li>\n<li>Value: a JSON map:<ul>\n<li>Key: field name</li>\n<li>Value: field value</li>\n</ul></li></ul></li></ul>\nExample:<pre>{\n \"measurements\":{\n \"1000000001111\":{\"phase1Power\":2000000000,\"phase2Power\":3000000000},\n \"1000000002222\":{\"phase1Power\":4000000000,\"phase2Power\":5000000000}\n },\n \"meter\":{\n \"FRESH_1\"\n },\n \"appliancelist\":{\n \"BASE_LOAD,REFRIGERATOR,WATER_HEATER,DISHWASHER,WASHING_MACHINE,OVEN,DRYER,ELECTRIC_VEHICLE\"\n },\n \"frequency\":{\n 6000\n }\n}</pre>"
content:
application/json:
schema:
type: string
required: true
responses:
'200':
description: Disaggregation is done.
content:
'*/*':
schema:
type: string
components:
schemas:
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
EnergyByDeviceMeasurement:
type: object
properties:
serverTime:
type: integer
format: int64
time:
type: integer
format: int64
values:
type: object
additionalProperties:
type: integer
format: int64
energyByDevice:
type: object
additionalProperties:
type: integer
format: int64
propertyNames:
type: array
items:
type: string
age:
type: integer
format: int64
arrivalAge:
type: integer
format: int64
germanDateTime:
type: string
format: date-time
offsetDateTime:
type: string
format: date-time