Create a New Wallet and API Key
You can programmatically create new wallets and linked api keys by sending a GET request to:
https://pumpportal.fun/api/create-wallet
Examples
- Python
- JavaScript
- CURL
import requests
response = requests.get(url="https://pumpportal.fun/api/create-wallet")
# JSON with keys for a newly generated wallet and the linked API key
data = response.json()
const response = await fetch("https://pumpportal.fun/api/create-wallet", {
method: "GET",
});
// JSON Object with keys for a newly generated wallet and the linked API key
const data = await response.json();
curl -L \
-X GET \
'https://pumpportal.fun/api/create-wallet'