SUBSCRIBE_TOKEN_NEW_LISTING
Subscribing to Real-Time token new listing (SUBSCRIBE_TOKEN_NEW_LISTING)
The "SUBSCRIBE_TOKEN_NEW_LISTING" event allows you to receive real-time updates about new token listings. This subscription is useful for tracking new tokens being added on a requested blockchain.
The instructions for each type of objects are described below.
WebSocket URL:
wss://public-api.birdeye.so/socket/solana?x-api-key=YOUR-API-KEY
Header
Key | Value |
---|---|
Origin | ws://public-api.birdeye.so |
Sec-WebSocket-Origin | ws://public-api.birdeye.so |
Sec-WebSocket-Protocol | echo-protocol |
Message
{
"type": "SUBSCRIBE_TOKEN_NEW_LISTING"
}
Output Example
{
"type": "TOKEN_NEW_LISTING_DATA",
"data": {
"address": "BkQfwVktcbWmxePJN5weHWJZgReWbiz8gzTdFa2w7Uds",
"decimals": 6,
"name": "Worker Cat",
"symbol": "$MCDCAT",
"liquidity": "12120.155172280874",
"liquidityAddedAt": 1720155863
}
}
Response Parameters:
Key | Data Type | Details | Example |
---|---|---|---|
address | string | The token address. | "BkQfwVktcbWmxePJN5weHWJZgReWbiz8gzTdFa2w7Uds" |
decimals | integer | The number of decimal places for the token. | 6 |
name | string | The name of the token. | "Worker Cat" |
symbol | string | The symbol of the token. | "$MCDCAT" |
liquidity | string | The current liquidity of the token. | "12120.155172280874" |
liquidityAddedAt | integer | The Unix timestamp when liquidity was added. | 1720155863 |
Updated 4 months ago