curl --request POST \
--url https://api.sixtyfour.ai/company-intelligence-async \
--header 'Content-Type: application/json' \
--data '
{
"struct": {},
"target_company": {},
"find_people": false,
"people_focus_prompt": "<string>",
"lead_struct": {},
"research_plan": "<string>",
"full_org_chart": false,
"webhook_url": "<string>",
"field_confidence": true
}
'import requests
url = "https://api.sixtyfour.ai/company-intelligence-async"
payload = {
"struct": {},
"target_company": {},
"find_people": False,
"people_focus_prompt": "<string>",
"lead_struct": {},
"research_plan": "<string>",
"full_org_chart": False,
"webhook_url": "<string>",
"field_confidence": True
}
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({
struct: {},
target_company: {},
find_people: false,
people_focus_prompt: '<string>',
lead_struct: {},
research_plan: '<string>',
full_org_chart: false,
webhook_url: '<string>',
field_confidence: true
})
};
fetch('https://api.sixtyfour.ai/company-intelligence-async', 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/company-intelligence-async",
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([
'struct' => [
],
'target_company' => [
],
'find_people' => false,
'people_focus_prompt' => '<string>',
'lead_struct' => [
],
'research_plan' => '<string>',
'full_org_chart' => false,
'webhook_url' => '<string>',
'field_confidence' => true
]),
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/company-intelligence-async"
payload := strings.NewReader("{\n \"struct\": {},\n \"target_company\": {},\n \"find_people\": false,\n \"people_focus_prompt\": \"<string>\",\n \"lead_struct\": {},\n \"research_plan\": \"<string>\",\n \"full_org_chart\": false,\n \"webhook_url\": \"<string>\",\n \"field_confidence\": true\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/company-intelligence-async")
.header("Content-Type", "application/json")
.body("{\n \"struct\": {},\n \"target_company\": {},\n \"find_people\": false,\n \"people_focus_prompt\": \"<string>\",\n \"lead_struct\": {},\n \"research_plan\": \"<string>\",\n \"full_org_chart\": false,\n \"webhook_url\": \"<string>\",\n \"field_confidence\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/company-intelligence-async")
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 \"struct\": {},\n \"target_company\": {},\n \"find_people\": false,\n \"people_focus_prompt\": \"<string>\",\n \"lead_struct\": {},\n \"research_plan\": \"<string>\",\n \"full_org_chart\": false,\n \"webhook_url\": \"<string>\",\n \"field_confidence\": true\n}"
response = http.request(request)
puts response.read_body{
"status": "RUNNING",
"task_id": "job_123"
}{
"detail": "Invalid request body"
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient API credits"
}{
"detail": "High tier company enrichment is not enabled for this org. Contact sales to request access."
}{
"detail": "Job not found"
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded"
}{
"detail": "Internal server error"
}{
"detail": "Could not verify the API key right now. Retry shortly."
}Company Intelligence (Async)
Find and enrich a single company; returns a job ID to poll.
curl --request POST \
--url https://api.sixtyfour.ai/company-intelligence-async \
--header 'Content-Type: application/json' \
--data '
{
"struct": {},
"target_company": {},
"find_people": false,
"people_focus_prompt": "<string>",
"lead_struct": {},
"research_plan": "<string>",
"full_org_chart": false,
"webhook_url": "<string>",
"field_confidence": true
}
'import requests
url = "https://api.sixtyfour.ai/company-intelligence-async"
payload = {
"struct": {},
"target_company": {},
"find_people": False,
"people_focus_prompt": "<string>",
"lead_struct": {},
"research_plan": "<string>",
"full_org_chart": False,
"webhook_url": "<string>",
"field_confidence": True
}
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({
struct: {},
target_company: {},
find_people: false,
people_focus_prompt: '<string>',
lead_struct: {},
research_plan: '<string>',
full_org_chart: false,
webhook_url: '<string>',
field_confidence: true
})
};
fetch('https://api.sixtyfour.ai/company-intelligence-async', 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/company-intelligence-async",
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([
'struct' => [
],
'target_company' => [
],
'find_people' => false,
'people_focus_prompt' => '<string>',
'lead_struct' => [
],
'research_plan' => '<string>',
'full_org_chart' => false,
'webhook_url' => '<string>',
'field_confidence' => true
]),
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/company-intelligence-async"
payload := strings.NewReader("{\n \"struct\": {},\n \"target_company\": {},\n \"find_people\": false,\n \"people_focus_prompt\": \"<string>\",\n \"lead_struct\": {},\n \"research_plan\": \"<string>\",\n \"full_org_chart\": false,\n \"webhook_url\": \"<string>\",\n \"field_confidence\": true\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/company-intelligence-async")
.header("Content-Type", "application/json")
.body("{\n \"struct\": {},\n \"target_company\": {},\n \"find_people\": false,\n \"people_focus_prompt\": \"<string>\",\n \"lead_struct\": {},\n \"research_plan\": \"<string>\",\n \"full_org_chart\": false,\n \"webhook_url\": \"<string>\",\n \"field_confidence\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sixtyfour.ai/company-intelligence-async")
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 \"struct\": {},\n \"target_company\": {},\n \"find_people\": false,\n \"people_focus_prompt\": \"<string>\",\n \"lead_struct\": {},\n \"research_plan\": \"<string>\",\n \"full_org_chart\": false,\n \"webhook_url\": \"<string>\",\n \"field_confidence\": true\n}"
response = http.request(request)
puts response.read_body{
"status": "RUNNING",
"task_id": "job_123"
}{
"detail": "Invalid request body"
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient API credits"
}{
"detail": "High tier company enrichment is not enabled for this org. Contact sales to request access."
}{
"detail": "Job not found"
}{
"detail": [
{
"loc": [
"body",
"target_company",
"domain"
],
"msg": "Field required",
"type": "missing",
"input": null,
"ctx": {}
}
]
}{
"detail": "Rate limit exceeded"
}{
"detail": "Internal server error"
}{
"detail": "Could not verify the API key right now. Retry shortly."
}Headers
Body
Mapping of output field name to natural-language description of what to extract. A field that asks for an image (a headshot, a logo, a screenshot of a page) is returned as a permanent image URL on api.sixtyfour.ai/v1/media, hosted by Sixtyfour; embed it directly.
Company identifiers (e.g. company_name, domain, linkedin).
If true, also discover key people at the company.
Natural-language description of which people to surface when find_people=true.
Output schema for each discovered person when find_people=true.
Optional natural-language plan that guides the research agent.
Quality and cost tier for the research agent.
low, micro, medium, high If true, return the full org chart instead of a focused list.
HTTPS URL that receives the result payload when the async job completes.
1 - 2083If true, return each requested field's confidence (0-100), justification and source URLs, nested like the request.
Response
Successful Response
Async company-intelligence kickoff.
Async job ID. Poll GET /job-status/{task_id} for status and results.
Initial job status.
"RUNNING"Request fields we do not recognize and therefore ignored, so an instruction that silently did nothing is visible rather than assumed to have applied. Absent when every field was understood.
Was this page helpful?