docsはこちら。
有償Planに申し込めば、もっと多くの情報が取得できる。
IPアドレス(8.8.8.8)に紐づく情報一般の取得
# curl https://ipinfo.io/8.8.8.8
{
"ip": "8.8.8.8",
"hostname": "dns.google",
"anycast": true,
"city": "Mountain View",
"region": "California",
"country": "US",
"loc": "37.4056,-122.0775",
"org": "AS15169 Google LLC",
"postal": "94043",
"timezone": "America/Los_Angeles",
"readme": "https://ipinfo.io/missingauth"
IPアドレス(8.8.8.8)に紐づくAS番号のみを取得
# curl https://ipinfo.io/8.8.8.8/org
AS15169 Google LLC