token transfer
https://pro-api.solscan.io/playground/token/transfer
Get transfer data of a token
QUERY PARAMS
address
string
required
A token address on solana blockchain
activity_type
array
Type of transfer data
from
string
Filter transfer data with direction is from one/multi address. You can filter by multiple addresses by separating them with commas. Example: ?from=address1,address2. Maximum 5 addresses
exclude_from
string
Filter transfer data with direction is not from one/multi address. You can filter by multiple addresses by separating them with commas. Example: ?exclude_from=address1,address2. Maximum 5 addresses
to
string
Filter transfer data with direction is to one/multi address. You can filter by multiple addresses by separating them with commas. Example: ?to=address1,address2. Maximum 5 addresses
exclude_to
string
Filter transfer data with direction is not to one/multi address. You can filter by multiple addresses by separating them with commas. Example: ?exclude_to=address1,address2. Maximum 5 addresses
amount
array
Filter transfer data by by amount. But you need to pass token address first because amount filter will be belong to one token address. Ex: Filter amount from 1 to 2 SOL ?amount[]=1&amont[]=2&token=So11111111111111111111111111111111111111112
Maximum allowed values: 2
from_time
number
Filter by time range (Unix timestamp in seconds). Example: ?from_time=1720153259&to_time=1720153276
to_time
number
Filter by time range (Unix timestamp in seconds). Example: ?from_time=1720153259&to_time=1720153276
exclude_amount_zero
boolean
Excludes transfer that has amount is zero
value
array
Filter by value range (dollar). Example: ?value[]=1&value[]=10
Maximum allowed values: 2
page
number
Page number for pagination
page_size
number
Number items per page
sort_by
string
The parameter allows you to specify the field by which the returned list will be sorted
sort_order
string
The parameter allows you to specify the sort order
block_time
array
Used when you want to filter data by block time. Format time: UnixTime in seconds. You need to pass array into http query to filter by start and stop block_time. Example: ?block_time[]=1720153259&block_time[]=1720153276
Maximum allowed values: 2
RESPONSES
200
OK
Response Body
success
boolean
Status of Api
block_id
number
Slot Number of activity
trans_id
string
Transaction Hash or Signature for activity
block_time
number
UnixTime of the slot
time
string
Time of the slot
activity_type
string
Type of transfer.
from_address
string
Transfer from an address
to_address
string
Transfer to an address
token_address
string
The address of the token transferring
token_decimals
number
Decimal of token address
amount
number
Transfer amount. You need to divide token_decimals to get real amount.
400
Bad Request
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
401
Authentication failed
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
429
Too Many Requests
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
500
Internal Server Error
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error