Skip to main content
GET
Get contract token transfers
Choosing the window:
  • Neither timestamp sent: the latest 90 days of activity.
  • Only timestampFrom: the window ends 90 days later, or at the latest transfer if that comes sooner.
  • Only timestampTo: the window starts 90 days earlier, or at the first transfer if that comes later.
  • Both sent: they can be at most 90 days apart, and timestampFrom must not be after timestampTo. Otherwise the API returns 400.
The range object: every response includes range, with the timestamps of the contract’s first and latest transfer. Use it to page through the full history.
  • If a timestamp you send falls outside range, the response has empty items.
  • If the contract has no transfers, both range values are null.
Within a window, pass the id of the last item as id while hasMore is true.

Authorizations

x-api-key
string
header
required

API key for authentication. Get your key at https://voyager.online/plans

Path Parameters

contractAddress
string
required

Starknet contract address (0x-prefixed hex).

Pattern: ^(0x[0-9a-fA-F]{1,66})$

Query Parameters

pageSize
integer
default:25

Number of items per page. Available options: 10, 25, 50, 100.

type
enum<string>
default:erc20

Token standard to filter by: erc20, erc721, or erc1155. Defaults to erc20.

Available options:
erc20,
erc721,
erc1155
from
string | null

Filter by sender address (0x-prefixed hex).

to
string | null

Filter by recipient address (0x-prefixed hex).

symbol
string | null

Filter by token symbol, matched exactly and case-insensitively (e.g. ETH, STRK).

tokenAddress
string | null

Token contract address (0x-prefixed hex).

Pattern: ^(0x[0-9a-fA-F]{1,66})$
timestampFrom
number | null

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.

Required range: 0 <= x <= 2147483647
timestampTo
number | null

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.

Required range: 0 <= x <= 2147483647
invocationType
string | null
default:ALL

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.

id
string

Pass the id of the last item in the previous response to get the next page. Omit for the first page.

orderBy
enum<string>
default:desc

Sort direction: ascending or descending. Defaults to descending.

Available options:
asc,
desc

Response

A paginated list of token transfers within the resolved time window, along with the contract's full activity range.

items
object[]
required

Token transfer records for the requested window.

hasMore
boolean
required

True when additional pages are available. Pass the last item's id to fetch the next page.

range
object
required

The contract's full transfer activity range. Use these values to construct follow-up queries.