How to return the parameter to the API

Good day, there is unresolved a question that haunts me for days.
Is there a website and it says that I need to write a parameter to the end of the reference to he "pulled" it. But for some reason it returns me all data which I don't need. For example:

To learn the current track

The list of return parameters:
id the Global ID in the system
yid ID of YouTube video
title Name of the track
track_time Duration of track in seconds
add_time-Time addition of the track
start_time the start time of the playback of the track
author Nickname sent
cr Age limit video
cb the Chance of a ban sent

I write I returned absolutely the same as if I wrote –
March 19th 20 at 08:28
1 answer
March 19th 20 at 08:30
callback is a function, and not what you think)

function get_track(json){
Yes, I saw it already. But I need to bot "tightens" the data just the link. And this option here is not appropriate :( - bertram commented on March 19th 20 at 08:33
@bertram, then write directly - Shanna.Pfannerstill commented on March 19th 20 at 08:36
But through PHP it is not done in any way? Because if you do it via JS, then the bot sees all of these characters on the page and also writes. And I need to in the inspector you can see the text, no tags, scripts, etc - bertram commented on March 19th 20 at 08:39
@bertram, through CURL - Shanna.Pfannerstill commented on March 19th 20 at 08:42

Find more questions by tags APIPHP