Errors
Every job ends as completed or failed, with the reason. Problems come back as clear HTTP codes.
A FastAPI service that opens each website in a real browser and returns structured lead data. n8n, Make or a CRM sends the URL and gets the result pushed back to its webhook when it's ready, signed so it can trust it.
Kestlow Roofing, a made-up roofer put online only for this test, sent through an n8n form.
A row in the sheet 14 seconds later: 55/100 and five reasons to call (Jobber but no online booking, no chat, no call or book button on the first phone screen, an old copyright year, no social profiles), with the phone and email cleaned up.
A fake result, a private network address, a site that won't load and a request without a key: each one was refused or failed with a clear reason.
The same rules I check in every health check, and how this system handles them.
Every job ends as completed or failed, with the reason. Problems come back as clear HTTP codes.
Timeouts, network errors and rate limits are retried with exponential backoff; a site that blocks the browser opens a circuit breaker instead of being hammered. Webhook deliveries are retried too, and the job shows whether it arrived.
Every call needs an API key in the X-API-Key header. Every webhook is signed with HMAC-SHA256, so the receiver can check it came from this API.
JSON logs with a request ID and timing for every call.
Agencies that sell to local businesses: check a prospect list before outreach and send each lead to the CRM with a real reason to call.