Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request POST \
--url https://api.aisa.one/apis/v1/people-data-labs/enrich-person-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "john.doe@example.com"
}'curl --request POST \
--url https://api.aisa.one/apis/v1/people-data-labs/enrich-person-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "john.doe@example.com"
}
'import requests
url = "https://api.aisa.one/apis/v1/people-data-labs/enrich-person-data"
payload = { "email": "john.doe@example.com" }
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({email: 'john.doe@example.com'})
};
fetch('https://api.aisa.one/apis/v1/people-data-labs/enrich-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-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([
'email' => 'john.doe@example.com'
]),
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-person-data"
payload := strings.NewReader("{\n \"email\": \"john.doe@example.com\"\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-person-data")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"john.doe@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/people-data-labs/enrich-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 \"email\": \"john.doe@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"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,
"status": 123,
"matched": [
"<string>"
]
}People Data Labs
Enrich person data
Enrich person data
POST
https://api.aisa.one
/
apis
/
v1
/
people-data-labs
/
enrich-person-data
Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request POST \
--url https://api.aisa.one/apis/v1/people-data-labs/enrich-person-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "john.doe@example.com"
}'curl --request POST \
--url https://api.aisa.one/apis/v1/people-data-labs/enrich-person-data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "john.doe@example.com"
}
'import requests
url = "https://api.aisa.one/apis/v1/people-data-labs/enrich-person-data"
payload = { "email": "john.doe@example.com" }
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({email: 'john.doe@example.com'})
};
fetch('https://api.aisa.one/apis/v1/people-data-labs/enrich-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-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([
'email' => 'john.doe@example.com'
]),
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-person-data"
payload := strings.NewReader("{\n \"email\": \"john.doe@example.com\"\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-person-data")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"john.doe@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/people-data-labs/enrich-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 \"email\": \"john.doe@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"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,
"status": 123,
"matched": [
"<string>"
]
}Request contract
- Method and path: POST /apis/v1/people-data-labs/enrich-person-data
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/people-data-labs/enrich-person-data
{
"operationId": "people-data-labs.enrich-person-data",
"method": "POST",
"path": "/apis/v1/people-data-labs/enrich-person-data",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"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"
},
"include_if_matched": {
"default": false,
"description": "Include input parameters used for matching in the response if true.",
"type": "boolean"
},
"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": {
"default": 2,
"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"
},
"pretty": {
"default": true,
"description": "Format JSON response with indentation for readability.",
"type": "boolean"
},
"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)'). Valid fields: emails, phone_numbers, experience, education, job_title, job_company_name, full_name, location_country, work_email, personal_emails, mobile_phone, linkedin_url, profiles, skills, etc.",
"examples": [
"emails AND phone_numbers",
"education AND (emails OR phone_numbers)",
"job_title AND job_company_name",
"experience AND work_email"
],
"type": "string"
},
"school": {
"description": "School name attended.",
"examples": [
"Stanford University"
],
"type": "string"
},
"street_address": {
"description": "Street address.",
"examples": [
"123 Main St"
],
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.2803 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
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)'). Valid fields: emails, phone_numbers, experience, education, job_title, job_company_name, full_name, location_country, work_email, personal_emails, mobile_phone, linkedin_url, profiles, skills, etc.
Examples:
"emails AND phone_numbers"
"education AND (emails OR phone_numbers)"
"job_title AND job_company_name"
"experience AND work_email"