Skip to content

Sell Test API

Whether you could sell right now: quotes a 0.1 SOL buy and selling it straight back.

GET/v1/memecoin/token/:mint/sell-test

You send

  • mint The coin's mint address

You get back

JSON with these fields, inside data:

can_buy, can_sell, spend_sol, tokens, sol_back, round_trip_loss_pct, …

Example and every field explained ↓

It costs

$0.003 / call

The first 100 priced calls a day are free on every key.

Freshness
up to 30 s old
Auth
Bearer key
Chains
Solana
curl "https://api.crypto2api.com/v1/memecoin/token/8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump/sell-test" \
  -H "Authorization: Bearer c2a_your_key"

Swap in your key for c2a_your_key. No key yet? curl -X POST https://api.crypto2api.com/v1/keys makes one, free, no sign-up, or just press Run below.

Used forCheck if it's safeBuy & sell

Solana only. This endpoint takes no chain parameter — sending one is a 400.

Parameters

Required first. Each example is a value that works.

Response

Every answer is { data, cost_usd, balance_usd, cached, request_id }. Below is a real data from this endpoint, read when the page was built.

Example data

"mint": "8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump",
"can_buy": true,
"can_sell": true,
"spend_sol": 0.1,
"tokens": 425191.367603,
"sol_back": 0.097133477,
"round_trip_loss_pct": 2.87,
"buy_impact_pct": 1.49,
"sell_impact_pct": 1.3,
"Pump.fun Amm"
],
"verdict": "sellable: a round trip costs under 10%",
"note": "Quotes only: nothing is bought. Fees and slippage are included in the loss; a token with a transfer hook may still fail when sent.",
"source": "Jupiter's public quote API."
}

Key fields

can_buyboolean
Whether a buy went through in simulation.
can_sellboolean
Whether a sell went through in simulation.
spend_solnumber
Spend, in SOL.
tokensnumber
The list of tokens; each item has the fields shown.
sol_backnumber
Sol back.
round_trip_loss_pctnumber
Round trip loss, in %.
buy_impact_pctnumber
Buy impact, in %.
sell_impact_pctnumber
Sell impact, in %.
routearray
Which pools the trade goes through.
verdictstring
The score in words.
3 more fields
mintstring
The coin's mint address (its contract address on Solana).
notestring
A plain sentence about how to read this answer.
sourcestring
Where the numbers were read from.
The wrapper every answer comes in
data
The answer itself: the example above.
cost_usd
What this one call was charged — 0 while you are inside the free 100 a day.
balance_usd
What is left on the key after it.
cached
true means another caller asked first, so the answer may be up to 30 s old.
request_id
Quote this if you report something; it is on your Activity page too.

A fact the API could not read is left out or named, never estimated. When an upstream is down you get a 503 with a stable code you can branch on, not a half-filled answer.

Try it

A real call against the live API. The first 100 priced calls a day are free.

Response

"mint": "8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump",
"can_buy": true,
"can_sell": true,
"spend_sol": 0.1,
"tokens": 425191.367603,
"sol_back": 0.097133477,
"round_trip_loss_pct": 2.87,
"buy_impact_pct": 1.49,
"sell_impact_pct": 1.3,
"Pump.fun Amm"
],
"verdict": "sellable: a round trip costs under 10%",
"note": "Quotes only: nothing is bought. Fees and slippage are included in the loss; a token with a transfer hook may still fail when sent.",
"source": "Jupiter's public quote API."
}

What this example answered when the page was built, shortened. Run it for a live answer.

Copy it

Runs as-is, with your key in place of c2a_your_key. It follows the boxes above.

curl "https://api.crypto2api.com/v1/memecoin/token/8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump/sell-test" \
  -H "Authorization: Bearer c2a_your_key"

Related

More in Safety

All endpoints →