API Documentation

Use the dropR API to look up IPv4/IPv6 address details in JSON.

Endpoint

GET
/api_lookup.php?ip=8.8.8.8
With key
/api_lookup.php?ip=8.8.8.8&key=YOUR_KEY
Special
ip=me returns the requester IP.

Example (curl)

curl "https://dropr.co/api_lookup.php?ip=8.8.8.8&key=YOUR_KEY"

Example JSON response

{
  "ok": true,
  "data": {
    "ip": "8.8.8.8",
    "city": "Mountain View",
    "region": "California",
    "country": "United States",
    "country_code": "US",
    "isp": "Google LLC",
    "timezone": "America/Los_Angeles",
    "latitude": 37.4056,
    "longitude": -122.0775
  },
  "cached": false
}

Rate limits

  • Free API keys: 5000 requests/day per key.
  • Anonymous requests: 120 requests/day per IP.
  • Responses may be cached for performance and to protect providers.
Need an API key? Generate one on /api-keys.