Skip to main content

Get Details for IP Address

This request returns data for the specified IP address.

get /lookup/lookup/ip_addresses/{ip_address}

Sample

A sample GET request to get the IP address details:

curl -X GET \
'https://api.carrierx.com/core/v2/lookup/ip_addresses/8.8.8.8' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response

200 status code with the with the IP address details:

{
"city": "Mountain View",
"common_name": "United States",
"iso_3166_alpha_2": "US",
"iso_3166_alpha_3": "USA",
"region": null,
"state": "CA"
}

This request is enabled for Field Filtering.

Required Scopes

To query information for IP addresses the partner must have the following scope enabled:

  • lookup.ip_addresses.read
tip

Contact technical support at support@carrierx.com to enable this option.

Path Arguments

ParameterData TypeDescription
ip_address requiredstringThe IP address to look up.