BRP Connect APIContracts

List contracts

List contracts accessible to the authenticated BRP. Supports filtering by status, type, EIC code, delivery period, and active date. Required scope: contracts:read

GET
/v1/contracts
X-Api-Key<token>

In: header

Query Parameters

status?string

Filter by contract status

Value in"pending" | "in_progress" | "completed"
type?string

Filter by contract type

Value in"ppa" | "day_ahead" | "intraday"
eic?string

Filter by buyer or seller EIC code

delivery_start?string

Filter: delivery start >= this value (ISO 8601)

Formatdate-time
delivery_end?string

Filter: delivery end <= this value (ISO 8601)

Formatdate-time
active_on?string

Filter contracts active on this date

Formatdate
limit?integer

Maximum number of items per page

Default10
Range1 <= value <= 100
after?string

Cursor for the next page — pass the next_cursor value from the previous response

Response Body

curl -X GET "https://api.otark.energy/v1/contracts?status=pending&type=ppa&eic=11YGREENENERGY-Z&delivery_start=2026-01-01T00%3A00%3A00Z&delivery_end=2026-03-31T23%3A45%3A00Z&active_on=2026-01-15&limit=10&after=con_a1b2c3d4"
{
  "contracts": [
    {
      "id": "con_a1b2c3d4",
      "external_id": "PPA-2025-0042",
      "type": "ppa",
      "status": "in_progress",
      "delivery_start": "2026-01-01T00:00:00Z",
      "delivery_end": "2026-03-31T23:45:00Z",
      "seller": {
        "name": "GreenCo Energy BV",
        "eic": "11YGREENENERGY-Z",
        "tso": "DE_TENNET"
      },
      "buyer": {
        "name": "GreenCo Energy BV",
        "eic": "11YGREENENERGY-Z",
        "tso": "DE_TENNET"
      },
      "ppa_type": "indexed",
      "period": "Q1-2026",
      "delivery_profile": "ENWEX Solar 2026",
      "asset": {
        "id": "ast_w1x2y3z4",
        "name": "Zonnepark De Wilgen",
        "nominal_power": 25,
        "technology": "solar",
        "tso": "DE_TENNET"
      },
      "created_at": "2024-11-20T10:00:00Z"
    }
  ],
  "pagination": {
    "limit": 10,
    "has_more": true,
    "next_cursor": "txn_k8m2p4q7r1"
  }
}

{
  "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."
}