Bulk get nominations
curl --request GET \
--url https://api.otark.energy/v1/nominations/bulk \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.otark.energy/v1/nominations/bulk"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.otark.energy/v1/nominations/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.otark.energy/v1/nominations/bulk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.otark.energy/v1/nominations/bulk"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.otark.energy/v1/nominations/bulk")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.otark.energy/v1/nominations/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"nominations": [
{
"id": "nom_t4u5v6w7x8",
"status": "match",
"version": 1,
"gate_closure": "2026-01-14T14:30:00Z",
"direction": "out",
"eic": "11YWINDPARKNO--A",
"tso": "DE_TENNET",
"counterparty": {
"name": "Otark",
"eic": "11YOTARK------Z"
},
"created_at": "2026-01-14T14:30:00Z",
"previous_nomination_id": null,
"confirmed_at": "2026-01-14T15:00:00Z",
"sent_at": "2026-01-14T14:35:00Z",
"slots": [
{
"delivery_start": "2026-01-15T14:00:00Z",
"delivery_end": "2026-01-15T14:15:00Z",
"slot_number": 57,
"amount": 12.5,
"matched_amount": 12.5
}
]
}
]
}{
"type": "https://brp.otark.team/errors/validation",
"title": "Validation Failed",
"status": 400,
"instance": "/v1/customers/cust_r8s9t0u1",
"errors": [
{
"field": "balance_group.tso",
"code": "invalid_enum_value",
"message": "Invalid enum value. Expected 'DE_AMPRION' | 'DE_TENNET' | 'DE_TRANSNET_BW' | 'DE_50HERTZ', received 'INVALID'"
}
]
}{
"type": "https://brp.otark.team/errors/invalid_api_key",
"title": "Invalid API Key",
"status": 401
}{
"type": "https://brp.otark.team/errors/insufficient_scopes",
"title": "Insufficient API Key Scopes",
"status": 403,
"detail": "Missing scope: customers:write. Please create a new API key with the required scopes."
}Nominations
Bulk get nominations
Retrieve multiple nominations by ID in a single request. Limited to 100 IDs via query parameter. Non-existent or inaccessible IDs are silently omitted.
Required scope: nominations:read
GET
/
v1
/
nominations
/
bulk
Bulk get nominations
curl --request GET \
--url https://api.otark.energy/v1/nominations/bulk \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.otark.energy/v1/nominations/bulk"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.otark.energy/v1/nominations/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.otark.energy/v1/nominations/bulk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.otark.energy/v1/nominations/bulk"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.otark.energy/v1/nominations/bulk")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.otark.energy/v1/nominations/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"nominations": [
{
"id": "nom_t4u5v6w7x8",
"status": "match",
"version": 1,
"gate_closure": "2026-01-14T14:30:00Z",
"direction": "out",
"eic": "11YWINDPARKNO--A",
"tso": "DE_TENNET",
"counterparty": {
"name": "Otark",
"eic": "11YOTARK------Z"
},
"created_at": "2026-01-14T14:30:00Z",
"previous_nomination_id": null,
"confirmed_at": "2026-01-14T15:00:00Z",
"sent_at": "2026-01-14T14:35:00Z",
"slots": [
{
"delivery_start": "2026-01-15T14:00:00Z",
"delivery_end": "2026-01-15T14:15:00Z",
"slot_number": 57,
"amount": 12.5,
"matched_amount": 12.5
}
]
}
]
}{
"type": "https://brp.otark.team/errors/validation",
"title": "Validation Failed",
"status": 400,
"instance": "/v1/customers/cust_r8s9t0u1",
"errors": [
{
"field": "balance_group.tso",
"code": "invalid_enum_value",
"message": "Invalid enum value. Expected 'DE_AMPRION' | 'DE_TENNET' | 'DE_TRANSNET_BW' | 'DE_50HERTZ', received 'INVALID'"
}
]
}{
"type": "https://brp.otark.team/errors/invalid_api_key",
"title": "Invalid API Key",
"status": 401
}{
"type": "https://brp.otark.team/errors/insufficient_scopes",
"title": "Insufficient API Key Scopes",
"status": 403,
"detail": "Missing scope: customers:write. Please create a new API key with the required scopes."
}Autorisierungen
Abfrageparameter
Comma-separated list of nomination IDs (max 100)
Beispiel:
"nom_t4u5v6w7x8,nom_q1r2s3t4u5"
Antwort
Nominations list
List of nominations (non-existent or inaccessible IDs are silently omitted)
Show child attributes
Show child attributes
War diese Seite hilfreich?
⌘I