Otark APIEndpoints

Get assets

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

In: header

Query Parameters

page?number

Page number

Default1
Range1 <= value
limit?number

Items per page

Default10
Range1 <= value <= 100

Response Body

curl -X GET "https://api.otark.com/v1/assets?page=1&limit=10"
{
  "assets": [
    {
      "id": "ast_R4YRVPVqVqX2tbLu4jKGR",
      "name": "Green Energy Package",
      "assetType": "WIND",
      "nominalPower": 500,
      "averageAnnualPower": 4500,
      "deliveryStart": "2000-01-01T00:00:00.000Z",
      "ppaType": "PAY_AS_NOMINATED",
      "additionalInfo": "Includes maintenance and support",
      "state": "Berlin",
      "country": "DE",
      "coverUrl": "https://cdn.otark.com/asset-covers/abc.jpg",
      "pricing": [
        {
          "years": 15,
          "price": 14.55
        }
      ]
    }
  ]
}