Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Hitting /batch endpoint with mulitple IP addresses.
curl -XPOST -H "Content-Type: application/json" \
--data '["75.72.7.215/company", "8.8.4.4/asn"]' \
ipinfo.io/batch?token=$TOKEN # TOKEN contains your ipinfo token
# Response in JSON.
{
"75.72.7.215/company": {
"name": "Comcast Cable Communications, LLC",
"domain": "comcast.net",
"type": "isp"
},
"8.8.4.4/asn": {
"asn": "AS15169",
"name": "Google LLC",
"domain": "google.com",
"route": "8.8.4.0/24",
"type": "business"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.