Disclosure: I publish the Apify actor used below (pennydata/website-contact-extractor) and earn a fee when it runs. This post was written with AI assistance (Claude). Prices are copied from the public Apify Store API on 2026-10-22 and can change; check the actor pages before you rely on them.
Task: you have a list of company websites and want, for each one, the URL of its contact page and of the page that holds its contact form. website-contact-extractor does that and returns one row per input site.
1. curl (one call, small lists)
curl -s -X POST \ "https://api.apify.com/v2/acts/pennydata~website-contact-extractor/run-sync-get-dataset-items?token= $APIFY_TOKEN " \ -H "Content-Type: application/json" \ -d '{"urls":[{"url":"https://apify.com"},{"url":"https://example.com"}],"maxCostUsd":0.05}'
Enter fullscreen mode
Exit fullscreen mode
The sync endpoint can time out on big lists; for those use the async run in step 2. maxCostUsd caps what a run can bill.
2.…