Skip to main content

POST /api/v1/public/lead-lists/:id/enrichment/

Enrich email addresses or phone numbers for prospects in a lead list. Credits are deducted upfront and enrichment happens asynchronously in the background. Auth: X-API-Key

Path Parameters

  • id (integer, required): Lead list ID

Request Body

Parameters

Enrichment Types

Response (Async Mode)

Response (Sync Mode)

Response Fields

How It Works

  1. Validation: Checks if you have enough credits
  2. Credit Deduction: Deducts credits upfront from your account
  3. Status Update: Sets prospects to “Loading…” status
  4. Background Processing: Enrichment happens asynchronously
  5. Auto-Update: Prospects are automatically updated when data is found

Important Notes

  • Asynchronous: Enrichment happens in the background. Results appear gradually.
  • Credit Deduction: Credits are deducted immediately, even if enrichment fails for some leads
  • Automatic Filtering: Only prospects without valid emails/phones are enriched
  • PEOPLE Lists Only: This endpoint only works for people lists, not company lists
  • Refunds: If an email/phone is not found, credits may be refunded (varies by type)

Error Responses

400 Bad Request - Insufficient Credits

400 Bad Request - Wrong List Type

400 Bad Request - Invalid Enrichment Type

404 Not Found

Example Usage

Async Mode (Default)

Sync Mode (Immediate Results)

Python Example: Async Mode with Webhook

Python Example: Sync Mode (Immediate Results)

Complete Workflow Example

Monitoring Enrichment Progress

Since enrichment happens asynchronously, you can poll the lead list to check progress:

Best Practices

  1. Check Cost First: Always use the count endpoint before enriching
  2. Start Small: Test with a small batch before enriching thousands
  3. Monitor Credits: Keep track of your credit balance
  4. Batch Processing: Enrich in batches rather than all at once
  5. Waterfall for Higher Success: Use FIND_EMAIL_WATERFALL for better results (costs more)
  6. Phone Last: Phone enrichment is expensive (30 credits) - use sparingly
  7. Check Results: Poll the lead list to verify enrichment completed successfully