Firstly JSON is a standard data format. PHP is a backend programming language. Basically the URL is returning JSON Format. You have to call the endpoint with an apikey. Because if you call now the api by a client call f.e with the jquery’s AJAX request:
$.get("<url>", function(data){
console.log(data)
})
You will get this information:
error:
responseText: "{↵ "Information": "The **demo** API key is for demo purposes only. Please claim your free API key at (https://www.alphavantage.co/support/#api-key) to explore our full API offerings. It takes fewer than 20 seconds, and we are committed to making it free forever."↵}"
After adding you apikey you are able to receive your data.
Please read this:
for asynchronous calls to an endpoint: https://api.jquery.com/jquery.get/
how to work with json: https://www.w3schools.com/js/js_json_intro.asp
you will get a stringified json, to work with it you have to parse it, to work with it as an object. https://www.w3schools.com/js/js_json_parse.asp