GET /prices and prints the quoted destAmount. Uses requests.
File tree
Install
quote.py
Run it
destAmount (USDC, 6 decimals) and gasCostUSD printed.
Next: build the transaction
Feed thepriceRoute into POST /transactions/:chainId to get ready-to-broadcast calldata. See Market API → How it works.
Related pages
- Market API overview — when to use Market routing.
- Market API → How it works — quote → build → broadcast flow.
- Market API reference — full parameter list.