Free API Integration to get live Market price for Investment

Is there any way we can integrate a freely available API to replace the market price in investment tracking? That way, it would be easier to track investments with the latest market prices.

In the current version, we have the market price, but it needs to be fed manually, so we want to make this process automated.