Skip to content

Instantly share code, notes, and snippets.

@cavemanguy
Created September 21, 2018 05:20
Show Gist options
  • Save cavemanguy/70d62e5dd72026a48604f04441ca3637 to your computer and use it in GitHub Desktop.
Save cavemanguy/70d62e5dd72026a48604f04441ca3637 to your computer and use it in GitHub Desktop.
#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