Get contract token transfers
Retrieve token transfers for a contract.
Time-window rules (checked in this order):
- If the contract has no transfer activity at all, an empty response is returned with
range.startTimestampandrange.endTimestampset tonull. timestampFrommust be ≤timestampTo, otherwise a 400 error is returned.- Every user-provided timestamp must fall within the contract’s activity range (
range.startTimestamp…range.endTimestamp). If any provided timestamp is outside, an emptyitemsarray is returned together with therangeobject — use it to discover the valid window. - When both are provided, the span must not exceed 90 days, otherwise a 400 error is returned.
Defaults when only one timestamp is provided:
- Only
timestampFrom(must be inside the activity range) →timestampTodefaults tomin(lastTransfer, timestampFrom + 90 days). - Only
timestampTo(must be inside the activity range) →timestampFromdefaults tomax(firstTransfer, timestampTo − 90 days). - Neither provided → the latest 90 days of activity.
Every response includes a range object with the contract’s first and latest transfer timestamps. Use range to page through the full history.
Authorizations
API key for authentication. Get your key at https://voyager.online/plans
Path Parameters
Starknet contract address (0x-prefixed hex).
^(0x[0-9a-fA-F]{1,66})$Query Parameters
Number of items per page. Available options: 10, 25, 50, 100.
Token standard to filter by: "erc20", "erc721", or "erc1155". Defaults to "erc20".
erc20, erc721, erc1155 Filter by sender address (0x-prefixed hex).
Filter by recipient address (0x-prefixed hex).
Filter by token symbol (e.g. ETH, STRK).
Token contract address (0x-prefixed hex).
^(0x[0-9a-fA-F]{1,66})$Unix timestamp (seconds) for the start of the query window (inclusive). Must be within the contract's transfer activity range, available in the response range object. If omitted, it is derived automatically from timestampTo (up to 90 days back or the contract's first transfer). The window between timestampFrom and timestampTo must not exceed 90 days.
Unix timestamp (seconds) for the end of the query window (inclusive). Must be within the contract's transfer activity range, available in the response range object. If omitted, it is derived automatically from timestampFrom (up to 90 days forward or the contract's last transfer). The window between timestampFrom and timestampTo must not exceed 90 days.
Transaction execution phase: VALIDATE, EXECUTE, FEE_TRANSFER, ALL_EXCEPT_FEE_TRANSFER (ERC-20 only: hide fee-phase transfers), or ALL (no filter). Defaults to ALL.
Cursor for keyset pagination. Pass the id from the last item of the previous response to fetch the next page.
Sort direction: ascending or descending. Defaults to descending.
asc, desc Response
A paginated list of token transfers within the resolved time window, along with the contract's full activity range.
Token transfer records for the requested window.
- Option 1
- Option 2
- Option 3
True when additional pages are available. Pass the last item's id to fetch the next page.
The contract's full transfer activity range. Use these values to construct follow-up queries.