Skip to content

endpoints / trade

Price Impact API

How much the price moves if you buy 0.1, 1 or 5 SOL of the coin right now.

GET/v1/memecoin/token/:mint/price-impact

Price
$0.003 / call
Free
first 100 calls a day
Freshness
up to 15 s old
Auth
Bearer key

Try it

A real call, charged like any other. Edit anything and run it.

Response

{
  "mint": "8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump",
  "sizes": [
    {
      "buy_sol": 0.1,
      "tokens": 425191.367603,
      "price_impact_pct": 1.49,
      "route": [
        "Pump.fun Amm"
      ]
    },
    {
      "buy_sol": 1,
      "tokens": 4193717.658219,
      "price_impact_pct": 2.84,
      "route": [
        "Pump.fun Amm"
      ]
    },
    {
      "buy_sol": 5,
      "tokens": 19766185.216798,
      "price_impact_pct": 8.41,
      "route": [
        "Pump.fun Amm"
      ]
    }
  ],
  "source": "Jupiter's public quote API. price_impact_pct is how far the buy moves the price, in percent."
}

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

Copy it

Runs as-is with your key in place of c2a_your_key. The snippets follow the inputs above.

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

Parameters

NameInTypeRequiredWhat it isExample
mintpathstringyesThe coin's mint address.8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump

The answer

Always { data, cost_usd, balance_usd, cached, request_id }. cost_usd is what this call was charged (0 while you are inside the free 100); cached: true means the answer was shared with another caller and may be up to 15 s old. A fact the API could not read is left out or named, never estimated.

More in Trade