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

The response JSON returns the current price in SOL per token, total supply, pool name, and the Solana and token reserves

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