Forbidden 403 code on api call

Good evening,

I’m new to and would like to use it to get my stats.
I have the following code:

$api_key = 'xxxxxxx';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, '');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['TRN-Api-Key: ' . $api_key, 'Content-Type: application/json']);

$content = curl_exec($ch);

I have repaced the api_key with my own, but I get only the response error code: 1020 from cloudflare.
I also tried using Postman and there I get a forbidden 403 code

Hello @FamousWolluf and welcome to the TRN forums.

You’re receiving this error code because the RocketLeague API isn’t public. Here’s a message from TRN staff confirming this:

You can see TRN’s public APIs here: