Skip to content

Instantly share code, notes, and snippets.

@cavemanguy
Created Sep 21, 2018
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