Skip to main content

Get Token Info – API

Use this endpoint to request the current on‑chain token info of any token by its mint address.

Heads‑up!
• We charge a fixed fee of 10,000 lamports.
• For real‑time prices you can use our WebSocket stream.

Endpoint

POST https://api.pumpapi.io

Request Body

FieldDescription
privateKeyFee wallet
actionMust be "getTokenInfo"
mintMint address of the token
quoteMintYou need to provide this if the token exists only in pools where the second token is not Solana
poolIdProvide this to get info about a specific pool

The response JSON returns the current price in SOL per token, total supply, pool name, decimals, burned liquidity, and the reserves of Solana (or another quote token) and the token. If a token has multiple pools, we return data from the largest one.

📦 Code Examples

import requests

url = "http://api.pumpapi.io"

data = {
"privateKey": "your_private_key", # fee taken from this wallet
"action": "getTokenInfo",
"mint": "token_address",
}

response = requests.post(url, json=data)
print(response.json()) # {"price":2.795899348462258e-8,"pool":"pump","vTokensInBondingCurve":1072999999.999999,"vSolInBondingCurve":30.000000009,"supply":1000000000,"timestamp":1753230239232}