Skip to content

Instantly share code, notes, and snippets.

@akhil-reni
Created May 31, 2020 14:10
Show Gist options
  • Save akhil-reni/4ef4f79d30811b92d4b5b6c94d7200ab to your computer and use it in GitHub Desktop.
Save akhil-reni/4ef4f79d30811b92d4b5b6c94d7200ab to your computer and use it in GitHub Desktop.
Recon using spyse

Search ASN number using organization name

curl -X GET "https://api.spyse.com/v2/data/as/search?limit=100&search_params=%7B%22as_org%22%3A%5B%7B%22operator%22%3A%22contains%22%2C%22value%22%3A%22Oath%20Holdings%20Inc.%22%7D%5D%7D" -H "accept: application/json" -H "Authorization: Bearer token"

Fetch domains using ASN

curl -X GET "https://api.spyse.com/v2/data/as/domain?limit=100&asn=10310" -H "accept: application/json" -H "Authorization: Bearer token"

Fetch IPs using org name

curl -X GET "https://api.spyse.com/v2/data/ip?limit=100&as_org=Oath%20Holdings%20Inc." -H "accept: application/json" -H "Authorization: Bearer token"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment