Get Token Price

Allows users to fetch current token price in TRX and USD for a specific token (un-bonded) on SunPump.

This method is currently in development

Check back soon or follow our socials for updates

Endpoint

  • URL: /pumpfun/getTokenPrice

  • Method: GET

  • Content-Type: application/json

  • API Key Header: api-key: your-api-key

FieldTypeRequiredDescription

address

string

true

Token contract address

Example Request Body JSON

{
  "address": "TVccuknJqKjC6bzH9WyDBrZcbzbKWmoA71", // Token Contract Address
}

Example Response JSON

{
    "data": [{
    "priceInTRX": 0.0025,
    "priceInUSD": 0.0003735,
}], 
    "status": "success",
    "code": "200"
}

Last updated