Error 429 - Limitation ? (Helix API)

Ok I thought I was smarter than that but…
Here’s the code I use to get the info I need, and that works for now… with this very low rate limit.
I thought I just needed to add

    Client_secret: mygeneratedsecret,
Grant_type: authorization_code'

to (below client-ID) but that just gives an error 400. What am I missing ? Thanks

$ch = curl_init('https://api.twitch.tv/helix/streams?user_login='.$streamer[$i]);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Client-ID: myclientID'
));

// Retrieve data
$data = curl_exec($ch);
$info = curl_getinfo($ch);
curl_close($ch);

if ($info['http_code'] == 200) {
	// Convert JSON data to object
	$r = json_decode($data);
	// Object contains an array of object call "data"
	$array_data_r = $r->data;

} else {
	echo 'Failed with ' . $info['http_code'];
}