Skip to content

Instantly share code, notes, and snippets.

@cavemanguy
Created September 21, 2018 05:20
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#curl -X POST "https://urlscan.io/api/v1/scan/" \
# -H "Content-Type: application/json" \
# -H "API-Key: $apikey" \
# -d "{\"url\": \"$url\", \"public\": \"on\"}"
#
# #echo list|tr -d "\r"|while read url; do;
# curl -X POST "https://urlscan.io/api/v1/scan/" \
# -H "Content-Type: application/json" \
# -H "API-Key: $apikey" \
# -d "{\"url\": \"$url\", \"public\": \"on\"}"
# sleep 2;
#done
# The curl line below will fetch results.
# curl https://urlscan.io/api/v1/result/$uuid/
# curl https://urlscan.io/screenshots/$uuid.png
# curl https://urlscan.io/dom/$uuid/
# curl "https://urlscan.io/api/v1/search/?q=domain:urlscan.io"
#
#q
# The query term (ElasticSearch simple query string). Default: "*"
#size
# Number of results returned. Default: 100
#offset
# Offset of first result (for paginating). Default: 0
#sort
# Sorting, specificied via $sort_field:$sort_order. Default: _score
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment