Archie
06/30/2022, 1:27 PMr= requests.get('<https://api.eisberg.gg/pair_prices/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48>', params={'start_block':15033530, 'end_block':15041754, 'auth_key':'$YOUR_API_KEY'})
Curl:
curl "<https://api.eisberg.gg/pair_prices/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48?start_block=15033530&end_block=15041754&auth_key=$YOUR_API_KEY>"
This endpoint would return the end of block prices for all Uniswap pools for WETH and USDC, between the above blocks.
Please note, you’d have to replace the $YOUR_API_KEY part of both examples with your own requested key.
Have a try and let me know