Making integration of Attomdata's content easier.
Accelerate is a pilot program designed to enable you to add Attomdata's content into your website or application easier, faster and less expensive than ever before.
Attomdata Content Available:
You can either select a standard template or submit a custom design. We will provide you with an API which returns the content as complete, responsive HTML. Your developer simply needs to plug it into your website.
The yellow highlighted areas below represent content from Attomdata's API embedded into a client's webpage.
Click here to download an example of the HTML delivered by the API.
This is an example of the cURL function in PHP which would embed the HTML into your webpage:
$username = "enter username";
$password = "enter password";
$template = "enter template";
$data = array('address1'=>isset($_GET['address1']) ? $_GET['address1'] : '',
'address2'=>isset($_GET['address2']) ? $_GET['address2'] : '',
'latitude'=>isset($_GET['lat']) ? $_GET['lat'] : '',
'longitude'=>isset($_GET['lng']) ? $_GET['lng'] : '',
'client'=>$username,
'template'=>$template);
$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, "https://apps.attomdata.com/property/?" . http_build_query($data, '', '&'));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_USERPWD, "$username:$password");
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
$result = curl_exec ($curl);
if(curl_errno($curl))
{
echo 'error:' . curl_error($curl);
} else {
print $result;
}
curl_close ($curl);
This is a live demonstatration of ATTOM Data Solutions's Property API. You can download this application on GitHub. It is based on 150 million US property records.