Trade Quote
What a buy or sell of this coin gets you right now: expected amount, price impact, route and fees.
POST /v1/memecoin/quote
- Chains
- +2on 8 chains; pick one with
chain. The answer has the same shape on every one. - Price
- Each call costs $0.002. Your first 100 priced calls each day are free, so you can try it before adding credits.
- Freshness
- Computed fresh on every call.
- Answer
- Always
{ data, cost_usd, balance_usd, cached, request_id }.
Parameters
| Name | Type | Required | What it is | Example |
|---|---|---|---|---|
| mintbody | string | yes | The coin's mint address. | 8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump |
| amountbody | number | yes | SOL to spend for a buy; tokens to sell for a sell. | 0.1 |
| sidebody | string | no, default buy | "buy" (spend SOL) or "sell" (sell tokens). | buy |
| slippage_bpsbody | number | no, default 500 | Most the price may move before the swap fails, in basis points (100 = 1%). | 500 |
| chainbody | string | no, default solana | Which chain: solana, ethereum, base, bsc, arbitrum, polygon, avalanche, optimism, hyperevm, monad, abstract, sonic, berachain, sei, linea, zksync, mantle, unichain, ronin, cronos, worldchain, scroll, celo, pulsechain, ink, soneium, metis, manta, katana, plasma, flowevm, kava, tron, sui, ton, aptos, near, starknet, xrpl, injective, hyperliquid, robinhood, elysium, arc, megaeth, fantom, opbnb, zora, mode, taiko, lisk, fraxtal, apechain, story, sophon, gnosis, core, xlayer, hedera, polygonzkevm, immutable, kaia, aurora, boba, shibarium, rootstock, bitlayer, merlin, etherlink, xrplevm, vana, bob, shape, beam, memecore, stable, tempo, stacks, cardano, stellar. Default solana. | solana |
Try it
A real call. Your first 100 priced calls a day are free; after that it costs the price above. Edit anything and run it.
Response
Example data (the answer sits inside the envelope)
{
"data": {
"amount": 0.1,
"mint": "8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump",
"side": "buy",
"amount_in": 0.1,
"in_unit": "SOL",
"expected_out": 506340.116307,
"out_unit": "tokens",
"min_out": 481023.110492,
"price_impact_pct": 0,
"slippage_bps": 500,
"route": [
"Pump.fun Amm"
],
"fees": {
"route_fee_sol": 0,
"network_fee_sol": 0.000005,
"crypto2api_fee_usd": 0
},
"value_usd": 7.04320234448262,
"price_usd": 0.000013910022369652108,
"source": "Jupiter's public quote API, which routes pump.fun curves and PumpSwap pools directly."
},
"cost_usd": 0.002,
"balance_usd": "…",
"cached": false,
"request_id": "req_…"
}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 MCP block gives an agent every endpoint in one server.
curl https://api.crypto2api.com/v1/memecoin/quote \
-H "Authorization: Bearer c2a_your_key" \
-H "Content-Type: application/json" \
-d '{
"mint": "8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump",
"amount": 0.1,
"side": "buy",
"slippage_bps": 500,
"chain": "solana"
}'