Enrich bulk person data
curl --request POST \
--url https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requests": [
{
"params": {
"birth_date": "1990-01-15",
"company": "Acme Corporation",
"country": "US",
"data_include": "emails,phones,profiles",
"email": "john.doe@example.com",
"email_hash": "d41d8cd98f00b204e9800998ecf8427e",
"first_name": "John",
"last_name": "Doe",
"lid": "123456789",
"locality": "San Francisco",
"location": "San Francisco, CA, USA",
"min_likelihood": 0,
"name": "John Michael Doe",
"pdl_id": "qEnxS5T1G2YvasA1x24qoA_0000",
"phone": "+14155552671",
"postal_code": "94107",
"profile": "https://www.linkedin.com/in/john-doe",
"region": "CA",
"required": "emails AND phone_numbers",
"school": "Stanford University",
"street_address": "123 Main St"
},
"metadata": {}
}
]
}
'import requests
url = "https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data"
payload = { "requests": [
{
"params": {
"birth_date": "1990-01-15",
"company": "Acme Corporation",
"country": "US",
"data_include": "emails,phones,profiles",
"email": "john.doe@example.com",
"email_hash": "d41d8cd98f00b204e9800998ecf8427e",
"first_name": "John",
"last_name": "Doe",
"lid": "123456789",
"locality": "San Francisco",
"location": "San Francisco, CA, USA",
"min_likelihood": 0,
"name": "John Michael Doe",
"pdl_id": "qEnxS5T1G2YvasA1x24qoA_0000",
"phone": "+14155552671",
"postal_code": "94107",
"profile": "https://www.linkedin.com/in/john-doe",
"region": "CA",
"required": "emails AND phone_numbers",
"school": "Stanford University",
"street_address": "123 Main St"
},
"metadata": {}
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
requests: [
{
params: {
birth_date: '1990-01-15',
company: 'Acme Corporation',
country: 'US',
data_include: 'emails,phones,profiles',
email: 'john.doe@example.com',
email_hash: 'd41d8cd98f00b204e9800998ecf8427e',
first_name: 'John',
last_name: 'Doe',
lid: '123456789',
locality: 'San Francisco',
location: 'San Francisco, CA, USA',
min_likelihood: 0,
name: 'John Michael Doe',
pdl_id: 'qEnxS5T1G2YvasA1x24qoA_0000',
phone: '+14155552671',
postal_code: '94107',
profile: 'https://www.linkedin.com/in/john-doe',
region: 'CA',
required: 'emails AND phone_numbers',
school: 'Stanford University',
street_address: '123 Main St'
},
metadata: {}
}
]
})
};
fetch('https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'requests' => [
[
'params' => [
'birth_date' => '1990-01-15',
'company' => 'Acme Corporation',
'country' => 'US',
'data_include' => 'emails,phones,profiles',
'email' => 'john.doe@example.com',
'email_hash' => 'd41d8cd98f00b204e9800998ecf8427e',
'first_name' => 'John',
'last_name' => 'Doe',
'lid' => '123456789',
'locality' => 'San Francisco',
'location' => 'San Francisco, CA, USA',
'min_likelihood' => 0,
'name' => 'John Michael Doe',
'pdl_id' => 'qEnxS5T1G2YvasA1x24qoA_0000',
'phone' => '+14155552671',
'postal_code' => '94107',
'profile' => 'https://www.linkedin.com/in/john-doe',
'region' => 'CA',
'required' => 'emails AND phone_numbers',
'school' => 'Stanford University',
'street_address' => '123 Main St'
],
'metadata' => [
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data"
payload := strings.NewReader("{\n \"requests\": [\n {\n \"params\": {\n \"birth_date\": \"1990-01-15\",\n \"company\": \"Acme Corporation\",\n \"country\": \"US\",\n \"data_include\": \"emails,phones,profiles\",\n \"email\": \"john.doe@example.com\",\n \"email_hash\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"lid\": \"123456789\",\n \"locality\": \"San Francisco\",\n \"location\": \"San Francisco, CA, USA\",\n \"min_likelihood\": 0,\n \"name\": \"John Michael Doe\",\n \"pdl_id\": \"qEnxS5T1G2YvasA1x24qoA_0000\",\n \"phone\": \"+14155552671\",\n \"postal_code\": \"94107\",\n \"profile\": \"https://www.linkedin.com/in/john-doe\",\n \"region\": \"CA\",\n \"required\": \"emails AND phone_numbers\",\n \"school\": \"Stanford University\",\n \"street_address\": \"123 Main St\"\n },\n \"metadata\": {}\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"requests\": [\n {\n \"params\": {\n \"birth_date\": \"1990-01-15\",\n \"company\": \"Acme Corporation\",\n \"country\": \"US\",\n \"data_include\": \"emails,phones,profiles\",\n \"email\": \"john.doe@example.com\",\n \"email_hash\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"lid\": \"123456789\",\n \"locality\": \"San Francisco\",\n \"location\": \"San Francisco, CA, USA\",\n \"min_likelihood\": 0,\n \"name\": \"John Michael Doe\",\n \"pdl_id\": \"qEnxS5T1G2YvasA1x24qoA_0000\",\n \"phone\": \"+14155552671\",\n \"postal_code\": \"94107\",\n \"profile\": \"https://www.linkedin.com/in/john-doe\",\n \"region\": \"CA\",\n \"required\": \"emails AND phone_numbers\",\n \"school\": \"Stanford University\",\n \"street_address\": \"123 Main St\"\n },\n \"metadata\": {}\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"requests\": [\n {\n \"params\": {\n \"birth_date\": \"1990-01-15\",\n \"company\": \"Acme Corporation\",\n \"country\": \"US\",\n \"data_include\": \"emails,phones,profiles\",\n \"email\": \"john.doe@example.com\",\n \"email_hash\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"lid\": \"123456789\",\n \"locality\": \"San Francisco\",\n \"location\": \"San Francisco, CA, USA\",\n \"min_likelihood\": 0,\n \"name\": \"John Michael Doe\",\n \"pdl_id\": \"qEnxS5T1G2YvasA1x24qoA_0000\",\n \"phone\": \"+14155552671\",\n \"postal_code\": \"94107\",\n \"profile\": \"https://www.linkedin.com/in/john-doe\",\n \"region\": \"CA\",\n \"required\": \"emails AND phone_numbers\",\n \"school\": \"Stanford University\",\n \"street_address\": \"123 Main St\"\n },\n \"metadata\": {}\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"status": 123,
"data": {
"birth_date": true,
"birth_year": true,
"certifications": [
{
"end_date": "<string>",
"name": "<string>",
"organization": "<string>",
"start_date": "<string>"
}
],
"countries": [
"<string>"
],
"dataset_version": "<string>",
"education": [
{
"degrees": [
"<string>"
],
"end_date": "<string>",
"gpa": 123,
"majors": [
"<string>"
],
"minors": [
"<string>"
],
"raw": [
"<string>"
],
"school": {
"domain": "<string>",
"facebook_url": "<string>",
"id": "<string>",
"linkedin_id": "<string>",
"linkedin_url": "<string>",
"location": {
"address_line_2": "<string>",
"continent": "<string>",
"country": "<string>",
"first_seen": "<string>",
"geo": "<string>",
"last_seen": "<string>",
"locality": "<string>",
"metro": "<string>",
"name": "<string>",
"num_sources": 123,
"postal_code": "<string>",
"region": "<string>",
"street_address": "<string>"
},
"name": "<string>",
"raw": [
"<string>"
],
"twitter_url": "<string>",
"type": "<string>",
"website": "<string>"
},
"start_date": "<string>",
"summary": "<string>"
}
],
"emails": true,
"experience": [
{
"company": {
"facebook_url": "<string>",
"founded": 123,
"fuzzy_match": true,
"id": "<string>",
"industry": "<string>",
"industry_v2": "<string>",
"linkedin_id": "<string>",
"linkedin_url": "<string>",
"location": {
"address_line_2": "<string>",
"continent": "<string>",
"country": "<string>",
"first_seen": "<string>",
"geo": "<string>",
"last_seen": "<string>",
"locality": "<string>",
"metro": "<string>",
"name": "<string>",
"num_sources": 123,
"postal_code": "<string>",
"region": "<string>",
"street_address": "<string>"
},
"name": "<string>",
"raw": [
"<string>"
],
"size": "<string>",
"ticker": "<string>",
"twitter_url": "<string>",
"type": "<string>",
"website": "<string>"
},
"end_date": "<string>",
"first_seen": "<string>",
"is_primary": true,
"last_seen": "<string>",
"location_names": [
"<string>"
],
"num_sources": 123,
"start_date": "<string>",
"summary": "<string>",
"title": {
"class": "<string>",
"levels": [
"<string>"
],
"name": "<string>",
"raw": [
"<string>"
],
"role": "<string>",
"sub_role": "<string>"
}
}
],
"facebook_friends": 123,
"facebook_id": "<string>",
"facebook_url": "<string>",
"facebook_username": "<string>",
"first_initial": "<string>",
"first_name": "<string>",
"first_seen": "<string>",
"full_name": "<string>",
"github_url": "<string>",
"github_username": "<string>",
"headline": "<string>",
"id": "<string>",
"industry": "<string>",
"inferred_salary": "<string>",
"inferred_years_experience": 123,
"interests": [
"<string>"
],
"job_company_12mo_employee_growth_rate": 123,
"job_company_employee_count": 123,
"job_company_facebook_url": "<string>",
"job_company_founded": 123,
"job_company_id": "<string>",
"job_company_industry": "<string>",
"job_company_industry_v2": "<string>",
"job_company_inferred_revenue": "<string>",
"job_company_linkedin_id": "<string>",
"job_company_linkedin_url": "<string>",
"job_company_location_address_line_2": "<string>",
"job_company_location_continent": "<string>",
"job_company_location_country": "<string>",
"job_company_location_geo": "<string>",
"job_company_location_locality": "<string>",
"job_company_location_metro": "<string>",
"job_company_location_name": "<string>",
"job_company_location_postal_code": "<string>",
"job_company_location_region": "<string>",
"job_company_location_street_address": "<string>",
"job_company_name": "<string>",
"job_company_size": "<string>",
"job_company_ticker": "<string>",
"job_company_total_funding_raised": 123,
"job_company_twitter_url": "<string>",
"job_company_type": "<string>",
"job_company_website": "<string>",
"job_history": [
"<unknown>"
],
"job_last_changed": "<string>",
"job_last_verified": "<string>",
"job_onet_broad_occupation": "<string>",
"job_onet_code": "<string>",
"job_onet_major_group": "<string>",
"job_onet_minor_group": "<string>",
"job_onet_specific_occupation": "<string>",
"job_onet_specific_occupation_detail": "<string>",
"job_start_date": "<string>",
"job_summary": "<string>",
"job_title": "<string>",
"job_title_class": "<string>",
"job_title_levels": [
"<string>"
],
"job_title_role": "<string>",
"job_title_sub_role": "<string>",
"languages": [
{
"name": "<string>",
"proficiency": 123
}
],
"last_initial": "<string>",
"last_name": "<string>",
"last_seen": "<string>",
"linkedin_connections": 123,
"linkedin_id": "<string>",
"linkedin_url": "<string>",
"linkedin_username": "<string>",
"location_address_line_2": "<string>",
"location_continent": "<string>",
"location_country": "<string>",
"location_geo": true,
"location_last_updated": "<string>",
"location_locality": true,
"location_metro": true,
"location_name": true,
"location_names": true,
"location_postal_code": true,
"location_region": true,
"location_street_address": true,
"middle_initial": "<string>",
"middle_name": "<string>",
"mobile_phone": true,
"name_aliases": [
"<string>"
],
"num_records": 123,
"num_sources": 123,
"personal_emails": true,
"phone_numbers": true,
"phones": [
{
"first_seen": "<string>",
"last_seen": "<string>",
"num_sources": 123,
"number": "<string>"
}
],
"possible_birth_dates": [
"<string>"
],
"possible_emails": [
"<unknown>"
],
"possible_location_names": [
"<string>"
],
"possible_phones": [
"<unknown>"
],
"possible_profiles": [
"<unknown>"
],
"possible_street_addresses": [
"<unknown>"
],
"profiles": [
{
"first_seen": "<string>",
"id": "<string>",
"last_seen": "<string>",
"network": "<string>",
"num_sources": 123,
"url": "<string>",
"username": "<string>"
}
],
"recommended_personal_email": true,
"regions": true,
"sex": "<string>",
"skills": [
"<string>"
],
"street_addresses": true,
"summary": "<string>",
"twitter_url": "<string>",
"twitter_username": "<string>",
"work_email": true
},
"likelihood": 123,
"metadata": {}
}
]
}People Data Labs
Enrich bulk person data
Enrich bulk person data
POST
https://api.aisa.one
/
apis
/
v1
/
people-data-labs
/
enrich-bulk-person-data
Enrich bulk person data
curl --request POST \
--url https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requests": [
{
"params": {
"birth_date": "1990-01-15",
"company": "Acme Corporation",
"country": "US",
"data_include": "emails,phones,profiles",
"email": "john.doe@example.com",
"email_hash": "d41d8cd98f00b204e9800998ecf8427e",
"first_name": "John",
"last_name": "Doe",
"lid": "123456789",
"locality": "San Francisco",
"location": "San Francisco, CA, USA",
"min_likelihood": 0,
"name": "John Michael Doe",
"pdl_id": "qEnxS5T1G2YvasA1x24qoA_0000",
"phone": "+14155552671",
"postal_code": "94107",
"profile": "https://www.linkedin.com/in/john-doe",
"region": "CA",
"required": "emails AND phone_numbers",
"school": "Stanford University",
"street_address": "123 Main St"
},
"metadata": {}
}
]
}
'import requests
url = "https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data"
payload = { "requests": [
{
"params": {
"birth_date": "1990-01-15",
"company": "Acme Corporation",
"country": "US",
"data_include": "emails,phones,profiles",
"email": "john.doe@example.com",
"email_hash": "d41d8cd98f00b204e9800998ecf8427e",
"first_name": "John",
"last_name": "Doe",
"lid": "123456789",
"locality": "San Francisco",
"location": "San Francisco, CA, USA",
"min_likelihood": 0,
"name": "John Michael Doe",
"pdl_id": "qEnxS5T1G2YvasA1x24qoA_0000",
"phone": "+14155552671",
"postal_code": "94107",
"profile": "https://www.linkedin.com/in/john-doe",
"region": "CA",
"required": "emails AND phone_numbers",
"school": "Stanford University",
"street_address": "123 Main St"
},
"metadata": {}
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
requests: [
{
params: {
birth_date: '1990-01-15',
company: 'Acme Corporation',
country: 'US',
data_include: 'emails,phones,profiles',
email: 'john.doe@example.com',
email_hash: 'd41d8cd98f00b204e9800998ecf8427e',
first_name: 'John',
last_name: 'Doe',
lid: '123456789',
locality: 'San Francisco',
location: 'San Francisco, CA, USA',
min_likelihood: 0,
name: 'John Michael Doe',
pdl_id: 'qEnxS5T1G2YvasA1x24qoA_0000',
phone: '+14155552671',
postal_code: '94107',
profile: 'https://www.linkedin.com/in/john-doe',
region: 'CA',
required: 'emails AND phone_numbers',
school: 'Stanford University',
street_address: '123 Main St'
},
metadata: {}
}
]
})
};
fetch('https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'requests' => [
[
'params' => [
'birth_date' => '1990-01-15',
'company' => 'Acme Corporation',
'country' => 'US',
'data_include' => 'emails,phones,profiles',
'email' => 'john.doe@example.com',
'email_hash' => 'd41d8cd98f00b204e9800998ecf8427e',
'first_name' => 'John',
'last_name' => 'Doe',
'lid' => '123456789',
'locality' => 'San Francisco',
'location' => 'San Francisco, CA, USA',
'min_likelihood' => 0,
'name' => 'John Michael Doe',
'pdl_id' => 'qEnxS5T1G2YvasA1x24qoA_0000',
'phone' => '+14155552671',
'postal_code' => '94107',
'profile' => 'https://www.linkedin.com/in/john-doe',
'region' => 'CA',
'required' => 'emails AND phone_numbers',
'school' => 'Stanford University',
'street_address' => '123 Main St'
],
'metadata' => [
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data"
payload := strings.NewReader("{\n \"requests\": [\n {\n \"params\": {\n \"birth_date\": \"1990-01-15\",\n \"company\": \"Acme Corporation\",\n \"country\": \"US\",\n \"data_include\": \"emails,phones,profiles\",\n \"email\": \"john.doe@example.com\",\n \"email_hash\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"lid\": \"123456789\",\n \"locality\": \"San Francisco\",\n \"location\": \"San Francisco, CA, USA\",\n \"min_likelihood\": 0,\n \"name\": \"John Michael Doe\",\n \"pdl_id\": \"qEnxS5T1G2YvasA1x24qoA_0000\",\n \"phone\": \"+14155552671\",\n \"postal_code\": \"94107\",\n \"profile\": \"https://www.linkedin.com/in/john-doe\",\n \"region\": \"CA\",\n \"required\": \"emails AND phone_numbers\",\n \"school\": \"Stanford University\",\n \"street_address\": \"123 Main St\"\n },\n \"metadata\": {}\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"requests\": [\n {\n \"params\": {\n \"birth_date\": \"1990-01-15\",\n \"company\": \"Acme Corporation\",\n \"country\": \"US\",\n \"data_include\": \"emails,phones,profiles\",\n \"email\": \"john.doe@example.com\",\n \"email_hash\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"lid\": \"123456789\",\n \"locality\": \"San Francisco\",\n \"location\": \"San Francisco, CA, USA\",\n \"min_likelihood\": 0,\n \"name\": \"John Michael Doe\",\n \"pdl_id\": \"qEnxS5T1G2YvasA1x24qoA_0000\",\n \"phone\": \"+14155552671\",\n \"postal_code\": \"94107\",\n \"profile\": \"https://www.linkedin.com/in/john-doe\",\n \"region\": \"CA\",\n \"required\": \"emails AND phone_numbers\",\n \"school\": \"Stanford University\",\n \"street_address\": \"123 Main St\"\n },\n \"metadata\": {}\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"requests\": [\n {\n \"params\": {\n \"birth_date\": \"1990-01-15\",\n \"company\": \"Acme Corporation\",\n \"country\": \"US\",\n \"data_include\": \"emails,phones,profiles\",\n \"email\": \"john.doe@example.com\",\n \"email_hash\": \"d41d8cd98f00b204e9800998ecf8427e\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"lid\": \"123456789\",\n \"locality\": \"San Francisco\",\n \"location\": \"San Francisco, CA, USA\",\n \"min_likelihood\": 0,\n \"name\": \"John Michael Doe\",\n \"pdl_id\": \"qEnxS5T1G2YvasA1x24qoA_0000\",\n \"phone\": \"+14155552671\",\n \"postal_code\": \"94107\",\n \"profile\": \"https://www.linkedin.com/in/john-doe\",\n \"region\": \"CA\",\n \"required\": \"emails AND phone_numbers\",\n \"school\": \"Stanford University\",\n \"street_address\": \"123 Main St\"\n },\n \"metadata\": {}\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"status": 123,
"data": {
"birth_date": true,
"birth_year": true,
"certifications": [
{
"end_date": "<string>",
"name": "<string>",
"organization": "<string>",
"start_date": "<string>"
}
],
"countries": [
"<string>"
],
"dataset_version": "<string>",
"education": [
{
"degrees": [
"<string>"
],
"end_date": "<string>",
"gpa": 123,
"majors": [
"<string>"
],
"minors": [
"<string>"
],
"raw": [
"<string>"
],
"school": {
"domain": "<string>",
"facebook_url": "<string>",
"id": "<string>",
"linkedin_id": "<string>",
"linkedin_url": "<string>",
"location": {
"address_line_2": "<string>",
"continent": "<string>",
"country": "<string>",
"first_seen": "<string>",
"geo": "<string>",
"last_seen": "<string>",
"locality": "<string>",
"metro": "<string>",
"name": "<string>",
"num_sources": 123,
"postal_code": "<string>",
"region": "<string>",
"street_address": "<string>"
},
"name": "<string>",
"raw": [
"<string>"
],
"twitter_url": "<string>",
"type": "<string>",
"website": "<string>"
},
"start_date": "<string>",
"summary": "<string>"
}
],
"emails": true,
"experience": [
{
"company": {
"facebook_url": "<string>",
"founded": 123,
"fuzzy_match": true,
"id": "<string>",
"industry": "<string>",
"industry_v2": "<string>",
"linkedin_id": "<string>",
"linkedin_url": "<string>",
"location": {
"address_line_2": "<string>",
"continent": "<string>",
"country": "<string>",
"first_seen": "<string>",
"geo": "<string>",
"last_seen": "<string>",
"locality": "<string>",
"metro": "<string>",
"name": "<string>",
"num_sources": 123,
"postal_code": "<string>",
"region": "<string>",
"street_address": "<string>"
},
"name": "<string>",
"raw": [
"<string>"
],
"size": "<string>",
"ticker": "<string>",
"twitter_url": "<string>",
"type": "<string>",
"website": "<string>"
},
"end_date": "<string>",
"first_seen": "<string>",
"is_primary": true,
"last_seen": "<string>",
"location_names": [
"<string>"
],
"num_sources": 123,
"start_date": "<string>",
"summary": "<string>",
"title": {
"class": "<string>",
"levels": [
"<string>"
],
"name": "<string>",
"raw": [
"<string>"
],
"role": "<string>",
"sub_role": "<string>"
}
}
],
"facebook_friends": 123,
"facebook_id": "<string>",
"facebook_url": "<string>",
"facebook_username": "<string>",
"first_initial": "<string>",
"first_name": "<string>",
"first_seen": "<string>",
"full_name": "<string>",
"github_url": "<string>",
"github_username": "<string>",
"headline": "<string>",
"id": "<string>",
"industry": "<string>",
"inferred_salary": "<string>",
"inferred_years_experience": 123,
"interests": [
"<string>"
],
"job_company_12mo_employee_growth_rate": 123,
"job_company_employee_count": 123,
"job_company_facebook_url": "<string>",
"job_company_founded": 123,
"job_company_id": "<string>",
"job_company_industry": "<string>",
"job_company_industry_v2": "<string>",
"job_company_inferred_revenue": "<string>",
"job_company_linkedin_id": "<string>",
"job_company_linkedin_url": "<string>",
"job_company_location_address_line_2": "<string>",
"job_company_location_continent": "<string>",
"job_company_location_country": "<string>",
"job_company_location_geo": "<string>",
"job_company_location_locality": "<string>",
"job_company_location_metro": "<string>",
"job_company_location_name": "<string>",
"job_company_location_postal_code": "<string>",
"job_company_location_region": "<string>",
"job_company_location_street_address": "<string>",
"job_company_name": "<string>",
"job_company_size": "<string>",
"job_company_ticker": "<string>",
"job_company_total_funding_raised": 123,
"job_company_twitter_url": "<string>",
"job_company_type": "<string>",
"job_company_website": "<string>",
"job_history": [
"<unknown>"
],
"job_last_changed": "<string>",
"job_last_verified": "<string>",
"job_onet_broad_occupation": "<string>",
"job_onet_code": "<string>",
"job_onet_major_group": "<string>",
"job_onet_minor_group": "<string>",
"job_onet_specific_occupation": "<string>",
"job_onet_specific_occupation_detail": "<string>",
"job_start_date": "<string>",
"job_summary": "<string>",
"job_title": "<string>",
"job_title_class": "<string>",
"job_title_levels": [
"<string>"
],
"job_title_role": "<string>",
"job_title_sub_role": "<string>",
"languages": [
{
"name": "<string>",
"proficiency": 123
}
],
"last_initial": "<string>",
"last_name": "<string>",
"last_seen": "<string>",
"linkedin_connections": 123,
"linkedin_id": "<string>",
"linkedin_url": "<string>",
"linkedin_username": "<string>",
"location_address_line_2": "<string>",
"location_continent": "<string>",
"location_country": "<string>",
"location_geo": true,
"location_last_updated": "<string>",
"location_locality": true,
"location_metro": true,
"location_name": true,
"location_names": true,
"location_postal_code": true,
"location_region": true,
"location_street_address": true,
"middle_initial": "<string>",
"middle_name": "<string>",
"mobile_phone": true,
"name_aliases": [
"<string>"
],
"num_records": 123,
"num_sources": 123,
"personal_emails": true,
"phone_numbers": true,
"phones": [
{
"first_seen": "<string>",
"last_seen": "<string>",
"num_sources": 123,
"number": "<string>"
}
],
"possible_birth_dates": [
"<string>"
],
"possible_emails": [
"<unknown>"
],
"possible_location_names": [
"<string>"
],
"possible_phones": [
"<unknown>"
],
"possible_profiles": [
"<unknown>"
],
"possible_street_addresses": [
"<unknown>"
],
"profiles": [
{
"first_seen": "<string>",
"id": "<string>",
"last_seen": "<string>",
"network": "<string>",
"num_sources": 123,
"url": "<string>",
"username": "<string>"
}
],
"recommended_personal_email": true,
"regions": true,
"sex": "<string>",
"skills": [
"<string>"
],
"street_addresses": true,
"summary": "<string>",
"twitter_url": "<string>",
"twitter_username": "<string>",
"work_email": true
},
"likelihood": 123,
"metadata": {}
}
]
}Request contract
- Method and path: POST /apis/v1/people-data-labs/enrich-bulk-person-data
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/people-data-labs/enrich-bulk-person-data
{
"operationId": "people-data-labs.enrich-bulk-person-data",
"method": "POST",
"path": "/apis/v1/people-data-labs/enrich-bulk-person-data",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"requests": {
"description": "Array of 1-100 individual enrichment requests, each containing a 'params' object with person identifiers.",
"items": {
"description": "A single enrichment request within the bulk request array.",
"properties": {
"metadata": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"description": "Optional metadata to include in the response for this request. Can be used to track individual requests in the bulk response.",
"type": "object"
},
"params": {
"additionalProperties": false,
"description": "Parameters for single person enrichment. Must include at least one identifier (profile, email, phone, etc.) or name with additional demographic data.",
"properties": {
"birth_date": {
"description": "Birth date (YYYY-MM-DD format).",
"examples": [
"1990-01-15"
],
"type": "string"
},
"company": {
"description": "Company name where person has worked.",
"examples": [
"Acme Corporation"
],
"type": "string"
},
"country": {
"description": "Country of residence (ISO 3166-1 alpha-2 code or full name).",
"examples": [
"US",
"United States"
],
"type": "string"
},
"data_include": {
"description": "Comma-separated data fields to include in response (e.g., 'emails,phones'). Refer to People Data Labs docs for all fields.",
"examples": [
"emails,phones,profiles",
"jobs,education"
],
"type": "string"
},
"email": {
"description": "Email address.",
"examples": [
"john.doe@example.com"
],
"type": "string"
},
"email_hash": {
"description": "SHA-256 or MD5 hash of an email, for matching without exposing the raw email.",
"examples": [
"d41d8cd98f00b204e9800998ecf8427e",
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
],
"type": "string"
},
"first_name": {
"description": "First name.",
"examples": [
"John"
],
"type": "string"
},
"last_name": {
"description": "Last name.",
"examples": [
"Doe"
],
"type": "string"
},
"lid": {
"description": "LinkedIn ID.",
"examples": [
"123456789"
],
"type": "string"
},
"locality": {
"description": "City or locality of residence.",
"examples": [
"San Francisco"
],
"type": "string"
},
"location": {
"description": "General location (e.g., city, state, country).",
"examples": [
"San Francisco, CA, USA"
],
"type": "string"
},
"min_likelihood": {
"description": "Minimum confidence score (0-10) for a match to be returned; higher is stricter.",
"examples": [
0,
5,
10
],
"maximum": 10,
"minimum": 0,
"type": "integer"
},
"name": {
"description": "Full name.",
"examples": [
"John Michael Doe"
],
"type": "string"
},
"pdl_id": {
"description": "People Data Labs unique record ID.",
"examples": [
"qEnxS5T1G2YvasA1x24qoA_0000"
],
"type": "string"
},
"phone": {
"description": "Phone number; E.164 format recommended.",
"examples": [
"+14155552671"
],
"type": "string"
},
"postal_code": {
"description": "Postal or ZIP code of residence.",
"examples": [
"94107"
],
"type": "string"
},
"profile": {
"description": "Social profile URL (e.g., LinkedIn, Facebook).",
"examples": [
"https://www.linkedin.com/in/john-doe",
"https://www.facebook.com/jane.doe"
],
"type": "string"
},
"region": {
"description": "State, province, or region of residence.",
"examples": [
"CA"
],
"type": "string"
},
"required": {
"description": "Boolean expression of top-level fields required in enriched profile for match. Use AND/OR operators and parentheses for logic (e.g., 'emails AND phone_numbers', 'education AND (emails OR phone_numbers)').",
"examples": [
"emails AND phone_numbers",
"education AND (emails OR phone_numbers)",
"job_title AND job_company_name"
],
"type": "string"
},
"school": {
"description": "School name attended.",
"examples": [
"Stanford University"
],
"type": "string"
},
"street_address": {
"description": "Street address.",
"examples": [
"123 Main St"
],
"type": "string"
}
},
"type": "object"
}
},
"required": [
"params"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
},
"required": [
"requests"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. A price estimate is not currently available. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json