Get Token Details
This API endpoint fetches token details from SunPump, providing metadata (e.g., name, symbol, URLs) and dynamic data (e.g., market stats, price).
Note: You must provide a valid API key in the request headers to access this endpoint.
Endpoint
URL:
/pumpfun/getTokenDetails
Method:
POST
Content-Type:
application/json
API Key Header:
api-key: your-api-key
Request Body
address (string, required): The contract address of the token you want to retrieve details for.
Example Request Body JSON
Example Request
Example Response JSON
Example Error JSON
Missing address parameter (400)
Failed to fetch token details (500)
Last updated
Was this helpful?