Endpoint
Authentication
| Header | Required | Value |
|---|---|---|
X-API-Key | Yes | Your API key (sec4_...) |
Content-Type | Yes | application/json |
Accept | Recommended | application/json |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
ip | string | Yes | Valid IPv4 or IPv6 address |
Example
Response
200 OK
| Field | Type | Description |
|---|---|---|
ip | string | The IP that was checked |
classification | string | One of: hosting, residential, mobile, vpn, tor, proxy, unknown |
confidence | number | 0.0 to 1.0 |
signals | object | Boolean flags (see below) |
network | object | ASN, org, provider (see below) |
geo | object | country, region (see below) |
| Field | Type |
|---|---|
is_hosting | boolean |
is_residential | boolean |
is_mobile | boolean |
is_vpn | boolean |
is_tor | boolean |
is_proxy | boolean |
| Field | Type | Description |
|---|---|---|
asn | int | null | Autonomous System Number |
org | string | null | Organization name |
provider | string | null | Friendly name (e.g. “AWS”) |
| Field | Type | Description |
|---|---|---|
country | string | null | ISO country code (e.g. “US”) |
region | string | null | Region/state |