curl /1.1.1.1
Note:
- f : specify a apex domain filter. ex:
curl /1.1.1.1?f=abc.com- l : specify the number of results to return (max 100). ex:
curl /1.1.1.1?l=70
/24, /16 and /8 blocks can be looked up
curl /api/v1/lookup -X POST -d' { "ip_address":"1.1.1.0/24", "limit": 10 }' -s
Note:
- tld : arrays of tld's to filter. ex: {"tld":["com","de"]}
- apex_domain: filter results by a single apex_domain. ex: {"apex_domain":"google.com"}
- page_state - used to navigate to next page, place page_state recieved from the previous page here.
- tld and apex_domain filters cannot be used for ip-block lookups.
curl /api/v1/lookup -X POST -d' { "ip_address":"1.1.1.1", "limit": 10 }' -s
Find all domains pointing to a given target_domain
Note:
- apex_domain - used to filter result base on the apex domain.
- page_state - used to navigate to next page, place page_state recieved from the previous page here.
curl /api/v1/lookup/cnames -X POST -d' { "target_domain":"google.com", "limit": 10 }' -s
Find all subdomains of a given domain
Note:
- page_state - used to navigate to next page, place page_state recieved from the previous page here.
curl /api/v1/lookup/subdomains -X POST -d' { "domain":"github.com", "limit": 10 }' -s
Note:
- hide_header - when set to true hides csv column names.
- apex_domain - can be used to filter downloads by apex domain.
- tld - can be used to filter downloads by tld.
- limit - limit number of results returned (max: 50000).
curl '/api/v1/download?ip_address=1.1.1.1&limit=500&hide_header=true' -o results.csv
Note:
- hide_header - when set to true hides csv column names.
- apex_domain - can be used to filter downloads by apex domain.
- limit - limit number of results returned (max: 50000).
curl '/api/v1/subdomains/download?domain=thc.org&limit=500&hide_header=true' -o results.csv
Note:
- hide_header - when set to true hides csv column names.
- apex_domain - can be used to filter downloads by apex domain.
- limit - limit number of results returned (max: 50000).
curl '/api/v1/cnames/download?target_domain=google.com&limit=500&hide_header=true' -o results.csv