API - how to add links?

The API is identical to the site instantlinkindexer.com

Your API key:

Query limit:

                
$apikey='YOUR_API_KEY_HERE';
 
// build the POST query string
$qstring='apikey='.$apikey.'&cmd=remaininglimit';
 
// Do the API Request using CURL functions
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_URL,'http://gindex.me/api.php');
curl_setopt($ch, CURLOPT_HEADER,0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT,40);
curl_setopt($ch, CURLOPT_POSTFIELDS,$qstring);
$response=curl_exec($ch);
curl_close($ch);
 
echo $response;
            

Adding links:

                
$apikey='YOUR_API_KEY_HERE';

 // build the POST query string
$qstring = 'apikey=' . $apikey . '&cmd=submit&urls=link1.pl|link2.pl|link3.pl|link4.pl';

// Do the API Request using CURL functions
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_URL,'http://gindex.me/api.php');
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 40);
curl_setopt($ch, CURLOPT_POSTFIELDS, $qstring);
$response = curl_exec($ch);
curl_close($ch);

echo $response;