# Pretty-print the whole response
curl -s https://api.github.com/users/torvalds | jq .
# Extract a specific field
curl -s https://api.github.com/users/torvalds | jq -r .login
# Get an array, then iterate keys + values
curl -s https://api.github.com/users/torvalds/repos | jq -r '.[].name' | head
# Compose into a custom shape
curl -s https://api.github.com/users/torvalds/repos | \
jq '[.[] | {name, stars: .stargazers_count, lang: .language}]'
# Without jq — readable enough for quick checks
curl -s https://api.example.com/data | python3 -m json.tool
Create a free account and build your private vault. Share publicly whenever you want.