Docs/Web Intel/GET /v1/geoip

GET /v1/geoipGeoIP lookup

Web Intel lf-web-intel

Tells you roughly where an IPv4 address is and who runs it. Looks up the geographical location of an IPv4 address. Returns country, region, city, coordinates, timezone, ISP, and organization.

Query Parameters

ParameterTypeRequiredDescription
ipstringNoIPv4 address (defaults to requester)

Response Schema

success (boolean): Operation success
ip (string): IP looked up
country (string): Country name
country_code (string): ISO country code
region (string): Region/state
city (string): City name
lat (number): Latitude
lon (number): Longitude
timezone (string): Timezone
isp (string): ISP name

cURL Example

curl 'https://lf-web-intel.laminarforge.dev/v1/geoip?ip=8.8.8.8' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-web-intel.laminarforge.dev/v1/geoip'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'ip': '8.8.8.8'}
response = requests.get(url, headers=headers, params=params)
print(response.json())