Skip to main content
Exact Output Quoting lets you target a specific destination amount and have Socket work backwards to the required input. Instead of “swap 100 USDC and see what I get,” you ask “deliver exactly 100 USDC on the destination and tell me the input needed.”

How it works

Set quoteType on the /v3/swap/quote request: Output modes require outputAmount (and you omit inputAmount). The response echoes back quoteType, and matching routes may carry the MIN_INPUT route tag so you can rank by the smallest input.

API usage

Notes:
  • Available on eligible direct tx providers only.
  • Not compatible with Incognito Mode.
See the Socket API guide for the full quote-to-execution flow.