Batch Enrich Profiles
Apply one quick, partial, full, or regenerate operation to as many as 20 known Orbit profile IDs or slugs.
curl --request POST \
--url https://api.orbitsearch.com/v3/enrich \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "batch-full-001",
"profile_ids": [
"profile_123",
"profile_456"
],
"operation": "full",
"include_profile": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
request_id: 'batch-full-001',
profile_ids: ['profile_123', 'profile_456'],
operation: 'full',
include_profile: true
})
};
fetch('https://api.orbitsearch.com/v3/enrich', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.orbitsearch.com/v3/enrich"
payload = {
"request_id": "batch-full-001",
"profile_ids": ["profile_123", "profile_456"],
"operation": "full",
"include_profile": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"request_id": "<string>",
"status": "running",
"results": [
{
"request_id": "<string>",
"profile_id": "<string>",
"status": "running",
"operation": "quick",
"include_profile": true,
"generation_level": 2,
"links": {
"profile": "<string>",
"status": "<string>"
},
"profile": {
"id": "<string>",
"generationLevel": 2,
"avatarUrl": "<string>",
"verified": true,
"sections": {},
"sources": [
{
"link": "<string>",
"title": "<string>",
"summary": "<string>",
"caption": "<string>",
"images": [
"<string>"
],
"sourceName": "<string>",
"sourceImage": "<string>",
"chunks": [
{
"text": "<string>"
}
],
"sources": "<array>"
}
],
"displayName": "<string>",
"personName": "<string>",
"aliases": [
"<string>"
],
"profileUrl": "<string>",
"slug": "<string>",
"category": {
"id": "<string>",
"label": "<string>"
},
"location": {
"city": "<string>",
"region": "<string>",
"country": "<string>"
},
"headline": {
"jobTitle": "<string>",
"companyName": "<string>",
"schoolName": "<string>"
},
"emails": [
"jsmith@example.com"
],
"phoneNumbers": [
"<string>"
],
"addresses": [
{}
]
},
"failure": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"reason": "<string>",
"suggested_inputs": [
"<string>"
]
},
"billing": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pricingVersion": "<string>",
"reservedCredits": 1,
"consumedCredits": 1,
"releasedCredits": 1,
"heldCredits": 1,
"status": "open"
}
}
]
}{
"request_id": "<string>",
"status": "running",
"results": [
{
"request_id": "<string>",
"profile_id": "<string>",
"status": "running",
"operation": "quick",
"include_profile": true,
"generation_level": 2,
"links": {
"profile": "<string>",
"status": "<string>"
},
"profile": {
"id": "<string>",
"generationLevel": 2,
"avatarUrl": "<string>",
"verified": true,
"sections": {},
"sources": [
{
"link": "<string>",
"title": "<string>",
"summary": "<string>",
"caption": "<string>",
"images": [
"<string>"
],
"sourceName": "<string>",
"sourceImage": "<string>",
"chunks": [
{
"text": "<string>"
}
],
"sources": "<array>"
}
],
"displayName": "<string>",
"personName": "<string>",
"aliases": [
"<string>"
],
"profileUrl": "<string>",
"slug": "<string>",
"category": {
"id": "<string>",
"label": "<string>"
},
"location": {
"city": "<string>",
"region": "<string>",
"country": "<string>"
},
"headline": {
"jobTitle": "<string>",
"companyName": "<string>",
"schoolName": "<string>"
},
"emails": [
"jsmith@example.com"
],
"phoneNumbers": [
"<string>"
],
"addresses": [
{}
]
},
"failure": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"reason": "<string>",
"suggested_inputs": [
"<string>"
]
},
"billing": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pricingVersion": "<string>",
"reservedCredits": 1,
"consumedCredits": 1,
"releasedCredits": 1,
"heldCredits": 1,
"status": "open"
}
}
]
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}curl -X POST "https://api.orbitsearch.com/v3/enrich" \
-H "Authorization: Bearer $ORBIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"profile_ids": ["profile_123", "profile_456"],
"operation": "full",
"include_profile": true
}'
Request Body
| Field | Type | Default | Description |
|---|---|---|---|
profile_ids | string[] | Required | Between 1 and 20 Orbit profile IDs or slugs. Duplicate entries are normalized. The field name remains profile_ids. |
operation | quick, partial, full, or regenerate | Required | Operation applied to every profile. See Operation behavior. |
include_profile | boolean | true | Embed each child result’s full public profile when one is available. |
face_search | boolean | false | Apply portrait-based source expansion to every profile during full enrichment or regenerate. |
face_search: true, full and regenerate start full-generation work for each profile, including profiles already at Level 3. Each profile has its own credit reservation and final charge.
Response
{
"request_id": "batch-full-001",
"status": "running",
"results": [
{
"request_id": "batch-full-001:profile_123",
"profile_id": "profile_123",
"status": "completed",
"operation": "full",
"include_profile": true,
"generation_level": 3,
"profile": {
"id": "profile_123",
"displayName": "Example Person",
"generationLevel": 3
},
"links": {
"profile": "/v3/enrich/profile_123"
}
},
{
"request_id": "batch-full-001:profile_456",
"profile_id": "profile_456",
"status": "running",
"operation": "full",
"include_profile": true,
"generation_level": 2,
"links": {
"status": "/v3/enrich/requests/batch-full-001%3Aprofile_456",
"profile": "/v3/enrich/profile_456"
}
}
]
}
running, completed, or completed_with_errors. Each result has its own child request_id and status.
A child request_id has the form {batch request_id}:{identifier}, where the identifier is the entry you sent in profile_ids. URL-encode it when you build a status URL yourself; links.status is already encoded. A child that completes in the batch response carries links.profile only, and omits billing when Orbit served it from the stored profile. GET /v3/enrich/requests/{request_id} answers for every child that Orbit accepted, including one that completed in the batch response.
links.status URL until it completes or fails.202 Accepted if any child is running and 200 OK otherwise. It requires search:read; include_profile: true also requires profile:read. Each profile uses the same API credit rates as single-profile enrichment.Headers
Body
Use quick for identity and contact data (every known profile already holds it, so quick returns the current profile at once), partial for a useful profile, full for the deepest available profile, or regenerate to rebuild a fresh full profile. face_search works with full and regenerate, and starts full-generation work even for an already-full profile.
quick, partial, full, regenerate Apply portrait-based source expansion to every profile with operation=full or operation=regenerate. Candidate discovery is not required. Rejects operation=partial and operation=quick. Starts full-generation work even for already-full profiles; each profile has its own reservation and charge.
Significantly more expensive: 10 credits total per generated profile instead of the normal 1 (10x). Use only when you need maximum coverage of a person. Reserves up to 10 credits per eligible profile. A successful face-search provider response, including an empty result, charges the 10-credit inclusive total even if later generation fails. With no usable portrait or all providers failing, ordinary delivered-depth pricing applies.
curl --request POST \
--url https://api.orbitsearch.com/v3/enrich \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "batch-full-001",
"profile_ids": [
"profile_123",
"profile_456"
],
"operation": "full",
"include_profile": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
request_id: 'batch-full-001',
profile_ids: ['profile_123', 'profile_456'],
operation: 'full',
include_profile: true
})
};
fetch('https://api.orbitsearch.com/v3/enrich', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.orbitsearch.com/v3/enrich"
payload = {
"request_id": "batch-full-001",
"profile_ids": ["profile_123", "profile_456"],
"operation": "full",
"include_profile": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"request_id": "<string>",
"status": "running",
"results": [
{
"request_id": "<string>",
"profile_id": "<string>",
"status": "running",
"operation": "quick",
"include_profile": true,
"generation_level": 2,
"links": {
"profile": "<string>",
"status": "<string>"
},
"profile": {
"id": "<string>",
"generationLevel": 2,
"avatarUrl": "<string>",
"verified": true,
"sections": {},
"sources": [
{
"link": "<string>",
"title": "<string>",
"summary": "<string>",
"caption": "<string>",
"images": [
"<string>"
],
"sourceName": "<string>",
"sourceImage": "<string>",
"chunks": [
{
"text": "<string>"
}
],
"sources": "<array>"
}
],
"displayName": "<string>",
"personName": "<string>",
"aliases": [
"<string>"
],
"profileUrl": "<string>",
"slug": "<string>",
"category": {
"id": "<string>",
"label": "<string>"
},
"location": {
"city": "<string>",
"region": "<string>",
"country": "<string>"
},
"headline": {
"jobTitle": "<string>",
"companyName": "<string>",
"schoolName": "<string>"
},
"emails": [
"jsmith@example.com"
],
"phoneNumbers": [
"<string>"
],
"addresses": [
{}
]
},
"failure": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"reason": "<string>",
"suggested_inputs": [
"<string>"
]
},
"billing": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pricingVersion": "<string>",
"reservedCredits": 1,
"consumedCredits": 1,
"releasedCredits": 1,
"heldCredits": 1,
"status": "open"
}
}
]
}{
"request_id": "<string>",
"status": "running",
"results": [
{
"request_id": "<string>",
"profile_id": "<string>",
"status": "running",
"operation": "quick",
"include_profile": true,
"generation_level": 2,
"links": {
"profile": "<string>",
"status": "<string>"
},
"profile": {
"id": "<string>",
"generationLevel": 2,
"avatarUrl": "<string>",
"verified": true,
"sections": {},
"sources": [
{
"link": "<string>",
"title": "<string>",
"summary": "<string>",
"caption": "<string>",
"images": [
"<string>"
],
"sourceName": "<string>",
"sourceImage": "<string>",
"chunks": [
{
"text": "<string>"
}
],
"sources": "<array>"
}
],
"displayName": "<string>",
"personName": "<string>",
"aliases": [
"<string>"
],
"profileUrl": "<string>",
"slug": "<string>",
"category": {
"id": "<string>",
"label": "<string>"
},
"location": {
"city": "<string>",
"region": "<string>",
"country": "<string>"
},
"headline": {
"jobTitle": "<string>",
"companyName": "<string>",
"schoolName": "<string>"
},
"emails": [
"jsmith@example.com"
],
"phoneNumbers": [
"<string>"
],
"addresses": [
{}
]
},
"failure": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"reason": "<string>",
"suggested_inputs": [
"<string>"
]
},
"billing": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pricingVersion": "<string>",
"reservedCredits": 1,
"consumedCredits": 1,
"releasedCredits": 1,
"heldCredits": 1,
"status": "open"
}
}
]
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}{
"status": "failed",
"error": {
"code": "<string>",
"message": "<string>",
"requiredCredits": 1,
"remainingCredits": 1
}
}