Hi developers!
Could you please help me with getting ongoing rates with API?
Ive looked at APIs page but didn`t find anything.
1 Like
What you’d most likely want is our quote function which will give you the return amount of token X given the number of token Y. Here is an example from the docs page.
Request url to quote 10 000 USDT → WBTC
2 Likes
Thanks a lot! 
1 Like
How to get the rate that is displayed on the 1inch swap though? For example, if I’m trying to swap ETH for DAI, how to get 1ETH = x DAI?