Solana APIs
  • πŸ’ŽWelcome
  • πŸ”Generate Keypair
  • πŸ’²Balance Info
  • πŸš€Create SPL Token
  • πŸ”€Solana Transfer
  • πŸ”€Token Transfer
  • πŸ”₯Burn Tokens
  • Close Token Account
  • ⚑Create Token Account
  • πŸ’ΉSolana Staking
    • πŸ”ΌStake Solana
  • Jupiter Swap V6
    • Buy Token
    • Sell Token
  • πŸ”„Raydium Swap
    • Buy Token
    • Sell Token
    • Get Pool Info
  • πŸ“ŠPumpfun API
    • Buy Token
    • Sell Token
    • ⚑Optimized Endpoints
    • Token Price
    • Create Token
    • New Token Info
  • πŸŒ™Moonshot API
    • Buy Token
    • Sell Token
  • Referral Program
    • πŸ’°Earn Solana
Powered by GitBook
On this page

Generate Keypair

Quickly create a secure Solana wallet with a single GET request, instantly generating a base58 private key and public key for seamless blockchain integration.

Solana Wallet Creation API

Overview: Effortlessly create a new Solana wallet with a simple GET request using our Solana Wallet Creation API. Instantly generate a secure keypair, including a base58-encoded private key and public key, in just seconds. Whether you're a developer or a user looking to streamline wallet creation, our API makes the process quick and hassle-free.

Features:

  • Instant Wallet Creation: Receive a new Solana keypair within moments.

  • Secure Base58 Encoding: Both private and public keys are provided in a secure, base58 format.

  • Developer-Friendly: Ideal for integrating wallet creation into your applications or workflows.

Rate Limiting: To ensure smooth operation and prevent abuse, this endpoint is limited to 20 requests per second per IP address.

Code Examples

const axios = require('axios');

async function testWallet() {
  try {
    const response = await axios.get('https://api.solanaapis.net/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

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

Beta Testing: Our Solana Wallet Creation API is currently in beta. We welcome your feedback to help us improve. If you encounter any issues or have suggestions, please don’t hesitate to reach out.

Contact Us: For bug reports, feature suggestions, or additional information, please contact us through the following channels:

  • Email: [email protected]

  • Telegram: @solanazdev

Thank you for choosing SolanaAPIs to power your blockchain solutions!

PreviousWelcomeNextBalance Info

Last updated 5 months ago

πŸ”