Get Geolocation
Table of Contents
Expand all | Collapse all
-
- Get Session Details
- Get Sample Analysis
- Get Tags
- Get Tag Details
- Get Threat Indicator Feed
- Get Custom Threat Indicator Feed
- Get Threat Intelligence Card Summary
- Export List
- Get Anti-spyware, Vulnerability, and File-Format Signature
- Get Antivirus Signature
- Get DNS Signature
- Get Geolocation
- Get Anti-spyware, Vulnerability, and File-Format Release Info
Get Geolocation
Use this resource to get geolocation information based
on the specified IP address.
Resource
https://autofocus.paloaltonetworks.com/api/intel/v1/ip/{ip_address}/geolocation
Request Parameters
The following table describes the parameters
used with this endpoint.
Parameters | Description | Type | Example or Possible Values |
---|---|---|---|
apiKey | (Required) API key tied to your license.
All users attached to a license share a single API key. | string | Example (obfuscated): d32108a5-XXX-XXXX-XXXX-c04bda5b8450 |
{ip_address} | (Required) The IP address from which you want
to retrieve the geolocation information. | string | A valid IP address. Example:
|
JSON Sample
Request
Include
the API key and IP address in the resource URL.
curl -X GET "https://autofocus.paloaltonetworks.com/api/intel/v1/ip/1.1.1.2/geolocation?api_key=apiKey" -H "accept: application/json"
Response
The
response contains the geolocation information related to an IP address.
{ "Ip_address": "1.1.1.2", "Geolocation": "AU (Australia)", "Autonomous_system": "13335 (CLOUDFLARENET - Cloudflare, Inc., US)", "Status": "N/A", "Feed_Name": "", "First_release": "" }