Async Processing and Webhook Callbacks
Synchronous Mode
For batches of up to 10,000 domains, synchronous mode returns results directly in the HTTP response. The connection stays open while processing completes, typically finishing in 5 to 30 seconds depending on batch size. This mode is ideal for interactive applications, dashboards, and workflows where the calling process needs immediate results. A progress header is sent periodically to prevent client-side timeouts during processing.
Asynchronous Mode
Batches exceeding 10,000 domains or explicit async requests return immediately with a job ID and status URL. Your application can poll the status endpoint to track progress as a percentage, or register a webhook URL to receive a POST notification when processing completes. The webhook payload includes a download URL for the results file, summary statistics, and any errors encountered during processing.
Webhook Configuration
Register webhook endpoints that receive signed POST notifications at key processing milestones: job accepted, 50% complete, processing finished, and results available for download. Each webhook includes an HMAC-SHA256 signature header computed with your API secret, allowing your server to verify authenticity. Retry logic delivers failed webhooks up to five times with exponential backoff. You can configure multiple webhook URLs per job for redundancy or to notify different systems.