To fetch the token metadata about a Pump token such as name, ticker, image etc.

Send a GET request to:

https://pumpapi.fun/api/get_metadata/9QUYvUGiqCALxrMCyJrVYXtJSpt4BYzPRv5ZRjsdqzkh

Below shows the response from the API Endpoint:

Response
{
  "success": true,
  "message": "Tokens info",
  "result": {
    "name": "BARRON",
    "symbol": "BARRON",
    "description": "$Barron is being coronation!",
    "image": "https://cf-ipfs.com/ipfs/QmNLoZLoo47z4QcBKWPXYJEL7LX38Fu6EcqH5f2P8cAURv",
    "decimals": 6,
    "address": "9QUYvUGiqCALxrMCyJrVYXtJSpt4BYzPRv5ZRjsdqzkh",
    "mint_authority": "",
    "freeze_authority": "",
    "current_supply": 965838274.841946,
    "extensions": []
  }
}

Error Codes

  • 400 Bad Request: Invalid request parameters or missing required fields.
  • 401 Unauthorized: Authentication failed.
  • 404 Not Found: The requested resource (endpoint) is not found.
  • 429 Too Many Requests: Rate limit exceeded.
  • 500 Internal Server Error: Unexpected server-side error.

API Codes

  • 200 OK: The request was successful.