Api Endpoint

curvecall.onrender.com

Bonding-curve sell quote ($0.001): quote asset out, fee, new reserves and price impact for a constant-product pool you describe via quote_reserves, token_reserves, amount_in, fee_bps.

Open interactive test console

Offering

Provider
curvecall.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://curvecall.onrender.com/v1/quote/sell
MIME type
application/json
First seen
2026-10-16T02:05:53.052Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
89 atomic units
Atomic price: 89 · Network: zcash:mainnet · Asset: ZEC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x21ef7f9c9546915624ea6852bed4a5b3e48831b0"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "DTdGKbbSnnaD7CFMELxJPXx981Gc8k6b8ND6NXBgnfW3"
  },
  {
    "scheme": "exact",
    "network": "zcash:mainnet",
    "asset": "ZEC",
    "amount": "89",
    "payTo": "u12aqzh5mc270u33zhz6xjah4cl4zmc6g2rfzxxv8ywaxzxt50j975v38x3dsakw7e7wfkg657s2p8rv6ne4p6njlw68tlwws2aunumuc5"
  }
]

Observed health

Status
Healthy
Latest latency
377 ms
Average latency
769 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "queryParams": {
      "quote_reserves": {
        "type": "number",
        "description": "Virtual quote-asset reserves (x), in quote-token units (e.g. 30 means 30 WETH)",
        "required": true,
        "example": 30
      },
      "token_reserves": {
        "type": "number",
        "description": "Virtual token reserves (y), in token units",
        "required": true,
        "example": 1000000
      },
      "amount_in": {
        "type": "number",
        "description": "Amount to trade: quote-token units for /quote/buy, token units for /quote/sell",
        "required": true,
        "example": 1
      },
      "fee_bps": {
        "type": "number",
        "description": "Curve fee in basis points (100 = 1%)",
        "required": false,
        "default": 100
      }
    }
  }
}

Output schema

{
  "type": "object",
  "properties": {
    "example": {
      "side": "buy",
      "amount_in": 1,
      "amount_out": 31945.788964181906,
      "fee": 0.01,
      "new_quote_reserves": 30.99,
      "new_token_reserves": 968054.2110358181,
      "average_price": 0.00003130303030303039,
      "price_after": 0.00003201267
    }
  }
}