Multi api request

$emptyArray = array();

    $curl = curl_init();

    foreach ($gameIds as $gameId) {

        curl_setopt_array($curl, array(

        CURLOPT_URL => "https://api.twitch.tv/helix/videos?first=5&game_id=".$gameId,

        CURLOPT_RETURNTRANSFER => true,

        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,

        CURLOPT_HTTPGET => TRUE,

        CURLOPT_HTTPHEADER => array(

            'Content-Type: application/json',

            "Authorization: Bearer ".$auth,

            'Client-Id: '.$client_ID

        ),

        ));

        $response = curl_exec($curl);

        $emptyArray = array_merge($emptyArray, json_decode($response, true)['data']);

    }

    curl_close($curl);

This is curl command I am using now