API & MCP
Everything a person can do on Token Unlock Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://tokenunlockexplorer.usefulweb.site/api/v1/calculate– run Token Unlock ExplorerGET https://tokenunlockexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Token Unlock Explorer
Builds a token unlock schedule from its parameters — total, start, cliff, duration, linear / monthly / custom tranches and TGE percentage — and shows unlocked vs. locked amounts on any date and the next unlock. On-chain mode reads an OpenZeppelin VestingWallet (start, duration, released, releasable) and compares the schedule with what was actually released.
| Field | Type | Default | Description |
|---|---|---|---|
mode | select (schedule, vesting-wallet) | "schedule" | Mode |
totalTokens | number | 1000000 | Total tokens |
symbol | text | "TOKEN" | Token symbol |
startDate | date | "2026-01-01" | Start / TGE date |
cliffMonths | integer | 12 | Cliff |
durationMonths | integer | 36 | Total vesting duration (from start, incl. cliff) |
schedule | select (linear, monthly, tranches) | "monthly" | Release type |
tgePercent | number | 10 | Unlocked at TGE |
tranches | textarea | — | Tranches (custom). One "date, percent of total" per line. |
asOf | date | — | As of date. Defaults to today. |
chain | select (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc) | "ethereum" | Chain (on-chain mode) |
vestingWallet | text | — | VestingWallet address |
token | text | — | Token address (blank = native coin) |
Example request
10 % TGE, 12-month cliff, monthly over 36 months
curl -X POST https://tokenunlockexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"mode":"schedule","totalTokens":1000000,"symbol":"ABC","startDate":"2026-01-01","cliffMonths":12,"durationMonths":36,"schedule":"monthly","tgePercent":10,"asOf":"2027-03-15"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://tokenunlockexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
token_unlock_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=token-unlock-explorer
{
"mcpServers": {
"token-unlock-explorer": { "type": "http", "url": "https://tokenunlockexplorer.usefulweb.site/mcp" }
}
}