Skip to main content

Documentation Index

Fetch the complete documentation index at: https://rocks.docs.rive.wtf/llms.txt

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

Every API key is tied to one IP. To apply for a key, DM southctrl on Discord.
Use the endpoint path below, replace the required params, and send Authorization: Bearer YOUR_API_KEY.

Quick Start

1

Choose an IP

Use an IPv4 or IPv6 address like 1.1.1.1.
2

Call the lookup route

Send a request to /api/ip?ip=....
3

Use the result

Read location, network, and threat detection details from the response.
Good for moderation tools, logging, fraud detection, and network checks.

Lookup IP Address

Get geolocation, ISP, network, and threat intelligence for any IPv4 or IPv6 address.

Endpoint

GET /api/ip

Query Parameters

ip
string
required
IPv4 or IPv6 address (e.g. 1.1.1.1).

Example Request

curl -X GET "https://rocks.rive.wtf/api/ip?ip=1.1.1.1" \
  -H "Authorization: Bearer YOUR_API_KEY"

Example Response

{
  "success": true,
  "data": {
    "ip": "1.1.1.1",
    "country": "Australia",
    "countryCode": "AU",
    "region": "NSW",
    "regionName": "New South Wales",
    "city": "Sydney",
    "zip": "1001",
    "lat": -33.8688,
    "lon": 151.209,
    "timezone": "Australia/Sydney",
    "currency": {
      "name": "Dollar",
      "code": "AUD",
      "symbol": "A$"
    },
    "asn": "AS13335",
    "isp": "Cloudflare, Inc.",
    "org": "Cloudflare, Inc.",
    "hostname": "one.one.one.one",
    "networkType": "Hosting",
    "range": "1.1.1.0/24",
    "proxy": false,
    "vpn": false,
    "tor": false,
    "hosting": true,
    "scraper": false,
    "compromised": false,
    "anonymous": false,
    "risk": 33,
    "confidence": 100,
    "suspicious": true,
    "lastUpdated": "2026-04-24T20:00:48Z",
    "queryTime": 3
  }
}

Response Fields

success
boolean
Whether the lookup was successful.
data
object
IP data object.

Error Responses

StatusMeaning
400Missing or invalid ip parameter
404IP address not found or lookup failed
502Upstream proxycheck.io request failed
Private IP ranges (e.g. 192.168.x.x, 10.x.x.x, 127.0.0.1) will return a 404 as they cannot be geolocated.