Skip to main content

Get a Quote for a Token Pair

POST 

https://api.fuse.io/api/v0/trade/swap/quote

Get a Quote for a Token Pair

Request

Query Parameters

    apiKey string

    (Required) Your Public API key

    Example: {{publicKey}}

Body

    currencyIn string
    currencyOut string
    amountIn string

Responses

Created

Response Headers
  • Date string
  • Content-Type string
  • Content-Length integer
  • Connection string
  • X-Powered-By string
  • ETag string
Schema

    object

curl -L -X POST 'https://api.fuse.io/api/v0/trade/swap/quote' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"currencyIn": "0x495d133B938596C9984d462F007B676bDc57eCEC",
"currencyOut": "0x0BE9e53fd7EDaC9F859882AfdDa116645287C629",
"amountIn": "1000"
}'
Request Collapse all
Base URL
https://api.fuse.io/api/v0
Parameters
— query
Body
{
  "currencyIn": "0x495d133B938596C9984d462F007B676bDc57eCEC",
  "currencyOut": "0x0BE9e53fd7EDaC9F859882AfdDa116645287C629",
  "amountIn": "1000"
}
ResponseClear

Click the Send API Request button above and see the response here!

Was this page helpful?