Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.greip.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

In both IP Geolocation and IP Lookup endpoints you can pass the security module to the params query parameter in order to get full insights about the security threats of that specific IP address.

Sample Request

curl --request GET \
  --url 'https://greipapi.com/geoip?params=security' \
  --header 'Authorization: Bearer <token>'

Sample Response

{
  "data": {
    "ip": "165.227.149.217",
    "ipType": "IPv4",
    "IPNumber": 2783155673,
    "continentName": "Europe",
    "continentCode": "EU",
    "countryCode": "DE",
    "continentGeoNameID": 6255148,
    "countryName": "Germany",
    "countryGeoNameID": 2921044,
    "regionName": "Hessen",
    "cityName": "Frankfurt am Main",
    "zipCode": "65931",
    "latitude": "50.115520",
    "longitude": "8.684170",
    // ↓↓ this added here ↓↓
    "security": {
      "isProxy": true,
      "proxyType": "VPN",
      "isTor": false,
      "isBot": false,
      "isRelay": false,
      "isHosting": true
    }
    // ↑↑ this added here ↑↑
  },
  "status": "success",
  "executionTime": 4
}