I have API url looks like this:
when I click on it I got the following data:
json_decode() is what you are looking.
$link = "your url" $data = json_decode($link,true);
after decoding the json, you will get a array with the elements in the json