Bulk enrich people
curl --request POST \
--url https://api.agntdata.dev/v1/data/agnt/people/bulk-enrich \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"identifier": "row-1",
"linkedin_url": "https://linkedin.com/in/patrickcollison"
},
{
"identifier": "row-2",
"email": "elon@spacex.com"
}
],
"fields": [
"email",
"job_title",
"company_name"
]
}
'import requests
url = "https://api.agntdata.dev/v1/data/agnt/people/bulk-enrich"
payload = {
"inputs": [
{
"identifier": "row-1",
"linkedin_url": "https://linkedin.com/in/patrickcollison"
},
{
"identifier": "row-2",
"email": "elon@spacex.com"
}
],
"fields": ["email", "job_title", "company_name"]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
inputs: [
{identifier: 'row-1', linkedin_url: 'https://linkedin.com/in/patrickcollison'},
{identifier: 'row-2', email: 'elon@spacex.com'}
],
fields: ['email', 'job_title', 'company_name']
})
};
fetch('https://api.agntdata.dev/v1/data/agnt/people/bulk-enrich', 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.agntdata.dev/v1/data/agnt/people/bulk-enrich",
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([
'inputs' => [
[
'identifier' => 'row-1',
'linkedin_url' => 'https://linkedin.com/in/patrickcollison'
],
[
'identifier' => 'row-2',
'email' => 'elon@spacex.com'
]
],
'fields' => [
'email',
'job_title',
'company_name'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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.agntdata.dev/v1/data/agnt/people/bulk-enrich"
payload := strings.NewReader("{\n \"inputs\": [\n {\n \"identifier\": \"row-1\",\n \"linkedin_url\": \"https://linkedin.com/in/patrickcollison\"\n },\n {\n \"identifier\": \"row-2\",\n \"email\": \"elon@spacex.com\"\n }\n ],\n \"fields\": [\n \"email\",\n \"job_title\",\n \"company_name\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
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.agntdata.dev/v1/data/agnt/people/bulk-enrich")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"inputs\": [\n {\n \"identifier\": \"row-1\",\n \"linkedin_url\": \"https://linkedin.com/in/patrickcollison\"\n },\n {\n \"identifier\": \"row-2\",\n \"email\": \"elon@spacex.com\"\n }\n ],\n \"fields\": [\n \"email\",\n \"job_title\",\n \"company_name\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agntdata.dev/v1/data/agnt/people/bulk-enrich")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"inputs\": [\n {\n \"identifier\": \"row-1\",\n \"linkedin_url\": \"https://linkedin.com/in/patrickcollison\"\n },\n {\n \"identifier\": \"row-2\",\n \"email\": \"elon@spacex.com\"\n }\n ],\n \"fields\": [\n \"email\",\n \"job_title\",\n \"company_name\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"results": [
{
"person": {
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"work_email": "<string>",
"personal_email": "<string>",
"verified_email": "<string>",
"email_status": "<string>",
"mobile": "<string>",
"linkedin_url": "<string>",
"twitter_url": "<string>",
"job_title": "<string>",
"seniority": "<string>",
"department": "<string>",
"company": {
"name": "<string>",
"domain": "<string>",
"linkedin_url": "<string>"
},
"location": "<string>"
},
"fields_returned": [
"email"
],
"fields_missing": [
"email"
],
"providers_attempted": 123,
"identifier": "<string>"
}
]
},
"meta": {
"costCents": 123,
"purchasedBalanceCents": 123,
"subscriptionRemainingCents": 123,
"cached": true,
"latencyMs": 123,
"priceRange": {
"minCents": 123,
"maxCents": 123
},
"budgetCents": 123,
"budgetCentsPerRecord": 123,
"providersAttempted": 123,
"fieldsReturned": [
"<string>"
],
"fieldsMissing": [
"<string>"
],
"records": 123
}
}People — Enrich
Bulk enrich people
Enrich up to 100 people in one call. Each input record requires email and/or linkedin_url (either at the top level of the input object or nested under identifiers). first_name/last_name/domain are NOT accepted — if you only have name+company, call /people/email-finder per record first. Each input runs the same field-aware waterfall as /people/enrich. Use max_cost_cents_per_record to cap per-record spend.
POST
/
v1
/
data
/
agnt
/
people
/
bulk-enrich
Bulk enrich people
curl --request POST \
--url https://api.agntdata.dev/v1/data/agnt/people/bulk-enrich \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"identifier": "row-1",
"linkedin_url": "https://linkedin.com/in/patrickcollison"
},
{
"identifier": "row-2",
"email": "elon@spacex.com"
}
],
"fields": [
"email",
"job_title",
"company_name"
]
}
'import requests
url = "https://api.agntdata.dev/v1/data/agnt/people/bulk-enrich"
payload = {
"inputs": [
{
"identifier": "row-1",
"linkedin_url": "https://linkedin.com/in/patrickcollison"
},
{
"identifier": "row-2",
"email": "elon@spacex.com"
}
],
"fields": ["email", "job_title", "company_name"]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
inputs: [
{identifier: 'row-1', linkedin_url: 'https://linkedin.com/in/patrickcollison'},
{identifier: 'row-2', email: 'elon@spacex.com'}
],
fields: ['email', 'job_title', 'company_name']
})
};
fetch('https://api.agntdata.dev/v1/data/agnt/people/bulk-enrich', 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.agntdata.dev/v1/data/agnt/people/bulk-enrich",
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([
'inputs' => [
[
'identifier' => 'row-1',
'linkedin_url' => 'https://linkedin.com/in/patrickcollison'
],
[
'identifier' => 'row-2',
'email' => 'elon@spacex.com'
]
],
'fields' => [
'email',
'job_title',
'company_name'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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.agntdata.dev/v1/data/agnt/people/bulk-enrich"
payload := strings.NewReader("{\n \"inputs\": [\n {\n \"identifier\": \"row-1\",\n \"linkedin_url\": \"https://linkedin.com/in/patrickcollison\"\n },\n {\n \"identifier\": \"row-2\",\n \"email\": \"elon@spacex.com\"\n }\n ],\n \"fields\": [\n \"email\",\n \"job_title\",\n \"company_name\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
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.agntdata.dev/v1/data/agnt/people/bulk-enrich")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"inputs\": [\n {\n \"identifier\": \"row-1\",\n \"linkedin_url\": \"https://linkedin.com/in/patrickcollison\"\n },\n {\n \"identifier\": \"row-2\",\n \"email\": \"elon@spacex.com\"\n }\n ],\n \"fields\": [\n \"email\",\n \"job_title\",\n \"company_name\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agntdata.dev/v1/data/agnt/people/bulk-enrich")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"inputs\": [\n {\n \"identifier\": \"row-1\",\n \"linkedin_url\": \"https://linkedin.com/in/patrickcollison\"\n },\n {\n \"identifier\": \"row-2\",\n \"email\": \"elon@spacex.com\"\n }\n ],\n \"fields\": [\n \"email\",\n \"job_title\",\n \"company_name\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"results": [
{
"person": {
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"work_email": "<string>",
"personal_email": "<string>",
"verified_email": "<string>",
"email_status": "<string>",
"mobile": "<string>",
"linkedin_url": "<string>",
"twitter_url": "<string>",
"job_title": "<string>",
"seniority": "<string>",
"department": "<string>",
"company": {
"name": "<string>",
"domain": "<string>",
"linkedin_url": "<string>"
},
"location": "<string>"
},
"fields_returned": [
"email"
],
"fields_missing": [
"email"
],
"providers_attempted": 123,
"identifier": "<string>"
}
]
},
"meta": {
"costCents": 123,
"purchasedBalanceCents": 123,
"subscriptionRemainingCents": 123,
"cached": true,
"latencyMs": 123,
"priceRange": {
"minCents": 123,
"maxCents": 123
},
"budgetCents": 123,
"budgetCentsPerRecord": 123,
"providersAttempted": 123,
"fieldsReturned": [
"<string>"
],
"fieldsMissing": [
"<string>"
],
"records": 123
}
}Authorizations
Bearer token. Pass your agntdata API key as: Authorization: Bearer agnt_live_...
Body
application/json
Required array length:
1 - 100 elementsShow child attributes
Show child attributes
Available options:
email, work_email, personal_email, verified_email, mobile, linkedin_url, twitter_url, full_name, first_name, last_name, job_title, seniority, department, company_name, company_domain, location Required range:
x >= 0⌘I