curl https://api.up2data.ai/v1/batch/job_7hd92kfa \
-H "X-API-Key: $UP2DATA_API_KEY"
{
"data": {
"job_id": "job_7hd92kfa",
"status": "completed",
"total": 1000,
"succeeded": 968,
"failed": 32,
"results": [
{
"type": "profile",
"url": "https://linkedin.com/in/a",
"status": "ok",
"data": { "full_name": "…", "headline": "…" }
},
{
"type": "company",
"url": "https://linkedin.com/company/acme",
"status": "ok",
"data": { "name": "Acme", "headcount": 512 }
}
],
"failures": [
{ "type": "profile", "url": "https://linkedin.com/in/gone", "status": "unprocessable_target" }
]
},
"meta": {
"creditsUsed": 968,
"creditsRemaining": 421032,
"billed": true,
"reason": "job_completed",
"requestId": "req_v82n1kd0"
}
}
Batch
Get a batch job
Poll an async job — status while processing, full results when done.
GET
/
v1
/
batch
/
{job_id}
curl https://api.up2data.ai/v1/batch/job_7hd92kfa \
-H "X-API-Key: $UP2DATA_API_KEY"
{
"data": {
"job_id": "job_7hd92kfa",
"status": "completed",
"total": 1000,
"succeeded": 968,
"failed": 32,
"results": [
{
"type": "profile",
"url": "https://linkedin.com/in/a",
"status": "ok",
"data": { "full_name": "…", "headline": "…" }
},
{
"type": "company",
"url": "https://linkedin.com/company/acme",
"status": "ok",
"data": { "name": "Acme", "headcount": 512 }
}
],
"failures": [
{ "type": "profile", "url": "https://linkedin.com/in/gone", "status": "unprocessable_target" }
]
},
"meta": {
"creditsUsed": 968,
"creditsRemaining": 421032,
"billed": true,
"reason": "job_completed",
"requestId": "req_v82n1kd0"
}
}
Cost: Free — poll as often as you like; item credits were billed as the job resolved.
string
required
From the batch submission response.
Response
string
processing | completed | failed.integer
integer
Resolved (and billed) items so far.
integer
Failed (not billed) items so far.
object[]
object[]
curl https://api.up2data.ai/v1/batch/job_7hd92kfa \
-H "X-API-Key: $UP2DATA_API_KEY"
{
"data": {
"job_id": "job_7hd92kfa",
"status": "completed",
"total": 1000,
"succeeded": 968,
"failed": 32,
"results": [
{
"type": "profile",
"url": "https://linkedin.com/in/a",
"status": "ok",
"data": { "full_name": "…", "headline": "…" }
},
{
"type": "company",
"url": "https://linkedin.com/company/acme",
"status": "ok",
"data": { "name": "Acme", "headcount": 512 }
}
],
"failures": [
{ "type": "profile", "url": "https://linkedin.com/in/gone", "status": "unprocessable_target" }
]
},
"meta": {
"creditsUsed": 968,
"creditsRemaining": 421032,
"billed": true,
"reason": "job_completed",
"requestId": "req_v82n1kd0"
}
}