Lookup API

IP Address Lookup

Retrieve detailed information about an IP address, including organization, geolocation, ISP details, and metadata.

Returned Data When a match is found, the following fields are returned:

Organization fields

  • ipDomain
  • ipOrganization

Geo location fields

  • ipCountryName
  • ipCountryCode
  • ipRegionName
  • ipCity
  • ipSubContinent
  • ipLatitude
  • ipLongitude
  • ipTimezone

IP address details

  • ipIsp
  • ipRange
  • ipUsageType

Meta data

  • searchIp
  • searchResponseTimeMs
get/v1/ip-lookup

Request

  • Base URL: https://api.leadboxer.com
  • URL: https://api.leadboxer.com/v1/ip-lookup
  • Auth: API key in header x-api-key

Query parameters

ipstring required

IP address to lookup (IPv4|IPv6 format)

datasetIdstring

The dataset ID to associate with the operation’s credit. If not specified, a dataset linked to the account will be selected.

Response

Successfully retrieved IP information

ipRangestring

CIDR range in which the searched IP address belongs

ipCountryCodestring

ISO 3166-1 alpha-2 country code of the IP address

ipCountryNamestring

Full country name where the IP address is registered

ipSubContinentstring

Sub-continent or geographical region of the IP address

ipRegionNamestring

Administrative region or state of the IP address

ipCitystring

City associated with the IP address

ipLatitudestring

Latitude coordinate of the IP address location

ipLongitudestring

Longitude coordinate of the IP address location

ipTimezonestring

Timezone corresponding to the IP address location

ipIspstring

Internet Service Provider associated with the IP address

ipOrganizationstring

Registered organization or entity owning the IP address

ipDomainstring

Primary domain name associated with the IP address

ipUsageType'COM' | 'RES' | 'MOB' | 'DC' | 'EDU' | 'GOV'

Usage classification of the IP address

searchIpstring

IP address that was queried in the lookup request

searchResponseTimeMsinteger

Time taken to resolve the IP lookup, in milliseconds

Example response

{
  "ipRange": "193.8.9.0/24",
  "ipCountryCode": "CH",
  "ipCountryName": "Switzerland",
  "ipSubContinent": "Western Europe",
  "ipRegionName": "Basel-Stadt",
  "ipCity": "Basel",
  "ipLatitude": "47.5586",
  "ipLongitude": "7.57401",
  "ipTimezone": "Europe/Zurich",
  "ipIsp": "BNP Paribas S.A.",
  "ipOrganization": "BNP Paribas S.A.",
  "ipDomain": "group.bnpparibas",
  "ipUsageType": "COM",
  "searchIp": "193.8.9.0",
  "searchResponseTimeMs": 165
}

Changes

No recorded changes to this operation across all 1 revision of this API.