A token vesting API returns the vesting schedules behind a wallet or a token: what is locked, what is claimable now and when the next unlock lands. The Vestream API does this for 13 vesting platforms on 13 chains, EVM and Solana, in one normalised shape. You don't need to run a subgraph per protocol or learn each platform's contract layout.
This guide covers what the API returns, every endpoint, code samples in curl, JavaScript and Python, limits, and the mistakes that trip people up.
Why vesting data is hard to get
Every vesting platform stores schedules differently. Sablier uses per-second streams with optional tranches, Hedgey mints each plan as an NFT, UNCX and Team Finance run lockers, Superfluid streams continuously, and on Solana Streamflow and Jupiter Lock keep schedules in program accounts. To answer "what is vesting to this wallet?" yourself, you would query a different source for each platform on each chain, then reconcile the shapes.
The API does that work once. Each platform is read from its own contracts or indexer, checked against the chain, and mapped into one VestingStream shape with the same fields, units and ID format everywhere.
What you can build with it
- Portfolio and wallet apps: show locked and claimable tokens next to balances, which most trackers can't see.
- Tax and accounting tools: unlock dates and amounts are what your users' returns depend on.
- Alerts and bots: notify a wallet before its next unlock, or a community before a large supply event.
- AI agents: the same data is available as an MCP server, so an agent can answer vesting questions directly. See the MCP guide.
- Research and dashboards: token-level unlock schedules across every indexed platform.
The endpoints
24 endpoints in four groups: one token, the whole market, one wallet, and batches.
| Endpoint | Returns | Typical use |
|---|---|---|
| GET /token/{chainId}/{address}/summary | One-call overview: locked, upcoming unlocks, cancelable amount, recipients, market | Token pages, research |
| GET /token/{chainId}/{address}/unlocks | Locked now, daily linear release, unlocks due in a window | Unlock analysis |
| GET /token/{chainId}/{address}/locks | Every schedule, and whether the sender can cancel it | Lock checks |
| GET /token/{chainId}/{address}/recipients | Who receives the vesting, and each wallet's share | Concentration |
| GET /token/{chainId}/{address}/claims | Withdrawn to date, plus dated claims | Claim history |
| GET /token/{chainId}/{address}/unlocks/timeseries | Future unlocks per day, week or month | Charts |
| GET /token/{chainId}/{address}/unlocks/history | Past unlocks, priced at the time | Research, reporting |
| GET /token/{chainId}/{address}/schedule?asOf= | The vesting as it stood on a past date | Period-end reporting |
| GET /token/{chainId}/{address}/pressure | Unlocks against liquidity, volume and market cap | Risk views |
| GET /unlocks/upcoming | The unlock calendar across every token, with USD values | Alerts, calendars |
| GET /activity | New locks, claims and cancellations as they happen | Feeds |
| GET /locks/recent · /locks/cancelled | New schedules; schedules cancelled early | Feeds, warnings |
| GET /tokens/search · /tokens | Find a token; every token with active vesting | Search, browsing |
| GET /protocols · /chains · /stats | Coverage and index-wide figures | Coverage pages |
| GET /wallet/{address}/vestings | Every vesting position for a wallet | Portfolio views |
| GET /wallet/{address}/upcoming-unlocks | A wallet's unlocks in the next N days | Reminders |
| GET /wallet/{address}/income | Vesting income on both tax bases, in USD | Tax tools |
| GET /stream/{streamId} | One position in full | Detail views |
| POST /batch/tokens · /batch/wallets | Up to 25 tokens or wallets in one request | Watchlists |
The base URL is https://www.vestream.io/api/v1. Wallets can be EVM 0x addresses or Solana base58 pubkeys, and the API detects which. Every endpoint is documented in the developer docs, built from the OpenAPI 3.1 spec. Building something for yourself? See the guide for side projects.
Your first request
Get a free key instantly on Start building, then send it as a Bearer token:
curl "https://www.vestream.io/api/v1/wallet/0xYOUR_WALLET/vestings?active_only=true" \
-H "Authorization: Bearer vstr_live_YOUR_KEY"A trimmed response looks like this. Amounts are raw base-unit strings, because vesting amounts regularly exceed JavaScript's safe integer range:
{
"wallet": "0xyour_wallet",
"count": 1,
"pagination": { "total": 1, "limit": 100, "offset": 0, "next_offset": null },
"streams": [{
"id": "sablier-8453-4117",
"protocol": "sablier",
"chainId": 8453,
"tokenSymbol": "VEST",
"tokenDecimals": 18,
"totalAmount": "120000000000000000000000",
"claimableNow": "8250000000000000000000",
"lockedAmount": "90000000000000000000000",
"cliffTime": 1767225600,
"nextUnlockTime": 1767312000,
"isFullyVested": false
}]
}JavaScript
const res = await fetch(
`https://www.vestream.io/api/v1/wallet/${wallet}/upcoming-unlocks?days=30`,
{ headers: { Authorization: `Bearer ${process.env.VESTREAM_API_KEY}` } },
);
const { unlocks } = await res.json();
for (const u of unlocks) {
console.log(new Date(u.unlock_time * 1000).toISOString(), u.token_symbol, u.amount_unlocking);
}Python
import os, requests
r = requests.get(
f"https://www.vestream.io/api/v1/token/{chain_id}/{token}/unlocks",
params={"days": 90},
headers={"Authorization": f"Bearer {os.environ['VESTREAM_API_KEY']}"},
timeout=30,
)
r.raise_for_status()
print(r.json())Mistakes that trip people up
- Use the www host.
vestream.ioredirects towww.vestream.io, and most HTTP clients drop the Authorization header on a redirect, so the second request arrives without your key. - Divide by decimals. Every amount is in base units. Divide by
10^tokenDecimalsbefore you display it, using a big-number type rather than floats. - Don't lowercase Solana addresses. EVM addresses are case-insensitive; Solana base58 addresses are not. Pass them exactly as the wallet shows them.
- An empty list is not a guarantee. It means no indexed schedule matched, not that the wallet has none. Vesting on a platform we don't cover won't appear. Check
last_indexedfor how fresh the data is. - Claimable moves between refreshes. The API serves an index refreshed at least daily, not a live chain read. Read the contract before acting on a balance.
Coverage
The API reads 13 vesting platforms: Sablier, Hedgey, Superfluid, LlamaPay, UNCX, Unvest, Team Finance, PinkSale, HoodLock, Magna, Smithii, Streamflow and Jupiter Lock. It covers 13 chains, including Ethereum, Base, BNB Chain, Arbitrum, Optimism, Polygon, Avalanche, Robinhood Chain and Solana. Live coverage per platform and chain is on the status page, and each platform's numbers are on its protocol page.
Limits and plans
Free keys allow 250 calls a month (50 a day, 30 a minute) on every endpoint, which is plenty to build and test. Batch requests count one call per item. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers, and a 429 tells you which limit you hit. Paid plans add more calls and webhooks (upcoming and large unlocks, new locks, cancellations) pushed to your URL instead of you polling. Current plans are on the developer page.
Frequently Asked Questions
Is there a free token vesting API?
Yes. A free Vestream key covers every endpoint: 250 calls a month, 50 a day, enough to build and test an integration.
Which vesting platforms does the API cover?
13 platforms across 13 chains, including Sablier, Hedgey, Superfluid, UNCX, Team Finance, Magna, PinkSale, Streamflow and Jupiter Lock, EVM and Solana.
Does it work with Solana wallets?
Yes. Pass a Solana base58 address exactly as it appears; the API detects the ecosystem and returns Streamflow, Jupiter Lock and Smithii positions in the same shape as EVM ones.
Can I get a token's unlock schedule rather than a wallet's?
Yes. GET /token/{chainId}/{address}/unlocks returns how much of a token is locked across every indexed schedule, how fast linear streams release it, and the unlocks due in the next N days.
How fresh is the data?
The index refreshes at least daily, and each response includes last_indexed. Claimable amounts can move between refreshes, so read the contract before acting on a balance.
Can AI agents use it?
Yes. The same data is published as an MCP server, @vestream/mcp, which works with Claude, Cursor and any MCP client.