🔴Sell Token

Sell Token at market rate

API https://api.autosnipe.ai/sniper-api/token/sell

Request Method Post

Request Headers

NameValue

x-autosnipe-apikey

<YOUR_API_KEY>

x-autosnipe-signature

generated Signature

Content-Type

'application/json'

Request Params

NameTypeDescription

amount*

number

amount in SOL to be sold

token_address*

string

token address to sell

chain_id*

number

0 - Solana

platform*

number

0 - Raydium 1 - Pump.fun 2 - Moonshot

jito_tip

number

tip for faster confirmation in SOL

Response Params

{
    "status": 1,
    "message": "Please wait while your transaction is getting processed.",
    "data": {
        "orderID": <order_id_number>
    }
}
let body = {amount, jito_tip, token_address, platform, chain_id}
callAuthAPI("/token/sell", body, "POST")

Last updated