How to get current price of swap for transaction?

Hello friends and support team. I want to get swap price for this moment, how can i get it? any API?
I dont need price for past transaction, and for current moment transaction.