|
|
| Criminal Database API |
|---|
The Criminal Database API is a powerful, high-speed multi-jurisdictional search of our proprietary databases compiled from multiple sources consisting of court records, incarceration records, prison/inmate records, probation/parole/release information, arrest data, wants and warrants and/or other proprietary sources.
This database API incorporates our unique, proprietary similarity and probability scoring methodologies, overcoming obstacles such as misspellings and punctuation, transposition and applicant fraud. The end result is enhanced clarity and increased precision, which saves you time and strengthens the quality of your overall background screening.
Each search includes a 50-state sex offender screening, terrorist watch list report and our proprietary database derived from millions of historical searches.
| POST URL → https://www.imsasllc.com/api/
XSD Request → https://www.imsasllc.com/api/xsd/criminal_database_request_xsd.xml
XSD Response → https://www.imsasllc.com/api/xsd/criminal_database_response_xsd.xml
XML Sample Response → https://www.imsasllc.com/api/xsd/criminal_database_response.xml
Product Code → criminal_database
Price per API Call → $7.00 | |
PHP Sample Request
|
<?php
//this is the POST URL
$url = 'https://www.imsasllc.com/api/';
//create the XML Request
define('_PAYLOAD_', '<?xml version="1.0" encoding="utf-8"?>
<IMSAS>
<Order>
<API>
<Key>abcde87087</Key>
</API>
<Product>criminal_database</Product>
<Data>
<FirstName>RAYMOND</FirstName>
<LastName>JOHNSON</LastName>
<DOB>02/16/1936</DOB>
</Data>
</Order>
</IMSAS>');
$fields = array(
'user'=>urlencode('69769'),
'format'=>urlencode('xml'),
'input'=>urlencode(_PAYLOAD_)
);
//url-ify the data for the POST
foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }
rtrim($fields_string,'&');
$header = "Content-Type: application/x-www-form-urlencoded \r\n";
//open connection
$ch = curl_init();
//set the url, number of POST vars, POST data
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_POST,count($fields));
curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string);
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // allows for transfer to be put into a string
//execute post
$result = curl_exec($ch);
//close connection
curl_close($ch);
?>
|
|