Skip to main content
A minimal Python script that calls GET /prices and prints the quoted destAmount. Uses requests.

File tree

Install

quote.py

Run it

You should see the quoted destAmount (USDC, 6 decimals) and gasCostUSD printed.

Next: build the transaction

Feed the priceRoute into POST /transactions/:chainId to get ready-to-broadcast calldata. See Market API → How it works.
Last modified on June 14, 2026