🪙 Tokens Endpoint
Overview
The /tokens/:mint
endpoint retrieves detailed information about a specific token by its mint address.
Endpoint
GET /tokens/:mint
URL Parameters
The request parameters should be included in the URL path:
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
mint | string | Yes | The mint public key of the token in base58 format. | 84tsMY...mtBe |
Response
A successful response will be a JSON object containing detailed information about the token. The response structure is as follows:
Property | Type | Description |
---|---|---|
status | number | Status code of the response. |
token | object | Object containing the token details. |
token.mint | string | The mint public key of the token. |
token.name | string | The name of the token. |
token.symbol | string | The symbol of the token. |
token.description | string | Description of the token. |
token.image_uri | string | URI to the image of the token. |
token.twitter | string | Twitter link associated with the token. |
token.telegram | string | Telegram link associated with the token. |
token.creator | string | Public key of the token creator. |
token.created_timestamp | number | Timestamp of when the token was created. |
token.raydium_pool | string | Raydium pool associated with the token, if any. |
token.complete | boolean | Indicates if the token information is complete. |
token.virtual_sol_reserves | number | Virtual SOL reserves associated with the token. |
token.virtual_token_reserves | number | Virtual token reserves associated with the token. |
token.website | string | Website link associated with the token. |
token.king_of_the_hill_timestamp | number | Timestamp for the king of the hill event. |
token.total_supply | number | Total supply of the token. |
token.reply_count | number | Number of replies associated with the token. |
token.last_reply | number | Timestamp of the last reply. |
token.nsfw | boolean | Indicates if the token is not safe for work. |
token.market_cap | number | Market capitalization of the token. |
token.usd_market_cap | number | USD market capitalization of the token. |
token.signature | string | Signature associated with the token data. |
token.timestamp | number | Timestamp of the token data retrieval. |
Code Examples
- JavaScript
- Python
- Curl
const fetch = require('node-fetch');
const url = "https://pumptrader.fun/tokens/84tsMYxkahysyP9c33gXGETphSZWSaT2wyeWmtBepump";
const response = await fetch(url)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
const data = await response.json();
import requests
url = "https://pumptrader.fun/tokens/8LtPMYxkahysyP9c3MgXGETphSZWSaT2wyeWmtBepump"
response = requests.get(url)
print(response.json())
curl -X GET https://pumptrader.fun/tokens/8LtPMYxkahysZP9c33gXGETphSZWSaT2wyeWmtBepump
Response Example
{
"status": 200,
"token": {
"mint": "8LtPMyskahysyT4c34gXGETphSZWSaT2wyeZneBepump",
"name": "Example",
"symbol": "Example",
"description": "Hey I'm the description!",
"image_uri": "https://cf-ipfs.com/ipfs/abcdef",
"twitter": "https://x.com/atwitter",
"telegram": "https://t.me/atelegram",
"creator": "7c77EeKgm1m9HABJZaFKqDqkDHPrEGG78XuDxbv8fwuz",
"created_timestamp": 1714569485446,
"raydium_pool": null,
"complete": false,
"virtual_sol_reserves": 103954526419,
"virtual_token_reserves": 309654628069397,
"website": "https://www.somewebsitefor.fun/",
"king_of_the_hill_timestamp": 1717569611937,
"total_supply": 1000000000000000,
"reply_count": 80,
"last_reply": 1717572240400,
"nsfw": false,
"market_cap": 335.711198851,
"usd_market_cap": 58484.247951832716,
"signature": "5T1AxQFXgypfwuwCZbZ2j3fGpi7hNcPqo9CxN94ZDxa2BGyY6yqbU19Znm5Ns95g5TPB75nkGswyYo6rKXpyhdFj",
"timestamp": 1716774359763
}
}