Sasquatch Docs

Build with Sasquatch APIs.

Reference notes for private swap, bridge, and order tracking flows.

Quote API

Preview swap and bridge routes with receive amount, fees, timing, and route context before creating an order.

Order API

Create approved swap or bridge orders from reviewed quotes using server-side credentials.

Status API

Fetch order progress, settlement state, and customer-facing status copy for tracking views.

Endpoint Overview

POST/api/v1/quote

Return available routes for selected assets, chains, and amount.

POST/api/v1/orders

Create an order from a reviewed quote.

GET/api/v1/orders/:id/status

Fetch order status and settlement progress.

Code Preview

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()