Skip to content

curl | Cheatsheet


curl l2.io/ip
curl https://echoip.de
curl ifconfig.me
curl ipecho.net/plain
curl -L ident.me
curl -L canihazip.com/s
curl -L tnx.nl/ip
curl wgetip.com
curl whatismyip.akamai.com
curl ip.tyk.nu
curl bot.whatismyipaddress.com
curl curlmyip.net
curl api.ipify.org
curl ipv4bot.whatismyipaddress.com
curl ipcalf.com
curl ipaddy.net
curl eth0.me
curl ipaddr.site
curl ifconfig.co
curl ifconfig.pro
curl curlmyip.net
curl ipinfo.io/ip
curl icanhazip.com
curl checkip.amazonaws.com
curl smart-ip.net/myip
curl ip-api.com/line?fields=query
curl ifconfig.io/ip
curl -s ip.liquidweb.com
curl ifconfig.es
curl ipaddress.sh
curl 2ip.ru

Get cryptocurrencies exchange rates

screenshot_2022-10-22-05_5706

curl rate.sx

Fetch etherum prices

curl rate.sx/eth      

Covid-19

curl https://corona-stats.online

UNIX/Linux commands Cheatsheets using curl (chubin/cheat.sh)

cheat sh

curl cheat.sh 

Subnet calculator

curl 'https://api.hackertarget.com/subnetcalc/?q=192.168.1.0/24' 

Monitor server

ping

curl ping.gl

Check status pages of common services

status

curl https://status.plaintext.sh/t

Title/URL of latest upload from indicated YouTube channel

curl -s "https://decapi.me/youtube/latest_video?user=NPR" 

Last tweet from indicated account

curl -s "https://decapi.me/twitter/latest?name=NPR" 

check if indicated twitch channel is online

curl -s "https://decapi.me/twitch/uptime?channel=IGN"

HTTP request and response Service (e.g. send response after 4 seconds)

curl -s "https://httpbin.org/delay/4" - 

HTTP response defined in the request parameters

curl -s "https://urlecho.appspot.com/echo?body=Hello+World" - 

HTTP proxy makes new requests based on input parameters

curl -s "https://urlreq.appspot.com/req?method=GET&url=https://l2.io/ip"

TCP port scan using NMAP

curl -s "https://api.hackertarget.com/nmap/?q=8.8.8.8"
curl -s "https://api.hackertarget.com/pagelinks/?q=msn.com" 

Whois lookup

curl -s "https://api.hackertarget.com/whois/?q=google.com" 

Useful tool to retrieve fake api data

curl -s "https://jsonplaceholder.typicode.com/users"

Get weather

curl wttr.in      

Get weather in Paris

curl wttr.in/Paris    

Get help from wttr

curl wttr.in/:help

QR code generator

curl qrenco.de        

QR code generator for the string "input"

curl qrenco.de/input  

Dictonary (e.g. search for the word "internet")

curl dict://dict.org/d:internet   

USD to BTC

echo "1 BTC = $(curl -s https://api.coindesk.com/v1/bpi/currentprice/usd.json \
    |grep -o 'rate":"[^"]*' \
    |cut -d\" -f3) USD"

Shorten url (e.g. shorten "https://youtube.com")

curl -F'shorten=https://youtube.com' https://0x0.st   

Get the dancing parrot

curl parrot.live     

generate a QR code in the terminal

echo https://www.gentoo.org/ | curl -F-=\<- qrenco.de