Look up multiple persons in a single request (up to 100 queries).
curl --request POST \
--url https://production-api.joinrings.com/v1/persons/lookup/batch \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"queries": [
{
"domain": "<string>",
"email": "<string>",
"limit": 5,
"linkedin_url": "<string>",
"name": "<string>"
}
]
}
'import requests
url = "https://production-api.joinrings.com/v1/persons/lookup/batch"
payload = { "queries": [
{
"domain": "<string>",
"email": "<string>",
"limit": 5,
"linkedin_url": "<string>",
"name": "<string>"
}
] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
queries: [
{
domain: '<string>',
email: '<string>',
limit: 5,
linkedin_url: '<string>',
name: '<string>'
}
]
})
};
fetch('https://production-api.joinrings.com/v1/persons/lookup/batch', 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://production-api.joinrings.com/v1/persons/lookup/batch",
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([
'queries' => [
[
'domain' => '<string>',
'email' => '<string>',
'limit' => 5,
'linkedin_url' => '<string>',
'name' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://production-api.joinrings.com/v1/persons/lookup/batch"
payload := strings.NewReader("{\n \"queries\": [\n {\n \"domain\": \"<string>\",\n \"email\": \"<string>\",\n \"limit\": 5,\n \"linkedin_url\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<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://production-api.joinrings.com/v1/persons/lookup/batch")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"queries\": [\n {\n \"domain\": \"<string>\",\n \"email\": \"<string>\",\n \"limit\": 5,\n \"linkedin_url\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://production-api.joinrings.com/v1/persons/lookup/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"queries\": [\n {\n \"domain\": \"<string>\",\n \"email\": \"<string>\",\n \"limit\": 5,\n \"linkedin_url\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"count": 123,
"matches": [
{
"email": "<string>",
"last_activity_date": "<string>",
"linkedin_url": "<string>",
"name": "<string>",
"uuid": "<string>",
"city": "<string>",
"company_name": "<string>",
"country": "<string>",
"current_company": {
"company_name": "<string>",
"logo_url": "<string>",
"uuid": "<string>",
"job_type": "<string>",
"source": "<string>"
},
"description": "<string>",
"email_last_seen": "<string>",
"entity_lists": [
{
"name": "<string>",
"uuid": "<string>"
}
],
"is_primary_company_recommended": true,
"job_title": "<string>",
"last_contact_at": "<string>",
"logo_url": "<string>",
"pathpower": {
"meta": {},
"score": 123,
"strength_label": "<string>"
},
"secondary_email": "<string>",
"secondary_email_last_seen": "<string>",
"similarity_score": 123,
"state": "<string>",
"strongest_relationships": [
{
"internal_user_person_uuid": "<string>",
"internal_user_uuid": "<string>",
"last_engaged_at": "<string>",
"name": "<string>",
"path_power_score": 123
}
]
}
],
"query": {
"domain": "<string>",
"email": "<string>",
"limit": 5,
"linkedin_url": "<string>",
"name": "<string>"
}
}
]
}Person
Batch lookup persons
Each entry in queries is matched independently using the same semantics
as GET /v1/persons/lookup (email, linkedin_url, domain, or fuzzy name
match). Results are returned in the same order as the input queries.
Entries with no matching criteria return empty matches rather than an
error.
name queries are fuzzy (trigram similarity) rather than exact, so they
can return several ranked candidates per entry — useful for deduping
name-only lists (e.g. conference rosters) where email/linkedin/domain
aren’t available. Use each candidate’s similarity_score plus
company_name/job_title/location to decide whether to treat it as a
match or create a new person.
POST
/
v1
/
persons
/
lookup
/
batch
Look up multiple persons in a single request (up to 100 queries).
curl --request POST \
--url https://production-api.joinrings.com/v1/persons/lookup/batch \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"queries": [
{
"domain": "<string>",
"email": "<string>",
"limit": 5,
"linkedin_url": "<string>",
"name": "<string>"
}
]
}
'import requests
url = "https://production-api.joinrings.com/v1/persons/lookup/batch"
payload = { "queries": [
{
"domain": "<string>",
"email": "<string>",
"limit": 5,
"linkedin_url": "<string>",
"name": "<string>"
}
] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
queries: [
{
domain: '<string>',
email: '<string>',
limit: 5,
linkedin_url: '<string>',
name: '<string>'
}
]
})
};
fetch('https://production-api.joinrings.com/v1/persons/lookup/batch', 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://production-api.joinrings.com/v1/persons/lookup/batch",
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([
'queries' => [
[
'domain' => '<string>',
'email' => '<string>',
'limit' => 5,
'linkedin_url' => '<string>',
'name' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://production-api.joinrings.com/v1/persons/lookup/batch"
payload := strings.NewReader("{\n \"queries\": [\n {\n \"domain\": \"<string>\",\n \"email\": \"<string>\",\n \"limit\": 5,\n \"linkedin_url\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<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://production-api.joinrings.com/v1/persons/lookup/batch")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"queries\": [\n {\n \"domain\": \"<string>\",\n \"email\": \"<string>\",\n \"limit\": 5,\n \"linkedin_url\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://production-api.joinrings.com/v1/persons/lookup/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"queries\": [\n {\n \"domain\": \"<string>\",\n \"email\": \"<string>\",\n \"limit\": 5,\n \"linkedin_url\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"count": 123,
"matches": [
{
"email": "<string>",
"last_activity_date": "<string>",
"linkedin_url": "<string>",
"name": "<string>",
"uuid": "<string>",
"city": "<string>",
"company_name": "<string>",
"country": "<string>",
"current_company": {
"company_name": "<string>",
"logo_url": "<string>",
"uuid": "<string>",
"job_type": "<string>",
"source": "<string>"
},
"description": "<string>",
"email_last_seen": "<string>",
"entity_lists": [
{
"name": "<string>",
"uuid": "<string>"
}
],
"is_primary_company_recommended": true,
"job_title": "<string>",
"last_contact_at": "<string>",
"logo_url": "<string>",
"pathpower": {
"meta": {},
"score": 123,
"strength_label": "<string>"
},
"secondary_email": "<string>",
"secondary_email_last_seen": "<string>",
"similarity_score": 123,
"state": "<string>",
"strongest_relationships": [
{
"internal_user_person_uuid": "<string>",
"internal_user_uuid": "<string>",
"last_engaged_at": "<string>",
"name": "<string>",
"path_power_score": 123
}
]
}
],
"query": {
"domain": "<string>",
"email": "<string>",
"limit": 5,
"linkedin_url": "<string>",
"name": "<string>"
}
}
]
}⌘I