## Response Object

A successful call returns `200 OK` with this JSON structure.

| Field | Type | Description |
| --- | --- | --- |
| decision | string | Recommended action: `"allow"`, `"review"`, or `"block"`. Your server decides what happens. For a two-outcome checkout, you can let a reviewed order proceed through normal payment checks and log the reason. If several accounts used one device to claim a first-order offer, verify discount eligibility separately. For account recovery, verify ownership before changing access. The `reasons` array explains every decision so you can log it or show an adverse-action reason to your own end user. If you configure [custom rules](https://maskbreak.com/dashboard#rules) in your dashboard, a rule decides for the signal it names (the strictest matching rule wins), but it never takes the answer below what another signal on the same visit asks for when that signal has no rule of its own: a rule that allows datacenter addresses still leaves a VPN on a datacenter address at `review` and a proxy at `block`. |
| engine_decision | string | `decision_source` is returned whenever your policy matched this event: `"rules"` (with `rule_matched` listing the signals that triggered a rule) or `"exception"` (with `exception_matched` naming the per-IP/visitor pin from your dashboard's Exceptions list — explicit pins outrank signal rules). `engine_decision` additionally appears when the match actually *changed* the decision, preserving the engine's own risk-score verdict. |
| risk_score | integer | The default web weights give a confirmed proxy 85 points. Apple Private Relay alone scores 0 and defaults to review. The total is capped at 100. A disposable email adds 15 points and a time-zone mismatch adds 25. High email or phone risk that raises `allow` to `review` sets a floor of 40. Three distinct accounts checked on one device in 24 hours also set a floor of 40. Six or more add five points once per evaluation after that floor. Not altered by custom rules or exception pins. |
| isSuspicious | boolean | Legacy convenience flag. `true` when VPN, proxy, Tor, browser tampering (antidetect), automation, emulator or virtual machine fired. A datacenter or anonymous-network signal alone raises `risk_score` but does not set this flag — route on `decision` for full coverage. |
| ip | string | The unmasked, real IP address of the user. Mirrored at `details.ip`. |
| country | string | ISO 3166-1 country code (e.g. "US", "EE"). Mirrored at `details.cc`. |
| network.vpn | boolean | Commercial VPN detected (NordVPN, Proton, ExpressVPN, etc.). Mirrored at `details.vpn`. |
| network.proxy | boolean | Residential or SOCKS/HTTP proxy detected. Also `true` for Apple's iCloud Private Relay, which `network.privacy_relay` names. Mirrored at `details.proxied`. |
| network.privacy_relay | boolean | `true` when the proxy is Apple's iCloud Private Relay, as Maskbreak's network intelligence recognises it (`network.proxy` is `true` too). On its own it returns **review**, never block, with the reason `privacy_relay` instead of `proxy_detected`. A Proxy rule set to Allow allows it too; set to Review or Block, it does not apply to the relay, which stays **review**. On every evaluation since 10 October 2026. |
| network.datacenter | boolean | Traffic from a known datacenter / cloud provider ASN. Mirrored at `details.dch`. |
| network.tor | boolean | Tor exit node detected. `details.tor` appears only when the Tor exit list matched; read this field. |
| network.anonymous | boolean | Any anonymization layer detected. Mirrored at `details.anon`. |
| network.residential | boolean | `true` when neither datacenter nor proxy fired. It ignores the VPN, Tor and anonymity flags (a Tor exit or a VPN outside a datacenter range reads `true`) and is `true` on a degraded answer too, so it is not evidence of a home connection: read it with the other flags. |
| network.service | string | Identified provider when known (e.g. "PROTON_VPN", "BRIGHT_DATA"). Mirrored at `details.service`. |
| network.risk_tags / network.service_tags | string[] | Optional observations about the public IP. An empty risk list means the source reported no tags. An omitted field means the data is unavailable. [View a sample with two risk tags](https://maskbreak.com/v1/evaluate/sample?scenario=ip_reputation). |
| network.ai_bot_range | object | Matches the source IP against OpenAI’s published ranges for OAI-SearchBot, GPTBot and ChatGPT-User. Includes the operator, matching bot names and their uses. An address listed for both agents and crawlers is marked `mixed`. |
| network.ai_agentic / network.ai_crawling / network.ai_operator | boolean / boolean / string | Optional AI activity and operator observed on the source IP. Set separate actions for agents and crawlers in [Protection policy](https://maskbreak.com/dashboard#rules). Shared addresses can also carry human traffic. [View an AI crawler sample](https://maskbreak.com/v1/evaluate/sample?scenario=ai_crawler). |
| network.complete / network.sdk_blocked | boolean | How good the network reading was. `complete` is `false` for a partial reading (the visitor submitted before the network check finished, a higher chance of a wrong answer) and when there was no reading at all. `sdk_blocked` is `true` when a token arrived but the check could not measure the visitor: the address it reports is private, missing or the network check's own infrastructure, which is what a blocked or stripped measurement looks like. Then the network flags are not evidence of a clean connection. Both are present on live evaluations (not on test tokens, the sandbox or samples), are information only and never change `decision`. |
| device.antidetect | boolean | Antidetect / fingerprint-spoofing browser (Multilogin, Kameleo, GoLogin, etc.). Only present when `fingerprintEventId` was sent. |
| device.automation | boolean | Automated browser detected (Puppeteer, Playwright, Selenium). |
| device.emulator | boolean | Mobile emulator. |
| device.virtual_machine | boolean | The browser runs inside a virtual machine. On its own it returns **review** (since 29 September 2026). |
| device.incognito | boolean | Private / incognito browsing mode detected. |
| device.privacy_mode | boolean | Enhanced privacy settings active (e.g. Brave Shields, Firefox resist-fingerprinting). |
| device.ip_blocklisted | boolean | The visitor IP appears on email-spam or attack-source blocklists. |
| device.high_activity | boolean | This device is being identified unusually often (High-Activity Device). Informational — frequent visits alone aren't fraud, but combined with other signals they often indicate automation or farming. Adds reason code `high_activity_device`. |
| device.visitor_id | string | Stable device fingerprint hash. Same device returns the same id across sessions even after cookies clear — useful for ATO defense and device clustering. |
| device.tampering_score | number | Upstream tampering score, 0–1, or 0 when unavailable. Not a probability of fraud or proof of a genuine browser. Use `checked_signals` and `antidetect` to interpret the result. |
| device.complete / device.checked_signals | boolean / string[] | `complete` means browser tampering and bot checks returned results, not that every optional check ran. `checked_signals` lists device boolean fields actually checked. An unchecked field stays `false` for compatibility; it is not a clean result. These fields do not change your decision policy. Older responses and demo fixtures may omit this metadata; missing metadata does not prove checks ran. |
| device.times_seen | integer | Cumulative sightings of the one-way device hash while its history record exists. It is not a count of your customers, not scoped to your key, and not a rolling 90-day count. Records are eligible for pruning after 90 days without a sighting. A value of `1` is limited evidence of novelty, not proof of fraud. Left out of test-key answers and the console's own checks, which add nothing to it (since 27 October 2026). |
| device.first_seen | string | ISO 8601 time of the first sighting in the current device-history record. This history is not scoped to your API key and can restart after inactivity pruning. Use your own account history for customer age. The separate `linked_accounts` field remains customer-scoped. |
| device.returning | boolean | True when `times_seen` > 1 — this device has been evaluated before. |
| device.linked_accounts | integer | How many *distinct* accounts this device has been seen with under your API key in the last 90 days. Only present when you pass your own `accountId` in the request alongside `fingerprintEventId`. The link is stored as keyed hashes and never crosses to another customer. Test-key and console checks write no link and get no count (since 27 October 2026). |
| device.multi_account | boolean | True when `linked_accounts` > 1 — the core multi-accounting signal (bonus abuse, trial farming, duplicate signups). Adds reason code `multi_account_device`. |
| account.device_accounts_24h | integer | Your accounts checked on this device in the last 24 hours, this one and sign-in attempts not reported as successful included; null without device evidence. Three or more distinct accounts add `device_many_accounts` and raise allow to review. Six or more also add `device_account_burst` and five risk points. Repeat visits to the same account count once. The `account` object is present when you send `accountId` with a live key (since 18 October 2026). |
| account.devices_24h | integer | Devices this account used in the last 24 hours; a sign-in attempt not reported as successful does not add to it (see `accountId`). Three or more adds `account_many_devices`. |
| account.ip_accounts_24h | integer | Your accounts checked from this address in the last 24 hours, this one and sign-in attempts not reported as successful included. Null when no address was measured or it is a shared exit (a VPN, proxy, datacenter, Tor exit, Apple’s relay, an anonymising network, a split route or a mobile carrier’s shared address), which is never linked. Three or more adds `ip_many_accounts`. |
| account.new_device | boolean | True when this account was checked before and has used another device but never this one (a sign-in attempt not reported as successful is not counted as use); adds `account_new_device`. Null without device evidence. |
| account.connected_accounts | integer | Your other accounts that share a device or an address with this one within 90 days (sign-in attempts not reported as successful are left out); the console lists them. Nothing links across customers. |
| account.connected_by_device | integer | Of `connected_accounts`, those that share a device with this one. |
| account.seen_before | boolean | This `accountId` was checked before, within the last 90 days. |
| account.first_seen | string | ISO 8601 time this `accountId` was first checked, within the 90-day window. |
| account.devices_90d | integer | Devices this account used in the last 90 days, counted the same way. |
| email.disposable | boolean | Present only when the request included the optional `email` parameter. `true` when the address uses a known burner/disposable domain — adds the `disposable_email` reason and escalates `allow` to `review`. |
| email.score | integer | With email and phone intelligence on: the provider's risk score for the address, 0 to 100, higher is riskier, or `null` when the provider answered without one (its signals and facts can still be there). `checked` says whether it ran; `why` says why not: `not_enabled`, `not_available` (not offered right now), `quota`, `invalid`, `test`, `busy` (the provider limited the request rate) or `unavailable`. |
| email.risk | string | `low` below 50, `medium` 50 to 79, `high` 80 and up. High adds `email_high_risk` and raises `allow` to `review`. |
| email.signals | string[] | What the score noticed, by name: for example `disposable`, `free_provider`, `no_online_accounts`, `young_domain`, `undeliverable`, `breaches`, `fraud_reports`. Beside them: `online_accounts`, `breaches`, `deliverable`, `free_provider`, `domain_created`. |
| phone.score | integer | With email and phone intelligence on and a `phone` sent: the provider's risk score for the number, 0 to 100, with `checked` and `why` as for the email, and `valid`, `line_type`, `carrier`, `country`, `disposable`, `online_accounts`, `signals`. |
| phone.risk | string | `low` below 50, `medium` 50 to 79, `high` 80 and up. High adds `phone_high_risk` and raises `allow` to `review`. |
| timezone.reported | string | Present only when the request included a recognised `tz` and the network check gave the address's country (not on a degraded answer). The IANA zone the browser reported, echoed back. |
| timezone.country | string | ISO 3166-1 alpha-2 country that zone belongs to. |
| timezone.matches_ip | boolean | `true` when the zone's country equals `country` (the exit IP's). Build your own rule on this if you want a policy stricter than ours. |
| timezone.checked | boolean | `false` on a VPN, proxy, Tor or datacenter exit, where a mismatch is expected and we raise nothing. When `false`, read `matches_ip` as information rather than as a verdict. |
| reasons | string[] | Machine-readable codes for which signals fired (e.g. `"vpn_detected"`, `"datacenter_asn"`, `"antidetect_browser"`). |
| evaluated_in_ms | integer | Server-side processing time for this request, in milliseconds. |
| evidence.network_age_s / evidence.device_age_s / evidence.device_replayed | integer / boolean | How fresh the evidence was, with only what is known: seconds since the network reading (`network_age_s`) and since the device event (`device_age_s`), and whether the device event was marked as a replay of an earlier one (`device_replayed`). Absent when nothing is known. Information only; old or replayed evidence deserves a fresh check before a sensitive action. |

200 OK — Suspicious connection

```
{
  "status": "success",
  "isSuspicious": true,
  "decision": "review",
  "risk_score": 20,
  "ip": "185.107.80.12",
  "country": "EE",
  "network": {
    "vpn": true,
    "proxy": false,
    "privacy_relay": false,
    "datacenter": true,
    "tor": false,
    "anonymous": true,
    "residential": false,
    "service": "PROTON_VPN",
    "complete": true,
    "sdk_blocked": false
  },
  "reasons": ["vpn_detected", "datacenter_asn"],
  "evaluated_in_ms": 126,
  "device_evidence": "not_sent",
  "details": {
    "ip": "185.107.80.12",
    "cc": "EE",
    "vpn": true,
    "proxied": false,
    "anon": true,
    "dch": true,
    "service": "PROTON_VPN"
  }
}
```

200 OK — Clean connection

```
{
  "status": "success",
  "isSuspicious": false,
  "decision": "allow",
  "risk_score": 0,
  "ip": "82.131.45.9",
  "country": "DE",
  "network": {
    "vpn": false,
    "proxy": false,
    "privacy_relay": false,
    "datacenter": false,
    "tor": false,
    "anonymous": false,
    "residential": true,
    "service": null,
    "complete": true,
    "sdk_blocked": false
  },
  "reasons": [],
  "evaluated_in_ms": 118,
  "device_evidence": "not_sent"
}
```

### How the decision is made

The engine returns **block** for a proxy, Tor exit, detected bot, emulator or browser tampering. A VPN alone, a browser inside a virtual machine, or Apple's iCloud Private Relay alone (the one proxy that is reviewed, not blocked) returns **review**. Other signals and your policy can affect the final answer. A cloud-server or anonymous-network flag alone is not a hard block. Your rules and exceptions can override the decision; `engine_decision` is included when an override changes it, not on every response.

**Degraded answers.** Missing network evidence produces `degraded: true`, `ip: "unknown"` and false network flags. Those false flags mean unavailable evidence, not a clean connection. Device or email signals, rules and exceptions can still produce `review` or `block`. Only the bare non-suspicious `allow` fallback is omitted from evaluation totals, the monthly allowance and Events (since 5 November 2026, past 1,000 calls an hour without a verdict for an account, one that sent a token or a browser check ID counts toward the month); meaningful verdicts follow normal event and usage handling.

**Extra flags.** `test: true` on any test-token or test-key answer, `sandbox: true` when the public `sk_test_sandbox` key was used, `sample: true` on `/v1/evaluate/sample`. `/v1/lookup` also carries an additive `network.cloud` string, the provider's identifier (`aws`, `gcp`, `azure`, `oracle`, `digitalocean`, `linode`, `vultr`, `cloudflare` or `fastly`), when the address sits in a published cloud range.

### Reason codes

Every value `reasons[]` can carry, and what it means. New codes are only ever added.

- `account_many_devices` — one of your accounts used on three or more devices within 24 hours (when you send `accountId`; informational)
- `account_new_device` — an account you checked before, now on a device it has never used (when you send `accountId`; informational)
- `anonymous_network` — an anonymising network with no operator named
- `antidetect_browser` — a fake browser (antidetect tooling or a tampered environment)
- `automation_detected` — a script or headless browser
- `datacenter_asn` — a datacenter or cloud address
- `device_many_accounts` — three or more of your accounts on one device within 24 hours (when you send `accountId`, raises allow to review). At six distinct accounts, `device_account_burst` adds five points once per evaluation.
- `disposable_email` — a throwaway email address
- `email_high_risk` — the email address scored 80 or more with our email- and phone-intelligence provider (email and phone intelligence turned on; raises allow to review, never to block)
- `emulator_detected` — an emulator
- `high_activity_device` — a device seen unusually often (soft signal)
- `ip_blocklisted` — an address on a blocklist
- `ip_many_accounts` — three or more of your accounts from one address within 24 hours; shared exits such as VPNs and mobile carriers never count (when you send `accountId`; informational)
- `multi_account_device` — a device already behind several of your accounts
- `phone_high_risk` — the phone number scored 80 or more with our email- and phone-intelligence provider (email and phone intelligence turned on; raises allow to review, never to block)
- `privacy_relay` — Apple's iCloud Private Relay, in place of proxy_detected (review on its own)
- `private_browsing` — an incognito or private window
- `proxy_detected` — a residential or cloud proxy
- `timezone_mismatch` — browser time zone disagrees with the address (only when checked)
- `tor_exit_node` — a Tor exit
- `virtual_machine` — a browser inside a virtual machine (review on its own)
- `vpn_detected` — a VPN service (network.service names it when known)

### Test tokens

Send one of these as `token` with your live key, your test key or `sk_test_sandbox`. With your own keys they obey your Rules and exception pins (so `test_vpn` is a one-line way to verify a rule); they are never billed. Calls made from the console are stored as test rows so the Events log has something to show, up to 100 a day for each account since 5 November 2026 (later ones are answered as before but not stored). Since the same day the fixed tokens answer up to 1,000 times an hour for each account, your live key and your test key together; past that the answer is HTTP 429 with a `Retry-After` header and the error `Too many test-token checks for this account. Try again later.` The sandbox key has its own limit of 60 a minute for each address.

| Token | Pretend visitor | Signals | Decision |
| --- | --- | --- | --- |
| `test_clean` | 203.0.113.42 · US | nothing | **allow** |
| `test_vpn` | 198.51.100.18 · NL | VPN, datacenter (PROTON_VPN) | **review** |
| `test_proxy` | 203.0.113.9 · DE | proxy, datacenter (BRIGHT_DATA) | **block** |
| `test_datacenter` | 203.0.113.7 · DE | datacenter (AWS) | **allow** |
| `test_tor` | 203.0.113.99 · null | Tor (TOR) | **block** |
