Skip to Content
API referenceIP Lookup API

Describe an IPv4 or IPv6 address

Same location, network and proxy-list data as GET /api/v1/ip for the given address, without client or detection blocks. Data comes only from local datasets bundled with the API. Rate limited to 120 requests per minute per caller IP address.

GET
/api/v1/ip/{ip}

Same location, network and proxy-list data as GET /api/v1/ip for the given address, without client or detection blocks. Data comes only from local datasets bundled with the API. Rate limited to 120 requests per minute per caller IP address.

Path Parameters

ip*string

IPv4 or IPv6 address; IPv4-mapped IPv6 addresses are reported as IPv4.

Response Body

IP address information Error body uses the documented PublicError DTO.

application/json
  1. response
ip*string

Looked-up IP address in canonical form.

version*integer
Value in46
country*|null
continent*|null
city*string|null
location*|null
asn*|null
network*
reputation*
Example Request
curl -X GET 'https://api.runharvester.com/api/v1/ip/string' \  --header "X-API-Key: ${RUNHARVESTER_API_KEY:?Set your Data API key}"
Example Response
{  "ip": "8.8.8.8",  "version": 4,  "country": {    "code": "US",    "name": "United States"  },  "continent": {    "code": "NA",    "name": "North America"  },  "city": null,  "location": {    "latitude": 37.751,    "longitude": -97.822,    "timezone": "America/Chicago"  },  "asn": {    "number": 15169,    "name": "Google LLC",    "domain": "google.com"  },  "network": {    "type": "datacenter"  },  "reputation": {    "listed_as_proxy": false  }}