# Get Quotes Get available quotes for a swap between two assets. Endpoint: POST /api/v1/swaps/quotes Version: 0.2.0 Security: bearerAuth ## Request fields (application/json): - `vault_id` (string, required) The unique identifier of the vault. - `input_asset_identifier` (any, required) - `output_asset_identifier` (any, required) - `amount` (string, required) The amount to swap. Example: "1000000000000000000" - `slippage_bps` (string) The slippage tolerance in basis points. Example: "1000000000000000000" - `signer_type` (string) The signer of the quote request. Can be: : The creator of the quote request (default).: A service that you run on your own network or cloud environment. Enum: "initiator", "api_signer", "end_user", "multiple_signers" - `requested_provider_ids` (array) The provider ids to use for the quote. If empty, all providers will be used. ## Response 200 fields (application/json): - `providers_with_quote` (array, required) The providers with quote. - `providers_with_quote.provider_id` (string, required) The quote provider. - `providers_with_quote.quote` (object) The quote. - `providers_with_quote.quote.quote_id` (string, required) The ID of the quote. - `providers_with_quote.quote.input_asset_identifier` (any, required) - `providers_with_quote.quote.input_amount` (string, required) The input amount. Example: "1000000000000000000" - `providers_with_quote.quote.output_asset_identifier` (any, required) - `providers_with_quote.quote.output_amount` (string, required) The output amount. Example: "1000000000000000000" - `providers_with_quote.quote.slippage_bps` (string, required) The slippage tolerance in basis points. Example: "1000000000000000000" - `providers_with_quote.quote.price_impact_pct` (string) The price impact as a percentage. Example: "1000000000000000000" - `providers_with_quote.quote.price` (string) The USD value of the swap. Example: "1000000000000000000" - `providers_with_quote.quote.expiration_time` (string, required) The time when the quote expires. - `providers_with_quote.api_error` (object) The API error. - `providers_with_quote.api_error.api_error_enum` (string, required) The API error enum. Enum: "no_route_found", "high_slippage", "rate_limit_exceeded", "unsupported_chain", "custom_error", "consent_not_approved" - `providers_with_quote.api_error.description` (string, required) The API error description. ## Response 400 fields (application/json): - `title` (string, required) Human-readable error message. - `detail` (string, required) Detailed error message. - `full_detail` (string) Full error message with additional details, if available. - `request_id` (string) Request ID - for debugging purposes. - `system_error_code` (string) An additional system error code in Fordefi. ## Response 401 fields (application/json): - `title` (string, required) Human-readable error message. - `detail` (string, required) Detailed error message. - `full_detail` (string) Full error message with additional details, if available. - `request_id` (string) Request ID - for debugging purposes. ## Response 403 fields (application/json): - `title` (string, required) Human-readable error message. - `detail` (string, required) Detailed error message. - `full_detail` (string) Full error message with additional details, if available. - `request_id` (string) Request ID - for debugging purposes. ## Response 408 fields (application/json): - `title` (string, required) Human-readable error message. - `detail` (string, required) Detailed error message. - `full_detail` (string) Full error message with additional details, if available. - `request_id` (string) Request ID - for debugging purposes. ## Response 422 fields (application/json): - `title` (string, required) Human-readable error message. - `detail` (array, required) - `detail.loc` (array, required) - `detail.msg` (string, required) - `detail.type` (string, required) - `full_detail` (string) Full error message with additional details, if available. - `request_id` (string) Request ID - for debugging purposes. ## Response 500 fields (application/json): - `title` (string, required) Human-readable error message. - `detail` (string, required) Detailed error message. - `full_detail` (string) Full error message with additional details, if available. - `request_id` (string) Request ID - for debugging purposes.