> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voyager.online/llms.txt
> Use this file to discover all available pages before exploring further.

# Get transfers of a token

> Lists transfers of one token across the whole network, newest first by default.

**Time window:** each request covers at most 90 days. Pass `timestampFrom` and `timestampTo` (unix seconds) to choose the window, or omit them for the latest 90 days. A longer window, or `timestampFrom` after `timestampTo`, returns `400`.

**Paging:**

1. Read `window` from the first response. It holds the window used.
2. Send it as `timestampFrom` and `timestampTo` on every following page, so the window stays fixed.
3. Pass the `id` of the last item as `id` while `hasMore` is `true`.

Unknown query parameters return `400`. Token, alias, and image metadata are best-effort and may be `null`.


## OpenAPI

````yaml /api-reference/openapi.json get /tokens/{address}/transfers
openapi: 3.1.0
info:
  title: Voyager Public API
  version: 1.0.0
  description: Query aggregated data from Starknet via the Voyager API.
  termsOfService: https://voyager.online/terms-of-use
  contact:
    name: Voyager Support
    url: https://voyager.online
servers:
  - url: https://public-api.voyager.online/beta
    description: Mainnet
  - url: https://public-sepolia-api.voyager.online/beta
    description: Sepolia Testnet
security:
  - ApiKeyAuth: []
paths:
  /tokens/{address}/transfers:
    get:
      tags:
        - Tokens
      summary: Get transfers of a token
      description: >-
        Lists transfers of one token across the whole network, newest first by
        default.
      operationId: listTokenTransfersOfToken
      parameters:
        - schema:
            type: string
            pattern: ^(0x[0-9a-fA-F]{1,66})$
            description: Token contract address (0x-prefixed hex).
          required: true
          description: Token contract address (0x-prefixed hex).
          name: address
          in: path
        - schema:
            type: integer
            exclusiveMinimum: 0
            default: 25
            description: 'Number of items per page. Available options: 10, 25, 50, 100.'
          required: false
          description: 'Number of items per page. Available options: 10, 25, 50, 100.'
          name: pageSize
          in: query
        - schema:
            type: string
            enum:
              - erc20
              - erc721
              - erc1155
            default: erc20
            description: >-
              Token standard to filter by: `erc20`, `erc721`, or `erc1155`.
              Defaults to `erc20`.
          required: false
          description: >-
            Token standard to filter by: `erc20`, `erc721`, or `erc1155`.
            Defaults to `erc20`.
          name: type
          in: query
        - schema:
            type:
              - number
              - 'null'
            minimum: 1609459200
            maximum: 2147483647
            description: >-
              Start of the time window (Unix seconds, inclusive), on or after
              2021-01-01. The window is at most 90 days; if only timestampTo is
              sent, it starts 90 days earlier.
          required: false
          description: >-
            Start of the time window (Unix seconds, inclusive), on or after
            2021-01-01. The window is at most 90 days; if only timestampTo is
            sent, it starts 90 days earlier.
          name: timestampFrom
          in: query
        - schema:
            type:
              - number
              - 'null'
            minimum: 0
            maximum: 2147483647
            description: >-
              End of the time window (Unix seconds, inclusive). If only
              timestampFrom is sent, it ends 90 days later. With neither, the
              latest 90 days are returned.
          required: false
          description: >-
            End of the time window (Unix seconds, inclusive). If only
            timestampFrom is sent, it ends 90 days later. With neither, the
            latest 90 days are returned.
          name: timestampTo
          in: query
        - schema:
            type: string
            pattern: ^[0-9a-f]{1,24}$
            description: >-
              Pass the `id` of the last item in the previous response to get the
              next page. Omit for the first page.
          required: false
          description: >-
            Pass the `id` of the last item in the previous response to get the
            next page. Omit for the first page.
          name: id
          in: query
        - schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
            description: 'Sort direction: ascending or descending. Defaults to descending.'
          required: false
          description: 'Sort direction: ascending or descending. Defaults to descending.'
          name: orderBy
          in: query
      responses:
        '200':
          description: Transfers of the token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenTransfersOfTokenResponse'
              example:
                items:
                  - blockNumber: 2156013
                    tokenAddress: >-
                      0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d
                    timestamp: 1759190340
                    transferFrom: >-
                      0x0213c67ed78bc280887234fe5ed5e77272465317978ae86c25a71531d9332a2d
                    transferTo: >-
                      0x01176a1bd84444c89232ec27754698e5d2e7e1a7f1539f12027f28b23ec9f3d8
                    transferValue: '12.5'
                    transferValueFormatted: '12.5'
                    txHash: >-
                      0x0577dbc31b2d6c9ee6ae0e0b5a0d64e7f0b1c3e5f7a9b2d4c6e8f0a1b3c5d7e9
                    callName: transfer
                    tokenName: Starknet Token
                    tokenSymbol: STRK
                    tokenDecimals: 18
                    blockHash: >-
                      0x03a5b8e1c7d2f4a6b9c0e2d4f6a8b0c2e4f6a8b0c2d4e6f8a0b2c4d6e8f0a1b2
                    fromAlias: null
                    toAlias: 'Ekubo: Core'
                    invocationType: execute
                    id: 0020e5ed0000004c00000003
                    tokenIcon: null
                hasMore: true
                window:
                  timestampFrom: 1751414340
                  timestampTo: 1759190340
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Forbidden - Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenResponse'
              example:
                message: Forbidden
        '429':
          description: Too Many Requests - Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitResponse'
              example:
                message: Limit Exceeded
