Sonar quote
strata_quoteGet a short-lived Sonar quote by providing a market and a human amount such as 0.1 SOL or $20. Returns expected output, fees, price impact, and expiry.
Instructions
Request a short-lived Sonar quote. Use a market label and a human amount such as 0.1 SOL, 20 USDC, or $20; exact input atoms remain available for advanced clients. Returns expected output, fees, price impact, and expiry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Buy or sell the market's base asset. | |
| amount | No | Human input amount, for example 0.1 SOL, 20 USDC, or $20. | |
| market | Yes | Market label such as SOL/USDC, or its public market ID. | |
| amountInAtoms | No | Advanced: exact input amount in the input token's smallest atomic unit. | |
| maximumToleranceBps | No | The most you accept below the quoted output, in basis points (default 0: the quoted output exactly). This is YOUR choice. It is not price impact — price_impact_pct in the response is measured from the book and is not a setting. |