Skip to main content

🔥 Burn Tokens – API

Use this endpoint to permanently remove tokens from circulation.
Burning is irreversible — double‑check your parameters before sending the call.

Endpoint​

POST https://api.pumpapi.io

Request Body​

FieldDescription
privateKeyWallet that owns the tokens
actionMust be "burn"
mintMint address of the token
amountAmount to burn. '100%' burns all available balance of the token
priorityFeeOptional extra fee in SOL to speed up the transaction

The response returns the burn transaction signature once confirmed.

📦 Code Examples​

import requests

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

data = {
"privateKey": "private_key",
"action": "burn",
"mint": "mint_address",
"amount": "100%", # burn all tokens
"priorityFee": 0.000001
}

response = requests.post(url, json=data)
print(response.json()) # {'signature': '...'}