# Get a quote

Endpoint: POST /quote

OpenAPI: /docs/openapi.json

Price `from_amount` of `from` into `to` across the available venues. Use the returned `id` as `quote_id` when [creating an order](/docs/api/create-an-order), before the quote’s `expires_at`.

Set `format` to `formatted` (the default) for decimal amounts and asset names such as `bitcoin.btc`, or `raw` for base-unit amounts and canonical asset identifiers. See the [token list](/docs/integration/token-list) for registered asset names.

Choose `optimal` quoting for up to 10 seconds per venue, or `fast` for a 1.5-second cutoff. Set `return_full_route` to include the route, and `include_candidates` for debugging details. Use either `venue_allowlist` or `venue_blocklist` to control which venues are considered.
