Skip to Content
Guides

Check an IP address

See the location, network type, and browser signals of the address your requests come from, or of any IP address.

The IP lookup API tells you how a site sees your connection. Open it through a proxy to confirm the exit country, whether the network looks like a datacenter or a residential ISP, and whether your browser sends consistent headers.

The API needs no API key. Lookups use only datasets bundled with the API; no third-party service is called while answering a request.

Check your own connection

Open https://api.runharvester.com/api/v1/ip in a browser, or call it from a script:

curl -s https://api.runharvester.com/api/v1/ip
{
  "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 },
  "client": {
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",
    "os": { "name": "Windows", "version": "10" },
    "browser": { "name": "Chrome", "version": "130.0.0.0", "engine": "Blink" },
    "device": { "type": "desktop" },
    "accept_language": "en-US,en;q=0.9"
  },
  "detection": { "verdict": "clean", "signals": [] }
}

The address is the one the request arrives from, so a request sent through a proxy reports the proxy's exit IP.

Check any IP address

Put an IPv4 or IPv6 address after the path:

curl -s https://api.runharvester.com/api/v1/ip/8.8.8.8
curl -s https://api.runharvester.com/api/v1/ip/2a01:4f8::1

The response has the same location, network, and reputation fields. It has no client or detection blocks, because those describe the caller's browser, not the looked-up address. A value that is not an IP address returns 400 with the VALIDATION_ERROR code.

Fields

FieldMeaning
country, continentISO country code and continent code with English names.
city, locationCity, coordinates rounded to four decimals, and the IANA time zone of the address.
asnAutonomous system number, owner name, and owner domain.
network.typedatacenter for hosting and published cloud ranges, residential for consumer ISPs, null when the network cannot be classified.
reputation.listed_as_proxytrue when the address appears in a known proxy list, null when that list is temporarily unavailable.
clientOperating system, browser, rendering engine, and device type parsed from the request's User-Agent.
detectionHeader-based signals that a site could use to flag the request.

A field that no dataset knows is null. The response is always sent with Cache-Control: no-store.

Detection signals

detection.verdict is clean when no signal fires and suspicious when at least one does. The checks read request headers only, so they cost nothing on the client and take microseconds on the server. They catch common configuration mistakes, not a carefully spoofed browser.

SignalWhat it means
headless_user_agentThe User-Agent names a headless browser.
unknown_browserNo browser could be identified, which is typical for HTTP libraries.
missing_accept_languageThe request has no Accept-Language header.
missing_sec_fetch_headersSec-Fetch-Mode, Sec-Fetch-Site, or Sec-Fetch-Dest is missing; modern browsers send all three.
client_hints_missingA Chromium User-Agent arrived without Sec-CH-UA.
client_hints_browser_mismatchThe Chromium version in Sec-CH-UA differs from the User-Agent.
client_hints_platform_mismatchSec-CH-UA-Platform names a different operating system than the User-Agent.
client_hints_mobile_mismatchSec-CH-UA-Mobile disagrees with the device type in the User-Agent.
language_country_mismatchThe region of the first Accept-Language entry, such as US in en-US, differs from the IP country. A language without a region is not compared.

Client Hints checks apply only to Chromium-based browsers, because Firefox and Safari do not send these headers.

Limits

Each path allows 120 requests per minute per caller IP address. Further requests return 429 with a Retry-After header.

Last updated on

On this page