Skip to main content

🪙 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:

ParameterTypeRequiredDescriptionExample
mintstringYesThe 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:

PropertyTypeDescription
statusnumberStatus code of the response.
tokenobjectObject containing the token details.
token.mintstringThe mint public key of the token.
token.namestringThe name of the token.
token.symbolstringThe symbol of the token.
token.descriptionstringDescription of the token.
token.image_uristringURI to the image of the token.
token.twitterstringTwitter link associated with the token.
token.telegramstringTelegram link associated with the token.
token.creatorstringPublic key of the token creator.
token.created_timestampnumberTimestamp of when the token was created.
token.raydium_poolstringRaydium pool associated with the token, if any.
token.completebooleanIndicates if the token information is complete.
token.virtual_sol_reservesnumberVirtual SOL reserves associated with the token.
token.virtual_token_reservesnumberVirtual token reserves associated with the token.
token.websitestringWebsite link associated with the token.
token.king_of_the_hill_timestampnumberTimestamp for the king of the hill event.
token.total_supplynumberTotal supply of the token.
token.reply_countnumberNumber of replies associated with the token.
token.last_replynumberTimestamp of the last reply.
token.nsfwbooleanIndicates if the token is not safe for work.
token.market_capnumberMarket capitalization of the token.
token.usd_market_capnumberUSD market capitalization of the token.
token.signaturestringSignature associated with the token data.
token.timestampnumberTimestamp of the token data retrieval.

Code Examples

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();

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
}
}