❯ curl myip.threatbear.co

Additional information

IP address 216.73.216.108
Decimal 3628718188

Location

No coordinates available for this IP address.

API

All data is available programmatically. When using curl, pass the -s flag to hide the progress bar.

Plain text

These endpoints return plain text by default, with a trailing newline at the end.

Command Response
curl myip.threatbear.co 216.73.216.108
  • Set the Accept: application/json header to request response as JSON.
  • Append ?ip=IP to the request URL to lookup information for a different IP. This is not supported for the /port endpoint.

JSON

These endpoints always return JSON.

Command Description
curl myip.threatbear.co/json Retrieve all IP information. See response.

Response

{
  "ip": "216.73.216.108",
  "ip_decimal": 3628718188,
  "country_eu": false,
  "user_agent": {
    "product": "Mozilla",
    "version": "5.0",
    "comment": "AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)",
    "raw_value": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
  }
}

Port response

This is an example response. The actual result depends on the reachability of the queried port.

{
  "ip": "216.73.216.108",
  "port": 443,
  "reachable": false
}