Curve Buy Quote API
Tokens a buy of this size gets from the bonding curve right now, by the curve's own math, before fees.
You send
- mint The coin's mint address
- amount How much of the curve's quote token (usually SOL) to spend
You get back
JSON inside data. Run the call below to see it.
It costs
$0.001 / call
The first 100 priced calls a day are free on every key.
- Freshness
- up to 3 s old
- Auth
- Bearer key
- Chains
- Solana
curl "https://api.crypto2api.com/v1/memecoin/token/8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump/curve/buy?amount=0.1" \
-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 forFind new coinsBuy & sell
Solana only. This endpoint takes no chain parameter — sending one is a 400.
Parameters
Required first. Each example is a value that works.
- mintrequiredpath · string
The coin's mint address.
e.g. 8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump
- amountrequiredquery · number
How much of the curve's quote token (usually SOL) to spend.
e.g. 0.1
Response
Every answer is { data, cost_usd, balance_usd, cached, request_id }. Run the call below to see a live data.
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 3 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
Nothing yet.
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/curve/buy?amount=0.1" \
-H "Authorization: Bearer c2a_your_key"