Skip to main content

Endpoint

Authentication

Overview

Classify any IP address as residential, hosting/datacenter, mobile, VPN, Tor exit node, or open proxy. Bunny’s IP Classification API returns a classification label, confidence score, and a full signal breakdown, so you can make precise decisions about traffic sources.

Use cases

  • Detect and block VPN, proxy, and Tor traffic
  • Identify bot and datacenter traffic
  • Enforce geo-based access controls
  • Fraud prevention and risk scoring

Details

Supports both IPv4 and IPv6. The confidence field (0–1) indicates classification certainty. The signals object breaks down each signal individually so you can apply your own logic.

Query parameters

Response

200 OK

signals network geo Example

401 Unauthorized

402 Payment Required

422 Unprocessable Entity

Invalid IP format.

429 Too Many Requests

cURL example