myenergi Grid Pay API
The GridPay API from myenergi — 4 operation(s) for gridpay.
The GridPay API from myenergi — 4 operation(s) for gridpay.
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/myenergi:myenergi-gridpay-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: myenergi public Grid Pay API
version: 1.0.0
servers:
- url: api.myenergi.com
tags:
- name: GridPay
paths:
/devices/gridpay/activate/{deviceSerialNo}:
post:
operationId: device-gridpay-activate
description: Opts a device in to GridPay demand side response. Only a device in the GridPay pilot can opt in; any other device is refused. The opt-in is recorded with myaccount first; if myaccount rejects it no activation record is created and the request fails. Returns the activation record that was created.
tags:
- GridPay
security:
- bearerAuth: []
parameters:
- name: deviceSerialNo
in: path
required: true
schema:
type: number
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
activation:
type:
- object
- 'null'
properties:
serialNo:
type: number
countryCode:
type: string
enum:
- nl
description: The GridPay market an activation belongs to
enabled:
type: boolean
createdAt:
type: string
format: date-time
initiator:
type: string
enum:
- customer
- admin
description: The source that initiated the GridPay activation change
required:
- serialNo
- countryCode
- enabled
- createdAt
- initiator
additionalProperties: false
required:
- activation
additionalProperties: false
default:
$ref: '#/components/responses/error'
summary: Device gridpay activate
x-summary-source: derived
/devices/gridpay/deactivate/{deviceSerialNo}:
post:
operationId: device-gridpay-deactivate
description: Opts a device out of GridPay demand side response. The opt-out is recorded against the customer account first; if it is rejected no record is created and the request fails. The opt-out applies to the whole customer account, so every device on it stops participating. Returns the deactivation record that was created.
tags:
- GridPay
security:
- bearerAuth: []
parameters:
- name: deviceSerialNo
in: path
required: true
schema:
type: number
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
activation:
type:
- object
- 'null'
properties:
serialNo:
type: number
countryCode:
type: string
enum:
- nl
description: The GridPay market an activation belongs to
enabled:
type: boolean
createdAt:
type: string
format: date-time
initiator:
type: string
enum:
- customer
- admin
description: The source that initiated the GridPay activation change
required:
- serialNo
- countryCode
- enabled
- createdAt
- initiator
additionalProperties: false
required:
- activation
additionalProperties: false
default:
$ref: '#/components/responses/error'
summary: Device gridpay deactivate
x-summary-source: derived
/devices/gridpay/eligibility/{deviceSerialNo}:
get:
operationId: device-gridpay-getEligibility
description: Reports whether a device is in the GridPay pilot. A device that was never admitted and one whose place has been withdrawn are both reported as not eligible.
tags:
- GridPay
security:
- bearerAuth: []
parameters:
- name: deviceSerialNo
in: path
required: true
schema:
type: number
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
eligible:
type: boolean
required:
- eligible
additionalProperties: false
default:
$ref: '#/components/responses/error'
summary: Device gridpay get eligibility
x-summary-source: derived
/devices/gridpay/activation/{deviceSerialNo}:
get:
operationId: device-gridpay-getActivation
description: Returns the most recent GridPay activation record for a device, or `null` when the device has never been activated.
tags:
- GridPay
security:
- bearerAuth: []
parameters:
- name: deviceSerialNo
in: path
required: true
schema:
type: number
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
activation:
type:
- object
- 'null'
properties:
serialNo:
type: number
countryCode:
type: string
enum:
- nl
description: The GridPay market an activation belongs to
enabled:
type: boolean
createdAt:
type: string
format: date-time
initiator:
type: string
enum:
- customer
- admin
description: The source that initiated the GridPay activation change
required:
- serialNo
- countryCode
- enabled
- createdAt
- initiator
additionalProperties: false
required:
- activation
additionalProperties: false
default:
$ref: '#/components/responses/error'
summary: Device gridpay get activation
x-summary-source: derived
components:
responses:
error:
description: Error response
content:
application/json:
schema:
type: object
properties:
message:
type: string
code:
type: string
issues:
type: array
items:
type: object
properties:
message:
type: string
required:
- message
additionalProperties: false
required:
- message
- code
additionalProperties: false
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API Key
description: API key generated on the myaccount website