Latest trades from Uniswap/Pancakeswap in real time

Job ID: 35132507

Budget: €30 – €250 EUR

I need a good code example how I can take the latest trades from UniswapV2/Pancakeswap OR Etherscan/Bscscan.

I will need to pull data from multiple contract addresses in real time, I only want pull data what I request for from database.

I want any data what can be pulled from trades.

I prefer to receive data in json format so I can handle it in php.

I hope you understand what I'm asking for.
Related categories: JavaScript API Etherscan Cryptocurrency