price
returns price for specified chainId and token
By passing in a chainId and address, you can get a dollar price for specified token address
get/price/v1/{chainId}/{tokenAddress}
Request
- Base URLhttps://api.sushi.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chainIdnumber required
chainId
tokenAddressstring required
token address
Response
numerical price
number required
Changes
No recorded changes to this operation across all 1 revision of this API.