endpoints / curve
Curve Sell Quote API
What selling this many tokens into the bonding curve pays right now, by the curve's own math, before fees.
GET/v1/memecoin/token/:mint/curve/sell
- Price
- $0.001 / call
- Free
- first 100 calls a day
- Freshness
- up to 3 s old
- Auth
- Bearer key
Try it
A real call, charged like any other. Edit anything and run it.
Response
Press Run.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/curve/sell?amount=1000000" \
-H "Authorization: Bearer c2a_your_key"Parameters
| Name | In | Type | Required | What it is | Example |
|---|---|---|---|---|---|
| mint | path | string | yes | The coin's mint address. | 8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump |
| amount | query | number | yes | How many whole tokens to sell. | 1000000 |
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 3 s old. A fact the API could not read is left out or named, never estimated.
More in Curve
GET/memecoin/token/:mint/curveCurve State. A coin's bonding curve read from chain: reserves, price, progress, what is left to graduate.$0.002 / callGET/memecoin/token/:mint/curve/progressCurve Progress. How far along its bonding curve a coin is, in %, and how much more must be bought to graduate.$0.001 / callGET/memecoin/token/:mint/curve/graduatedHas Graduated. Whether a coin has left its bonding curve, and which pool it trades in now when the pad says.$0.001 / callGET/memecoin/token/:mint/curve/buyCurve Buy Quote. Tokens a buy of this size gets from the bonding curve right now, by the curve's own math, before fees.$0.001 / call