Submit discovered hostnames. With the request header 'Content-Encoding: gzip' it is also possible to submit gzip'd data

The hostnames can be sent in the body of the request. E.g., you can put one hostname per line.

sub1.example.com
sub2.example.net
sub1.sub2.sub3.example.org

You can send your hostnames either gzip-compressed

curl -X POST \
     --url https://api.securitytrails.com/v1/submit/hostnames \
     -H 'Content-Encoding: gzip' \
     --header 'APIKEY: YOUR_KEY' \
     --data-binary "@testfile.txt.gz"

or without compression

curl -X POST \
     --url https://api.securitytrails.com/v1/submit/hostnames \
     --header 'APIKEY: YOUR_KEY' \
     --data-binary "@testfile.txt"

📘

Request size limit

There is a request size limit of 100MB.

Language
Credentials
Header