Discussions

Ask a Question
Back to All

Unable to get response with more than 100 records

Hi,

We are unable to get the response from the API end when uploading more than 100 records. We are sending one by one data to the API end to get the response. We are using Person Search API calling (https://api.galaxysearchapi.com/PersonSearch). What is the limitation of sending data to the API end also is there anything to do on our end to send 2 to 3 thousand data? Please get back to us.

Kindly check the following PHP cURL request:

$postdata1 = array(
'FirstName' => $_POST['rowdata
'.$i][$fname_key],
'MiddleName' => '',
'LastName' => $POST['rowdata'.$i][$lname_key],
'Addresses' => array(
array(
'AddressLine1' => $POST['rowdata'.$i][$address_key],
'AddressLine2' => $POST['rowdata'.$i][$city_key].", ".$POST['rowdata'.$i][$state_key]
),
),
);
$encode_data1 = json_encode($post_data1);
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.galaxysearchapi.com/PersonSearch',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => $encode_data1,
CURLOPT_HTTPHEADER => array(
'Accept: application/json',
'Content-Type: application/json',
'User-Agent: ReadMe-API-Explorer',
'galaxy-ap-name: '.$ap_name,
'galaxy-ap-password: '.$ap_password,
'galaxy-search-type: Person'
)
),
);
$result = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);

PeopleFinders Pro, LLC (“Peoplefinders PRO”) is not a consumer reporting agency and does not offer consumer reports. You cannot use any information from PeopleFinders PRO to determine someone’s eligibility for credit, insurance, employment, housing or any purpose covered under the Fair Credit Reporting Act, 15 U.S.C.A. § 1681, et seq., as now or hereafter amended. PeopleFinders PRO does not make any representation or warranty about the accuracy of the information provided or the character or integrity of the person about whom you inquire. These records may contain inaccuracies, be incomplete or not be associated with the person in this report. The information provided should not be used as a substitute for your own due diligence.