Get an indicative quote

Deprecated. Instead, use the /quote endpoint and specify the routingPreference parameter. with value of FASTEST. See the Token Trading Workflow page for more details.

This endpoint receives a fast indicative quote according to the provided details. The quote will not include any gas or fee information.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

The handling of the amount field. EXACT_INPUT means the requester will send the specified amount of input tokens and get a quote with a variable quantity of output tokens. EXACT_OUTPUT means the requester will receive the specified amount of output tokens and get a quote with a variable quantity of input tokens.

Allowed:
string
required

The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0.

number
enum
required

The unique ID of the blockchain. For a list of supported chains see the FAQ.

number
enum
required

The unique ID of the blockchain. For a list of supported chains see the FAQ.

string
required

The token which will be sent, specified by its token address. For a list of supported tokens, see the FAQ.

string
required

The token which will be received, specified by its token address. For a list of supported tokens, see the FAQ.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json