Quote API
Preview swap and bridge routes with receive amount, fees, timing, and route context before creating an order.
Sasquatch Docs
Reference notes for private swap, bridge, and order tracking flows.
Preview swap and bridge routes with receive amount, fees, timing, and route context before creating an order.
Create approved swap or bridge orders from reviewed quotes using server-side credentials.
Fetch order progress, settlement state, and customer-facing status copy for tracking views.
/api/v1/quoteReturn available routes for selected assets, chains, and amount.
/api/v1/ordersCreate an order from a reviewed quote.
/api/v1/orders/:id/statusFetch order status and settlement progress.
Keep API keys on your server. Do not expose production credentials in browser code.
const response = await fetch('https://api.sasquatch.exchange/v1/quote', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.SASQUATCH_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
fromToken: 'ETH',
toToken: 'USDC',
amount: '1',
slippage: 0.5,
}),
})
const quote = await response.json()