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

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.

Inputs of Token Unlock Explorer
FieldTypeDefaultDescription
modeselect (schedule, vesting-wallet)"schedule"Mode
totalTokensnumber1000000Total tokens
symboltext"TOKEN"Token symbol
startDatedate"2026-01-01"Start / TGE date
cliffMonthsinteger12Cliff
durationMonthsinteger36Total vesting duration (from start, incl. cliff)
scheduleselect (linear, monthly, tranches)"monthly"Release type
tgePercentnumber10Unlocked at TGE
tranchestextarea—Tranches (custom). One "date, percent of total" per line.
asOfdate—As of date. Defaults to today.
chainselect (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc)"ethereum"Chain (on-chain mode)
vestingWallettext—VestingWallet address
tokentext—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)

{
  "mcpServers": {
    "token-unlock-explorer": { "type": "http", "url": "https://tokenunlockexplorer.usefulweb.site/mcp" }
  }
}