---
title: "Pump.fun buy/sell quote (SDK-precise)"
method: GET
path: "/api/pump/quote-sdk"
---

# Pump.fun buy/sell quote (SDK-precise)

`GET /api/pump/quote-sdk`

## Request

- Base URL: `https://three.ws`
- URL: `https://three.ws/api/pump/quote-sdk`
- Auth: none required

Deterministic buy or sell quote computed via @nirholas/pump-sdk on the live bonding curve. Returns output amount, price impact %, and a market context block.

## Query parameters

- `mint` string, required
- `side` 'buy' | 'sell', required
- `amount` number, required
- `network` 'mainnet' | 'devnet'

## Response `200`

Quote payload with input/output and priceImpactPct

## Other responses

- `400`: Validation error
- `404`: No bonding curve for that mint

---

[API](https://skmtc.dev/three/apis/three-ws-api.md) · [All operations](https://skmtc.dev/three/apis/three-ws-api/llms.txt) · [OpenAPI document](https://skmtc.dev/three/apis/three-ws-api/revisions/dbc5e3a81b79?raw)
