Skip to main content
POST

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Headers

x-api-version
enum<string>
default:2025-11-01
required

API version to use. Batch job submission requires 2025-11-01; requests without this header are rejected with 400.

Available options:
2025-11-01
Example:

"2025-11-01"

Idempotency-Key
string

1 to 255 printable ASCII characters that name the job in your own system. A submit that repeats a key with the same request returns the first job with reused: true and its current status, and starts and charges nothing. The API compares the endpoint, the identifier type, the identifiers in the order you sent them (the identifier of a search job is its query), and the fields the job fetches. It compares those fields after it settles fields, in any order, so on /batch/company/enrich the lists ["basic_info.name"] and ["basic_info.primary_domain"] and a body with no fields count as the same request. It does not compare webhook_url, chunk_size, or the verified option of /batch/person/contact/enrich. The same key with a different request returns 409. A refused submit does not use up its key. A key does not expire: it keeps returning its job after the job ends, for as long as the job exists, so send a new key to run the same request again.

Required string length: 1 - 255
Pattern: ^[!-~]{1,255}$
Example:

"crm-sync-2026-11-27-001"

Body

application/json

The companies whose job listings to retrieve, plus optional field selection.

Request body for a batch job-listings search job. Provide the Crustdata company IDs whose listings you want; the job walks the paginated result set server-side and delivers every listing for those companies. There is no filters or max_results control on this endpoint.

crustdata_company_ids
integer[]
required

Crustdata company IDs whose job listings to retrieve. Maximum 10 per job — larger submissions are rejected with 400. Must be a JSON array of integers; a comma-separated string returns 400. Resolve IDs from a name, domain, or profile URL with the free /company/identify endpoint.

Maximum array length: 10

A Crustdata company ID.

Example:
fields

Optional list of dotted field paths to include in each record (also accepted as a single comma-separated string). When omitted, all fields permitted for your account are returned. An unsupported value returns 400 with the full list of selectable fields in metadata.available_fields. The selectable fields are the same as the non-batch /job/search endpoint.

Example:
webhook_url
string<uri>

Optional URL that receives a POST notification when the job finishes, so you do not have to poll.

Example:

"https://example.com/webhooks/crustdata-batch"

Response

The new batch job, or the first job when the submit repeats an Idempotency-Key with the same request (reused: true)

Returned immediately when a batch job is accepted. No data is returned at submit time. Poll status_url for progress and download links. A submit that repeats an Idempotency-Key with the same request returns the first job instead, with reused: true.

batch_id
string<uuid>
required

Unique ID of the batch job. Use it to poll GET /batch/{batch_id}.

Example:

"53ab686b-c054-496b-8baf-baff5ecc85cf"

status
enum<string>
required

Job status. A new job is always pending. A repeat of an Idempotency-Key returns the current status of the first job. Live repeats returned processing and completed. The API source shows that a repeat can also return pending or failed.

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

entity
enum<string>
required

Entity type the job operates on.

Available options:
company,
person,
job,
social_post
Example:

"company"

action
enum<string>
required

Internal action name for the job. Live endpoints report enrich_live / search_live, and batch live job search reports fetch. The person contact enrichment, identify and verification endpoints report contact_enrich, identify and verify.

Available options:
enrich,
enrich_live,
contact_enrich,
identify,
search,
search_live,
verify,
fetch
Example:

"enrich"

identifier_count
integer
required

Number of identifiers submitted. Search jobs always report 1 (the query).

Example:

2

entities_requested
integer
required

Number of entities the job was asked to produce. For enrich jobs this equals identifier_count; for search jobs it is 1 until results are known.

Example:

2

status_url
string
required

Relative URL to poll for the job status (GET /batch/{batch_id}).

Example:

"/batch/53ab686b-c054-496b-8baf-baff5ecc85cf"

reused
boolean

true when the submit repeats an Idempotency-Key with the same request. The response is the first job, and the API started and charged nothing. A new job has no reused field.

Example:

true