DEV Community

Cover image for Discover The IP Reputation Checker API
Etuge Anselm for Dakidarts

Posted on

Discover The IP Reputation Checker API

The IP Reputation Checker API helps developers, security teams, and businesses assess the trustworthiness of IPv4/IPv6 addresses. Classifies IPs into categories (VPN, Proxy, Spam Source, Botnet, Clean).

✅ Perfect for:

  • Login systems
  • Fraud detection
  • Firewalls
  • Email security
  • Web apps

IP Reputation Checker API

🔑 Authentication

All requests require an API key (x-rapidapi-key header if using RapidAPI).


📍 Endpoints

1. /scan

Analyze an IP address for reputation, abuse history, and risk score.

Methods: GET, POST

Parameters:

  • ip (string, required) → The IPv4/IPv6 address to scan

Example Request (GET):

GET /scan?ip=118.25.6.39
Enter fullscreen mode Exit fullscreen mode

Example Request (POST):

POST /scan
{
  "ip": "118.25.6.39"
}
Enter fullscreen mode Exit fullscreen mode

Example Response:

{
  "success": true,
  "input": "118.25.6.39",
  "analysis": {
    "risk_score": 85,
    "category": "Botnet",
    "country": "CN",
    "isp": "Tencent Cloud Computing",
    "isPublic": true,
    "ipVersion": 4,
    "usageType": "Data Center/Web Hosting/Transit",
    "domain": "tencent.com",
    "isTor": false,
    "numDistinctUsers": 15,
    "totalReports": 48,
    "lastReportedAt": "2023-07-10T20:55:14+00:00",
    "reports": [
      {
        "reportedAt": "2023-07-10T20:55:14+00:00",
        "comment": "SSH brute force attempt",
        "categories": [18, 22],
        "reporterId": 1,
        "reporterCountryCode": "US",
        "reporterCountryName": "United States"
      }
    ]
  }
}
Enter fullscreen mode Exit fullscreen mode

Errors:

  • 400 → Missing or invalid IP
  • 500 → API request failed or internal error

Top comments (0)