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/identify-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/identify-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/identify-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/identify-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/identify-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/identify-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/identify-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/identify-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{
"status": 123,
"matches": [
{
"data": {
"birth_date": true,
"birth_year": true,
"education": [
{}
],
"emails": [
{}
],
"experience": [
{}
],
"facebook_id": "<string>",
"facebook_url": "<string>",
"facebook_username": "<string>",
"first_name": "<string>",
"full_name": "<string>",
"github_url": "<string>",
"github_username": "<string>",
"id": "<string>",
"industry": "<string>",
"inferred_salary": "<string>",
"interests": [
"<string>"
],
"job_company_facebook_url": "<string>",
"job_company_founded": 123,
"job_company_id": "<string>",
"job_company_industry": "<string>",
"job_company_industry_v2": "<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_twitter_url": "<string>",
"job_company_website": "<string>",
"job_last_changed": "<string>",
"job_last_verified": "<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>",
"last_initial": "<string>",
"last_name": "<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_postal_code": true,
"location_region": true,
"location_street_address": true,
"middle_initial": "<string>",
"middle_name": "<string>",
"mobile_phone": true,
"name_aliases": [
"<string>"
],
"personal_emails": true,
"phone_numbers": true,
"profiles": [
{}
],
"recommended_personal_email": true,
"sex": "<string>",
"skills": [
"<string>"
],
"street_addresses": [
{}
],
"twitter_url": "<string>",
"twitter_username": "<string>",
"work_email": true
},
"match_score": 50,
"matched_on": [
"<string>"
]
}
]
}People Data Labs
Identify person data
Identify person data
POST
https://api.aisa.one
/
apis
/
v1
/
people-data-labs
/
identify-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/identify-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/identify-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/identify-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/identify-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/identify-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/identify-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/identify-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/identify-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{
"status": 123,
"matches": [
{
"data": {
"birth_date": true,
"birth_year": true,
"education": [
{}
],
"emails": [
{}
],
"experience": [
{}
],
"facebook_id": "<string>",
"facebook_url": "<string>",
"facebook_username": "<string>",
"first_name": "<string>",
"full_name": "<string>",
"github_url": "<string>",
"github_username": "<string>",
"id": "<string>",
"industry": "<string>",
"inferred_salary": "<string>",
"interests": [
"<string>"
],
"job_company_facebook_url": "<string>",
"job_company_founded": 123,
"job_company_id": "<string>",
"job_company_industry": "<string>",
"job_company_industry_v2": "<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_twitter_url": "<string>",
"job_company_website": "<string>",
"job_last_changed": "<string>",
"job_last_verified": "<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>",
"last_initial": "<string>",
"last_name": "<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_postal_code": true,
"location_region": true,
"location_street_address": true,
"middle_initial": "<string>",
"middle_name": "<string>",
"mobile_phone": true,
"name_aliases": [
"<string>"
],
"personal_emails": true,
"phone_numbers": true,
"profiles": [
{}
],
"recommended_personal_email": true,
"sex": "<string>",
"skills": [
"<string>"
],
"street_addresses": [
{}
],
"twitter_url": "<string>",
"twitter_username": "<string>",
"work_email": true
},
"match_score": 50,
"matched_on": [
"<string>"
]
}
]
}Request contract
- Method and path: POST /apis/v1/people-data-labs/identify-person-data
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/people-data-labs/identify-person-data
{
"operationId": "people-data-labs.identify-person-data",
"method": "POST",
"path": "/apis/v1/people-data-labs/identify-person-data",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"company": {
"description": "The name of a company where the person is or was employed.",
"examples": [
"Acme Corp",
"Globex Corporation"
],
"type": "string"
},
"email": {
"description": "An email address associated with the person.",
"examples": [
"john.doe@example.com"
],
"type": "string"
},
"email_hash": {
"description": "An MD5 or SHA-256 hash of the person's email address.",
"examples": [
"55502f40dc8b7c769880b10874abc9d0",
"8b21e5e33be1739a3eda69c1046d1385022b8817999b5a76e9300dd839cb2569"
],
"type": "string"
},
"first_name": {
"description": "The first name of the person.",
"examples": [
"John"
],
"type": "string"
},
"include_if_matched": {
"default": false,
"description": "If true, the response will include a 'matched_on' attribute, an array of strings indicating which input parameters led to the match.",
"examples": [
true,
false
],
"type": "boolean"
},
"last_name": {
"description": "The last name of the person.",
"examples": [
"Doe"
],
"type": "string"
},
"lid": {
"description": "The person's LinkedIn ID. This is a numerical ID found in some LinkedIn URLs.",
"examples": [
"123456789"
],
"type": "string"
},
"locality": {
"description": "The city or locality where the person resides or has resided.",
"examples": [
"San Francisco",
"New York"
],
"type": "string"
},
"location": {
"description": "A general location query (e.g., 'San Francisco, CA', 'London, UK') associated with the person.",
"examples": [
"San Francisco, CA",
"London"
],
"type": "string"
},
"name": {
"description": "The full name of the person.",
"examples": [
"John Michael Doe"
],
"type": "string"
},
"phone": {
"description": "A phone number associated with the person.",
"examples": [
"+14155552671",
"415-555-0110"
],
"type": "string"
},
"postal_code": {
"description": "The postal or ZIP code where the person resides or has resided.",
"examples": [
"94107",
"10001"
],
"type": "string"
},
"pretty": {
"default": false,
"description": "If true, the JSON response is pretty-printed for easier human readability.",
"examples": [
true,
false
],
"type": "boolean"
},
"profile": {
"description": "A social media profile URL associated with the person, e.g., a LinkedIn or Twitter profile URL.",
"examples": [
"https://www.linkedin.com/in/johndoe",
"https://twitter.com/janedoe"
],
"type": "string"
},
"region": {
"description": "The state, province, or region where the person resides or has resided.",
"examples": [
"CA",
"New York"
],
"type": "string"
},
"school": {
"description": "The name of an educational institution the person attended.",
"examples": [
"University of California, Berkeley",
"Stanford University"
],
"type": "string"
},
"street_address": {
"description": "The street address where the person resides or has resided.",
"examples": [
"123 Main St, Anytown, USA"
],
"type": "string"
},
"titlecase": {
"default": false,
"description": "If true, returns all text values in title case (e.g., 'John Doe'). Otherwise, text is returned as is.",
"examples": [
true,
false
],
"type": "boolean"
}
},
"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.5503 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json