Skip to main content
POST
/
v1
/
transactions
/
bulk
Bulk get transactions (POST)
curl --request POST \
  --url https://api.otark.energy/v1/transactions/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "ids": [
    "txn_k8m2p4q7r1",
    "txn_j5n3w8v2x6",
    "txn_h2b7f9d4g3"
  ],
  "include_assets": false
}
'
{
  "transactions": [
    {
      "id": "txn_k8m2p4q7r1",
      "type": "ppa",
      "contract_id": "con_a1b2c3d4",
      "status": "valid",
      "version": 2,
      "sender": {
        "eic": "11YWINDPARKNO--A",
        "asset_id": "ast_w1x2y3z4",
        "tso": "DE_TENNET"
      },
      "receiver": {
        "eic": "11YGREENENERGY-Z",
        "tso": "DE_TENNET"
      },
      "delivery_start": "2026-01-15T14:00:00Z",
      "delivery_end": "2026-01-15T14:15:00Z",
      "slot_number": 57,
      "volume": 12.5,
      "created_at": "2026-01-14T18:00:00Z",
      "previous_transaction_id": "txn_j5n3w8v2x6"
    }
  ],
  "assets": [
    {
      "id": "ast_w1x2y3z4",
      "name": "Zonnepark De Wilgen",
      "nominal_power": 25,
      "technology": "solar",
      "tso": "DE_TENNET"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.otark.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Api-Key
string
header
required

Body

application/json
ids
string[]
required

List of transaction IDs to retrieve (max 100)

Required array length: 1 - 100 elements
Example:
[
"txn_k8m2p4q7r1",
"txn_j5n3w8v2x6",
"txn_h2b7f9d4g3"
]
include_assets
boolean
default:false

Include a deduplicated assets array in the response

Response

Transactions list

transactions
object[]
required

List of transactions (non-existent or inaccessible IDs are silently omitted)

assets
object[]

Deduplicated list of assets referenced by the returned transactions (only present when include_assets=true)