Browse docs

Quickstart

Last updated

The Vestream API gives you every vesting position we index (13 protocols across 13 chains, EVM and Solana) in one normalised schema, over HTTPS.

  1. 1Get a key on the API page: the free key is issued instantly, with no review. The free plan has 250 calls a month (50 a day); paid plans start at $49 a month.
  2. 2Your key is shown on screen straight away and emailed to you. It starts with vstr_live_. Confirm your email within 24 hours to keep it working.
  3. 3Send it as a Bearer token on every request.
Request
curl https://www.vestream.io/api/v1/wallet/0x3f5C…8b2e/upcoming-unlocks?days=30 \
  -H "Authorization: Bearer vstr_live_…"
Response
{
  "wallet": "0x3f5c…8b2e",
  "window_days": 30,
  "count": 1,
  "unlocks": [
    {
      "stream_id": "sablier-1-…",
      "protocol": "sablier",
      "chain_id": 1,
      "token_symbol": "VEST",
      "token_address": "0x…",
      "unlock_time": 1764547200,
      "unlock_type": "tranche",
      "amount_unlocking": "200000000000000000000000"
    }
  ]
}

Tip

Amounts are strings in the token's smallest unit (use token_decimals to scale). Times are Unix seconds, UTC.

Prefer the terminal? npm install -g @vestream/cli, vestream login, then vestream wallet 0x3f5C…8b2e. See Command line.