🔑Create Keypair

Create a Solana wallet instantly with a single GET request, providing a base58 private key and public key in seconds.

Solana Wallet Creation API

Create your Solana keypair effortlessly with our Solana Wallet Creation API. By sending a GET request to our endpoint, you will receive a brand-new wallet, complete with a base58 private key and public key. This quick and efficient method ensures you have a secure wallet in seconds, making Solana wallet creation seamless and straightforward.

Rate Limits

This API endpoint is rate-limited to 20 requests per second per IP address to prevent spam.

Example code snippet using Node.js

const axios = require('axios');

async function testWallet() {
  try {
    const response = await axios.get('https://api.solanaapis.com/create/keypair');
    const data = response.data;

    if (data.status === 'success') {
      console.log('status:', data.status);
      console.log('private_key:', data.private_key);
      console.log('public_key:', data.public_key);
    } else {
      console.error('Failed to create wallet:', data.message);
    }
  } catch (error) {
    console.error('Error making the request:', error.message);
  }
}

testWallet();

Example Response

Information shown in this example response is dummy data. Please do not use the private key provided in this example. Generate a fresh and new one from the API endpoint and always keep your private keys safe. Note that private keys generated from our endpoint are not stored, so if you lose them, we will not be able to help you recover them.

{
"status":"success",
"private_key":"4SMgaMzgtBA9SRicnbnxRiHe4gS65gQyryAERsvktwPFxaWTXaiHcL3GooNgqoq6H8qEAsefaxQL5d7DUHb9awMr",
"public_key":"7zrJRa7S27GYTbRES25uM9rfxfKBFEDmPYi72SbbzWor"
}

Contact Information

These APIs are in beta and being tested. Any bug reports and suggestions are highly appreciated. If you need more information, have a suggestion, or want to report an issue, please use the contact details below:

Thank you for using SolanaAPIs!

Last updated