To extract emails from a website, open its home, contact, imprint and about pages and copy the addresses published there. For one site, do it by hand. For a list of hundreds of company websites, run a contact details scraper that visits those pages for you and returns one row per website with emails, phone numbers, social links and the exact page each email and phone number came from, so you can check them before you send anything.
Is there an official API to get emails from a website?
No. A website is not a database with an email endpoint. Companies publish their contact details as ordinary page content: a mailto: link in the footer, a phone number on the contact page, a legal notice with the company name, links to their LinkedIn or Instagram profiles. There is no public API you can call with a domain and get those details back that we could confirm.
What exists are tools that read those pages for you.…