GET
/
token-unlocks
/
v1
/
assets
/
{assetId}
/
events
Get Events by Asset ID
curl --request GET \
  --url https://api.messari.io/token-unlocks/v1/assets/{assetId}/events \
  --header 'X-Messari-API-Key: <api-key>'
{
  "data": {
    "asset": {
      "id": "aSDinaTvuI8gbWludGxpZnk=",
      "name": "<string>",
      "slug": "<string>",
      "symbol": "<string>"
    },
    "unlockEvents": [
      {
        "cliff": {
          "allocations": [
            {
              "allocationRecipient": "<string>",
              "amountNative": 123,
              "amountUSD": 123,
              "percentOfTotalAllocation": 123
            }
          ],
          "amountNative": 123,
          "amountUSD": 123,
          "percentOfTotalAllocation": 123
        },
        "dailyLinearRateChange": {
          "allocations": [
            {
              "allocationRecipient": "<string>",
              "dailyAmountNative": 123,
              "dailyAmountUSD": 123,
              "nextDailyAmountNative": 123,
              "nextDailyAmountUSD": 123,
              "nextPercentOfTotalAllocation": 123,
              "percentChangeOfRate": 123,
              "percentOfTotalAllocation": 123
            }
          ],
          "dailyAmountNative": 123,
          "dailyAmountUSD": 123,
          "nextDailyAmountNative": 123,
          "nextDailyAmountUSD": 123,
          "nextPercentOfTotalAllocation": 123,
          "percentChangeOfRate": 123,
          "percentOfTotalAllocation": 123
        },
        "timestamp": "2023-11-07T05:31:56Z"
      }
    ]
  },
  "error": "<string>"
}

Authorizations

X-Messari-API-Key
string
header
required

Path Parameters

assetId
string
required

Asset ID to look up events by

Query Parameters

startTime
string<date-time>

RFC3339 formatted start time

endTime
string<date-time>

RFC3339 formatted end time

unlockType
enum<string>
Available options:
CLIFF,
LINEAR

Response

200
application/json

Default response

The response is of type object.