Skip to content

Developers

Enrichment API

Find people and firms, reveal contact details, and enrich LinkedIn URLs, charged from the workspace's credits.

The Enrichment API finds people at firms, reveals their email, phone number or full profile for your workspace, and enriches LinkedIn person and company URLs. Results come from Parcel’s index first and from Parcel’s data provider when the index has nothing fresh.

Credits

Enrichment draws your plan’s monthly credits first, then credits you bought. Prices are on the Credits page.

Anything you take out of Parcel is free to take out again for 30 days. After 30 days it is charged again, so you always work from the latest data.

A reveal is charged only when found. Revealing the same kind again within 30 days is free and answers already_revealed; after 30 days it is hidden, and revealing it again checks for the current value and is charged if found. Nothing is charged for a miss. Cached results are charged like fresh ones.

Before calling the provider, each request is checked against the most it could cost (a search’s limit times its firms; a reveal’s contacts not yet revealed). When that is not covered the request answers 402 and nothing runs.

Endpoints

OperationMethod + pathScope (API keys)
Find peoplePOST /enrich/people/searchworkspace:write
Find companiesPOST /enrich/companies/searchworkspace:write
Reveal a contactPOST /enrich/contacts/{id}/revealworkspace:write
Reveal up to 100 contactsPOST /enrich/contacts/reveal/batchworkspace:write
Enrich a LinkedIn URLPOST /enrich/linkedinworkspace:write
Enrich up to 100 LinkedIn URLsPOST /enrich/linkedin/batchworkspace:write
Your view of a contactGET /enrich/contacts/{id}workspace:read

API keys and MCP work on every plan. Every response is { data, metadata }, and metadata.credits (with metadata.microcredits) is what the call charged.

POST /enrich/people/search takes firms (account id, domain, name or LinkedIn company URL), project_ids (each project’s developer and owner firms), or both, up to 10 firms a call. It returns the people Parcel already lists at each firm first (source is parcel, and on_project is true for someone named on an asked project), then people new from Parcel’s data provider (source is provider). limit caps each source per firm. Only people in the asked role families or titles come back; with no family asked, the firm type’s usual roles stand in. Human resources and recruiting people come back only when asked for by title. A project search puts people in the project’s city or state first, and leaves out a firm’s people placed elsewhere, its principals aside, when it has anyone there.

A person Parcel already listed is charged as a contact record (0.05), a person new to Parcel the search price (0.004). Both are free to return again for 30 days. A person Parcel could not file comes back with a null contact_id and is never charged. metadata.known_results and metadata.new_results count the two sources, and metadata.projects_not_found lists project ids Parcel does not hold. See Find the people behind a project.

Reveals

POST /enrich/contacts/{id}/reveal takes { "kinds": ["email"] }; kinds are email, profile (employment history, education, skills) and phone (a mobile number). The answer carries an outcome per kind (revealed, already_revealed, not_found, unavailable, or error with a reason) and the values your workspace now holds. An error outcome was not charged. Retry one with a provider reason; one with reason insufficient_credits or spend_limit_exceeded needs credits or a higher spend limit first (two calls at the edge of the balance can both pass the check, and the second is refused after its provider call). When the balance covers some of the kinds asked for but not all, the ones it covers are revealed (emails first, then profiles, then phones) and the rest answer that error per contact; only a call that covers none answers 402. already_revealed with reason free_fact means the email or phone is public: it is the contact’s own email or phone, free on every contact route. A filed phone that is the firm’s main line, or shared with other contacts, is not the person’s own: a phone reveal looks theirs up, and the contact’s reach.phone_is_line says so beforehand. Each revealed value carries revealed_at and expires_at; after expires_at it reads as not revealed until you reveal it again.

Contact routes elsewhere in the API keep returning only the free email and phone. Add include=reveals to GET /workspace/contacts/{id} to add your workspace’s revealed values. The Data API (/data/*) stays global and never carries them.

Batches

The two /batch routes take 1-100 items ({ "ids": [...], "kinds": [...] } or { "urls": [...] }) and answer per item, in input order: { "index": 0, "status": "ok", "record": {...} } or { "index": 1, "status": "error", "error": { "code": "not_found", "message": "..." } }. One item failing never aborts the rest. A batch stops starting new items after 45 seconds; the rest answer ENRICH_DEADLINE and are not charged, so retry them.

Errors

StatusCodeMeaning
400bad_requestThe request or one item is malformed (for example a URL that is not a LinkedIn person or company page)
402ENRICH_INSUFFICIENT_CREDITSThe workspace’s credits cannot cover the most this call could cost
402ENRICH_SPEND_LIMIT_EXCEEDEDThe workspace’s spend limit would be passed; raise it in Settings
403forbiddenNot a member, a key without the scope, or a Spec call its workspace’s tool policy refuses
404not_foundNo contact has this id
502ENRICH_PROVIDER_ERRORThe provider failed; nothing was charged
503ENRICH_DISABLEDEnrichment is off; GET /enrich/contacts/{id} still answers
503ENRICH_PROVIDER_UNAVAILABLENo provider is available and nothing matching is cached