Start Lookalike Search (Async)
curl --request POST \
--url https://api.sixtyfour.ai/search/lookalike \
--header 'Content-Type: application/json' \
--data '
{
"csv_resource_handle_id": "<string>",
"linkedin_urls": [
"<string>"
],
"guidance": "<string>",
"analysis_sample_size": 100
}
'import requests
url = "https://api.sixtyfour.ai/search/lookalike"
payload = {
"csv_resource_handle_id": "<string>",
"linkedin_urls": ["<string>"],
"guidance": "<string>",
"analysis_sample_size": 100
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
csv_resource_handle_id: '<string>',
linkedin_urls: ['<string>'],
guidance: '<string>',
analysis_sample_size: 100
})
};
fetch('https://api.sixtyfour.ai/search/lookalike', 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.sixtyfour.ai/search/lookalike",
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([
'csv_resource_handle_id' => '<string>',
'linkedin_urls' => [
'<string>'
],
'guidance' => '<string>',
'analysis_sample_size' => 100
]),
CURLOPT_HTTPHEADER => [
"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.sixtyfour.ai/search/lookalike"
payload := strings.NewReader("{\n \"csv_resource_handle_id\": \"<string>\",\n \"linkedin_urls\": [\n \"<string>\"\n ],\n \"guidance\": \"<string>\",\n \"analysis_sample_size\": 100\n}")
req, _ := http.NewRequest("POST", url, payload)
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.sixtyfour.ai/search/lookalike")
.header("Content-Type", "application/json")
.body("{\n \"csv_resource_handle_id\": \"<string>\",\n \"linkedin_urls\": [\n \"<string>\"\n ],\n \"guidance\": \"<string>\",\n \"analysis_sample_size\": 100\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/search/lookalike")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"csv_resource_handle_id\": \"<string>\",\n \"linkedin_urls\": [\n \"<string>\"\n ],\n \"guidance\": \"<string>\",\n \"analysis_sample_size\": 100\n}"
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"search_id": "<string>",
"status": "<string>",
"seed_diagnostics": {
"supplied": 123,
"parsed": 123,
"resolved": 123,
"skipped": 123,
"analyzed": 123,
"errors": [
"<string>"
],
"warnings": [
"<string>"
],
"identity_resolution": {
"exact_matches": 0,
"similarity_matches": 0,
"dropped_below_threshold": 0,
"ambiguous_matches": 0,
"duplicates_removed": 0,
"average_confidence": 0.5
}
}
}{
"detail": "Invalid request body"
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient API credits"
}{
"detail": "Forwarded user_id does not belong to your organization."
}{
"detail": "Search not found or has no parsed_query."
}{
"detail": "Export workflow is already running for this search."
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded"
}{
"detail": "Internal server error"
}{
"detail": "NL upstream transport error: connection reset by peer"
}{
"detail": "Company search backend endpoint is not configured"
}{
"detail": "Field values request timed out"
}Search
Start Lookalike Search (Async)
Resolve seeds and start the async lookalike workflow.
POST
/
search
/
lookalike
Start Lookalike Search (Async)
curl --request POST \
--url https://api.sixtyfour.ai/search/lookalike \
--header 'Content-Type: application/json' \
--data '
{
"csv_resource_handle_id": "<string>",
"linkedin_urls": [
"<string>"
],
"guidance": "<string>",
"analysis_sample_size": 100
}
'import requests
url = "https://api.sixtyfour.ai/search/lookalike"
payload = {
"csv_resource_handle_id": "<string>",
"linkedin_urls": ["<string>"],
"guidance": "<string>",
"analysis_sample_size": 100
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
csv_resource_handle_id: '<string>',
linkedin_urls: ['<string>'],
guidance: '<string>',
analysis_sample_size: 100
})
};
fetch('https://api.sixtyfour.ai/search/lookalike', 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.sixtyfour.ai/search/lookalike",
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([
'csv_resource_handle_id' => '<string>',
'linkedin_urls' => [
'<string>'
],
'guidance' => '<string>',
'analysis_sample_size' => 100
]),
CURLOPT_HTTPHEADER => [
"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.sixtyfour.ai/search/lookalike"
payload := strings.NewReader("{\n \"csv_resource_handle_id\": \"<string>\",\n \"linkedin_urls\": [\n \"<string>\"\n ],\n \"guidance\": \"<string>\",\n \"analysis_sample_size\": 100\n}")
req, _ := http.NewRequest("POST", url, payload)
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.sixtyfour.ai/search/lookalike")
.header("Content-Type", "application/json")
.body("{\n \"csv_resource_handle_id\": \"<string>\",\n \"linkedin_urls\": [\n \"<string>\"\n ],\n \"guidance\": \"<string>\",\n \"analysis_sample_size\": 100\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/search/lookalike")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"csv_resource_handle_id\": \"<string>\",\n \"linkedin_urls\": [\n \"<string>\"\n ],\n \"guidance\": \"<string>\",\n \"analysis_sample_size\": 100\n}"
response = http.request(request)
puts response.read_body{
"task_id": "<string>",
"search_id": "<string>",
"status": "<string>",
"seed_diagnostics": {
"supplied": 123,
"parsed": 123,
"resolved": 123,
"skipped": 123,
"analyzed": 123,
"errors": [
"<string>"
],
"warnings": [
"<string>"
],
"identity_resolution": {
"exact_matches": 0,
"similarity_matches": 0,
"dropped_below_threshold": 0,
"ambiguous_matches": 0,
"duplicates_removed": 0,
"average_confidence": 0.5
}
}
}{
"detail": "Invalid request body"
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient API credits"
}{
"detail": "Forwarded user_id does not belong to your organization."
}{
"detail": "Search not found or has no parsed_query."
}{
"detail": "Export workflow is already running for this search."
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded"
}{
"detail": "Internal server error"
}{
"detail": "NL upstream transport error: connection reset by peer"
}{
"detail": "Company search backend endpoint is not configured"
}{
"detail": "Field values request timed out"
}Headers
Body
application/json
Start a lookalike audience search from exactly one seed source.
Resource handle returned by POST /storage/csv/upload.
LinkedIn profile URLs to seed from (max 1,000).
Maximum array length:
1000Maximum string length:
500Optional natural-language guidance for cohort analysis.
Maximum string length:
2000How many representative resolved profiles to analyze.
Required range:
1 <= x <= 100Response
Successful Response
Async task ID; poll GET /search/lookalike/{task_id}.
Canonical search-history ID.
Initial task status.
Accounting for how an input seed set became analyzable profiles.
Show child attributes
Show child attributes
Was this page helpful?
⌘I