Browse docs

Batch requests

Last updated

POST /batch/tokens
curl -X POST https://www.vestream.io/api/v1/batch/tokens \
  -H "Authorization: Bearer vstr_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "tokens": [{ "chain_id": 8453, "address": "0x7a1c…4e9d" }, { "chain_id": 101, "address": "JUPy…vCN" }] }'

Send up to 25 tokens (token summaries) or 25 wallets (vesting positions) in one request.

POST /batch/wallets body
{ "wallets": ["0x3f5C…8b2e", "So1…"], "active_only": true }

Note

Each item counts as one call against your plan, the same as calling the single endpoint 25 times. An item that fails comes back with an error; the rest still return.