About this endpoint
What it does
Looks up location and network information for a single IP address and returns it as JSON. The response includes the looked-up ip plus geographic, ASN, ISP, timezone, and datacenter-related fields.
Path Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| ip | String | Yes | IP address to look up. |
Response
Returns a JSON object with an ip string field plus optional location and network fields: asn (integer or null), isp (string or null), city (string or null), region (string or null), asn_org (string or null), country (string or null), latitude (number or null), timezone (string or null), longitude (number or null), country_name (string or null), and is_datacenter (boolean or null).
| Parameter | Type | Description |
|---|---|---|
| ip | String | The IP address that was looked up. |
| asn | Integer | Autonomous System Number identifying the network operator. May be null. |
| isp | String | Internet Service Provider name. May be null. |
| city | String | City name where the IP is registered. May be null. |
| region | String | State or region within the country. May be null. |
| asn_org | String | Organization name running the ASN. May be null. |
| country | String | 2-letter ISO country code. May be null. |
| latitude | Number | Geographic latitude coordinate. May be null. |
| timezone | String | IANA timezone identifier. May be null. |
| longitude | Number | Geographic longitude coordinate. May be null. |
| country_name | String | Full country name. May be null. |
| is_datacenter | Boolean | Whether the IP belongs to a commercial cloud/datacenter provider. May be null. |



