SolPump API
  • Welcome
  • Getting Started
    • Quickstart
    • API Key
  • Pumpfun
    • Buy/Sell
    • Balance
    • Price
    • Social Analyze | waiting
    • Bundle Analyze | waiting
    • Rug Check | waiting
    • Creator Analyze | waiting
  • Real Time Data
    • Monitor New Token | waiting
    • Monitor Account Trading | waiting
  • Help
    • Support
    • Fee
Powered by GitBook
On this page
  • Buy
  • Sell
  1. Pumpfun

Buy/Sell

Buy

GET /pumpfun/buy

Headers

Name
Value

x-api-key

Your API Key

Body

Name
Type
Description

buyerKey

string

Buyer Private Key

mint

string

Target Token Address

buyAmountSol

string

0.1

priorityFees

string

0.003

slippageBasisPoints

sting

5000 = 50%

Response

{
    "status": "success",
    "signature": ""
}
{
  "error": "Invalid request"
}

Sell

GET /pumpfun/sell

Headers

Name
Value

x-api-key

Your API Key

Body

Name
Type
Description

sellerKey

string

Buyer Private Key

mint

string

Target Token Address

sellPercent

string

100

priorityFees

string

0.003

slippageBasisPoints

sting

5000 = 50%

Response

{
    "status": "success",
    "signature": ""
}
{
  "error": "Invalid request"
}
PreviousAPI KeyNextBalance

Last updated 7 months ago