components:
  schemas:
    TokenTransfersOfTokenResponse:
      type: object
      properties:
        items:
          type: array
          items:
            anyOf:
              - type: object
                properties:
                  blockNumber:
                    type:
                      - number
                      - 'null'
                  tokenAddress:
                    type:
                      - string
                      - 'null'
                  timestamp:
                    type:
                      - number
                      - 'null'
                  transferFrom:
                    type:
                      - string
                      - 'null'
                  transferTo:
                    type:
                      - string
                      - 'null'
                  transferValue:
                    type:
                      - string
                      - 'null'
                  transferValueFormatted:
                    type:
                      - string
                      - 'null'
                  txHash:
                    type:
                      - string
                      - 'null'
                  callName:
                    type:
                      - string
                      - 'null'
                  tokenName:
                    type:
                      - string
                      - 'null'
                  tokenSymbol:
                    type:
                      - string
                      - 'null'
                  tokenDecimals:
                    type:
                      - number
                      - 'null'
                  blockHash:
                    type:
                      - string
                      - 'null'
                  fromAlias:
                    type:
                      - string
                      - 'null'
                  toAlias:
                    type:
                      - string
                      - 'null'
                  fromDomain:
                    type:
                      - string
                      - 'null'
                  toDomain:
                    type:
                      - string
                      - 'null'
                  invocationType:
                    type:
                      - string
                      - 'null'
                  id:
                    type: string
                  tokenIcon:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Token logo (ERC-20) or collection logo (ERC-721/1155).
                      Best-effort metadata.
                required:
                  - blockNumber
                  - timestamp
                  - tokenDecimals
                  - id
                  - tokenIcon
              - type: object
                properties:
                  blockNumber:
                    type:
                      - number
                      - 'null'
                  tokenAddress:
                    type:
                      - string
                      - 'null'
                  timestamp:
                    type:
                      - number
                      - 'null'
                  transferFrom:
                    type:
                      - string
                      - 'null'
                  transferTo:
                    type:
                      - string
                      - 'null'
                  tokenId:
                    type:
                      - string
                      - 'null'
                  txHash:
                    type:
                      - string
                      - 'null'
                  callName:
                    type:
                      - string
                      - 'null'
                  tokenName:
                    type:
                      - string
                      - 'null'
                  tokenSymbol:
                    type:
                      - string
                      - 'null'
                  tokenDecimals:
                    type:
                      - number
                      - 'null'
                  blockHash:
                    type:
                      - string
                      - 'null'
                  fromAlias:
                    type:
                      - string
                      - 'null'
                  toAlias:
                    type:
                      - string
                      - 'null'
                  fromDomain:
                    type:
                      - string
                      - 'null'
                  toDomain:
                    type:
                      - string
                      - 'null'
                  invocationType:
                    type:
                      - string
                      - 'null'
                  id:
                    type: string
                  tokenIcon:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Token logo (ERC-20) or collection logo (ERC-721/1155).
                      Best-effort metadata.
                  itemImage:
                    type:
                      - string
                      - 'null'
                    description: Image of the transferred NFT. Best-effort.
                required:
                  - blockNumber
                  - timestamp
                  - tokenDecimals
                  - id
                  - tokenIcon
                  - itemImage
              - type: object
                properties:
                  blockNumber:
                    type:
                      - number
                      - 'null'
                  tokenAddress:
                    type:
                      - string
                      - 'null'
                  timestamp:
                    type:
                      - number
                      - 'null'
                  operator:
                    type:
                      - string
                      - 'null'
                  transferFrom:
                    type:
                      - string
                      - 'null'
                  transferTo:
                    type:
                      - string
                      - 'null'
                  dataLen:
                    type:
                      - number
                      - 'null'
                  ids:
                    anyOf:
                      - type:
                          - string
                          - 'null'
                      - type: array
                        items:
                          type:
                            - string
                            - 'null'
                      - type: 'null'
                  values:
                    anyOf:
                      - type:
                          - string
                          - 'null'
                      - type: array
                        items:
                          type:
                            - string
                            - 'null'
                      - type: 'null'
                  txHash:
                    type:
                      - string
                      - 'null'
                  callName:
                    type:
                      - string
                      - 'null'
                  tokenName:
                    type:
                      - string
                      - 'null'
                  tokenSymbol:
                    type:
                      - string
                      - 'null'
                  tokenDecimals:
                    type:
                      - number
                      - 'null'
                  blockHash:
                    type:
                      - string
                      - 'null'
                  fromAlias:
                    type:
                      - string
                      - 'null'
                  toAlias:
                    type:
                      - string
                      - 'null'
                  fromDomain:
                    type:
                      - string
                      - 'null'
                  toDomain:
                    type:
                      - string
                      - 'null'
                  invocationType:
                    type:
                      - string
                      - 'null'
                  id:
                    type: string
                  tokenIcon:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Token logo (ERC-20) or collection logo (ERC-721/1155).
                      Best-effort metadata.
                  itemImages:
                    type:
                      - array
                      - 'null'
                    items:
                      type:
                        - string
                        - 'null'
                    description: >-
                      Images aligned to `ids`, one per transferred token id.
                      Best-effort.
                required:
                  - blockNumber
                  - timestamp
                  - dataLen
                  - tokenDecimals
                  - id
                  - tokenIcon
                  - itemImages
        hasMore:
          type: boolean
          description: True when another page exists; pass the last item's id as `id`.
        window:
          type: object
          properties:
            timestampFrom:
              type: number
              description: Start of the window this page covers (Unix seconds).
            timestampTo:
              type: number
              description: End of the window this page covers (Unix seconds).
          required:
            - timestampFrom
            - timestampTo
          description: >-
            The window the request was bounded to. Send these values on every
            following page so the window stays fixed.
      required:
        - items
        - hasMore
        - window
    BadRequestResponse:
      type: object
      properties:
        error:
          type: string
          description: Validation error message
      required:
        - error
    ForbiddenResponse:
      type: object
      properties:
        message:
          type: string
          description: Authentication error message
      required:
        - message
    RateLimitResponse:
      type: object
      properties:
        message:
          type: string
          description: Rate limit exceeded message
      required:
        - message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Get your key at https://voyager.online/plans

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.