We offer a free and simple API endpoint to grab all the hostnames for a domain b...

@shodan@mastodon.shodan.io

We offer a free and simple API endpoint to grab all the hostnames for a domain based on the certificate transparency logs: ctl.shodan.io/

Sample Python code available in the Shodan book: book.shodan.io/developer-apis/