Elhub Secure ping API
The Secure ping API from Elhub — 2 operation(s) for secure ping.
The Secure ping API from Elhub — 2 operation(s) for secure ping.
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/elhub:elhub-secure-ping-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: Elhub Secure ping API
version: v0
description: 'Operations tagged Secure ping across 2 of this provider''s published API definitions: elhub-data-export-api-openapi.yaml, elhub-energy-data-api-openapi.yaml. Each path carries the servers of the definition it was published in.'
tags:
- name: Secure ping
paths:
/data-export/v0/secure-ping:
get:
tags:
- Secure ping
summary: Secure ping endpoint
parameters:
- name: Authorization
in: header
description: 'Include the bearer token obtained from Maskinporten in the Authorization header. Format: `Bearer <token>`.'
required: true
deprecated: false
explode: false
schema:
type: string
title: String
example: Bearer eyJhbGciOi...
- name: X-Elhub-GLN
in: header
description: Sender (Own) GLN value
required: false
deprecated: false
explode: false
schema:
type: string
title: String
- name: On-Behalf-Of
in: header
description: GLN value of the onbehalf party
required: false
deprecated: false
explode: false
schema:
type: string
title: String
responses:
'200':
description: Successful ping response when the token is valid
headers: {}
content:
application/json:
schema:
type: string
title: String
examples:
pong:
summary: Pong response
value: '{"message": "Pong! Elhoo."}'
'401':
description: The request lacks valid authentication credentials
headers: {}
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/jsonapi.Error'
examples:
unauthorized:
value: '{"errors":[{"status":"401","title":"Unauthorized","detail":"creationTime: 2026-09-29T15:38:15+02:00","links":{"self":"https://api.elhub.no/energy-data/v0/secure-ping"}}]}'
'403':
description: Authenticated but not authorized to access the resource
headers: {}
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/jsonapi.Error'
examples:
forbidden:
value: '{"errors":[{"status":"403","title":"Forbidden","detail":"creationTime: 2026-09-29T15:38:15+02:00","links":{"self":"https://api.elhub.no/energy-data/v0/secure-ping"}}]}'
'500':
description: Unexpected server error
headers: {}
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/jsonapi.Error'
examples:
unexpectedError:
value: '{"errors":[{"status":"500","title":"Unexpected server error. Try again later.","detail":"creationTime: 2026-09-29T15:38:15+02:00","links":{"self":"https://api.elhub.no/energy-data/v0/secure-ping"}}]}'
deprecated: false
operationId: getDataExportV0SecurePing
x-operation-id-source: derived
/energy-data/v0/secure-ping:
get:
tags:
- Secure ping
summary: Secure ping endpoint
parameters:
- name: Authorization
in: header
description: 'Include the bearer token obtained from Maskinporten in the Authorization header. Format: `Bearer <token>`.'
required: true
deprecated: false
explode: false
schema:
type: string
title: String
example: Bearer eyJhbGciOi...
- name: X-Elhub-GLN
in: header
description: Sender (Own) GLN value
required: false
deprecated: false
explode: false
schema:
type: string
title: String
- name: On-Behalf-Of
in: header
description: GLN value of the onbehalf party
required: false
deprecated: false
explode: false
schema:
type: string
title: String
responses:
'200':
description: Successful ping response when the token is valid
headers: {}
content:
application/json:
schema:
type: string
title: String
examples:
pong:
summary: Pong response
value: '{"message": "Pong! Elhoo."}'
'401':
description: The request lacks valid authentication credentials
headers: {}
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/jsonapi.Error'
examples:
unauthorized:
value: '{"errors":[{"status":"401","title":"Unauthorized","detail":"creationTime: 2026-09-29T15:38:35+02:00","links":{"self":"https://api.elhub.no/energy-data/v0/secure-ping"}}]}'
'403':
description: Authenticated but not authorized to access the resource
headers: {}
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/jsonapi.Error'
examples:
forbidden:
value: '{"errors":[{"status":"403","title":"Forbidden","detail":"creationTime: 2026-09-29T15:38:35+02:00","links":{"self":"https://api.elhub.no/energy-data/v0/secure-ping"}}]}'
'500':
description: Unexpected server error
headers: {}
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/jsonapi.Error'
examples:
unexpectedError:
value: '{"errors":[{"status":"500","title":"Unexpected server error. Try again later.","detail":"creationTime: 2026-09-29T15:38:35+02:00","links":{"self":"https://api.elhub.no/energy-data/v0/secure-ping"}}]}'
deprecated: false
operationId: getEnergyDataV0SecurePing
x-operation-id-source: derived
components:
schemas:
jsonapi.Link.URI:
type: object
properties:
value:
type: string
title: String
required:
- value
title: Link.URI
jsonapi.Links:
type: object
properties:
members:
type: object
additionalProperties:
$ref: '#/components/schemas/jsonapi.Link'
title: Map<String,Link>
required:
- members
title: Links
jsonapi.Link:
anyOf:
- $ref: '#/components/schemas/jsonapi.Link.LinkObject'
- $ref: '#/components/schemas/jsonapi.Link.URI'
title: Link
jsonapi.Error.Source:
type: object
properties:
header:
type:
- 'null'
- string
title: String
parameter:
type:
- 'null'
- string
title: String
pointer:
type:
- 'null'
- string
title: String
title: Error.Source
jsonapi.Error:
type: object
properties:
code:
type:
- 'null'
- string
title: String
detail:
type:
- 'null'
- string
title: String
id:
type:
- 'null'
- string
title: String
links:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/jsonapi.Links'
meta:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/jsonapi.Meta'
source:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/jsonapi.Error.Source'
status:
type:
- 'null'
- string
title: String
title:
type:
- 'null'
- string
title: String
title: Error
jsonapi.Link.LinkObject:
type: object
properties:
describedBy:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/jsonapi.Link'
href:
type: string
title: String
hreflang:
type:
- 'null'
- array
items:
type: string
title: String
title: List<String>
meta:
oneOf:
- type: 'null'
- $ref: '#/components/schemas/jsonapi.Meta'
rel:
type:
- 'null'
- string
title: String
title:
type:
- 'null'
- string
title: String
type:
type:
- 'null'
- string
title: String
required:
- href
title: Link.LinkObject
jsonapi.Meta:
type: object
properties:
members:
type: object
additionalProperties:
type: object
title: Any
title: Map<String,Any>
required:
- members
title: Meta
externalDocs:
url: /
x-refined-from:
- elhub-data-export-api-openapi.yaml
- elhub-energy-data-api-openapi.yaml