# BRAINIAC Impossible Travel Detector

> BRAINIAC Impossible Travel Detector is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-12).

Detects impossible travel anomalies in authentication/access event logs by computing geographic distances and implied speeds between successive login locations

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/identity-security/impossible-travel-detect?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-impossible-travel-detector-dd324f0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T0XP5Q7B4dBJZLNWqEnR4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-impossible-travel-detector-dd324f0a -d '<json body>'
```

Example prompt: Check these login events for impossible travel — user u2 logged in from New York at 12:00 UTC and then Tokyo at 13:00 UTC on November 4th 2026, using event IDs E1 and E2. Flag any cases where the implied travel speed exceeds 900 km/h.

## When to prefer this

Choose this endpoint when you need a no-account, pay-per-call impossible travel detector that runs locally on caller-supplied event data without contacting identity providers or requiring OAuth. Ideal for ad-hoc forensic analysis, batch security audits, or agentic security workflows where you want structured threat signals with explicit confidence levels and mitigating factors. Prefer this over building custom haversine-based detection logic or over SIEM integrations that require persistent infrastructure.

## Known failure modes

- Missing or malformed timestamps cause events to be unorderable and skipped
- Insufficient location data (missing lat/lon or city) prevents distance computation
- Single-event input produces no pairs to compare, returning no findings
- VPN/proxy flags on events reduce confidence to low, potentially suppressing signals
- Events with identical user IDs but no geolocation fields are ignored
- Extremely large event arrays may be truncated at payload size limits

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with a status field ('detected' or 'clear'), an items array of impossible-travel signals each containing confidence level, observed facts (distance, implied speed), inferred threat description, related event IDs, mitigating factors (VPN/proxy labels), and a confirmedCompromise boolean. Also includes a findings array with structured codes and a checkedAt timestamp and limitations disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "fileBase64"
   ],
   "properties": {
    "role": {
     "type": "string",
     "maxLength": 80
    },
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json",
      "application/octet-stream"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "files": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fileBase64"
    ],
    "properties": {
     "role": {
      "type": "string",
      "maxLength": 80
     },
     "filename": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
     },
     "mediaType": {
      "enum": [
       "text/plain",
       "text/csv",
       "application/json",
       "application/octet-stream"
      ],
      "type": "string"
     },
     "fileBase64": {
      "type": "string",
      "maxLength": 12000000,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "events": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "at": {
      "type": "string",
      "maxLength": 40
     },
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "ip": {
      "type": "string",
      "maxLength": 80
     },
     "asn": {
      "type": "string",
      "maxLength": 80
     },
     "isVpn": {
      "type": "boolean"
     },
     "action": {
      "type": "string",
      "maxLength": 120
     },
     "labels": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 80
      },
      "maxItems": 40
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "userId": {
      "type": "string",
      "maxLength": 120
     },
     "geoCity": {
      "type": "string",
      "maxLength": 120
     },
     "isProxy": {
      "type": "boolean"
     },
     "outcome": {
      "enum": [
       "success",
       "failure",
       "challenge",
       "unknown"
      ],
      "type": "
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "impossible-travel-u2-E1-E2",
    "title": "Geographically inconsistent logins",
    "lastAt": "2026-11-04T13:00:00.000Z",
    "source": "Caller-supplied locations/timestamps; local haversine/time rules",
    "status": "signal",
    "firstAt": "2026-11-04T12:00:00.000Z",
    "reasons": [
     "speed_exceeds_threshold",
     "extreme_speed"
    ],
    "detector": "impossible-travel-detect",
    "evidence": [
     {
      "at": "2026-11-04T12:00:00.000Z",
      "fact": "geo=New York; ip=n/a",
      "eventId": "E1",
      "confidence": "high"
     },
     {
      "at": "2026-11-04T13:00:00.000Z",
      "fact": "geo=Tokyo; ip=n/a",
      "eventId": "E2",
      "inference": "Geographically inconsistent relative to elapsed time.",
      "confidence": "high"
     }
    ],
    "confidence": "medium",
    "observedFacts": [
     "Distance 10850 km over 1 hours between 2026-11-04T12:00:00.000Z and 2026-11-04T13:00:00.000Z.",
     "Implied speed ≈ 10850 km/h (threshold 900 km/h)."
    ],
    "inferredThreat": "Locations may be inconsistent with travel time; VPN/proxy/shared networks and legitimate travel can explain many cases.",
    "relatedEventIds": [
     "E1",
     "E2"
    ],
    "mitigatingFactors": [],
    "confirmedCompromise": false
   }
  ],
  "status": "detected",
  "findings": [
   {
    "code": "impossible_travel",
    "kind": "conflict",
    "detail": "Possible impossible travel via speed_exceeds_threshold, extreme_speed (confirmedCompromise=false; single pair is not proof).",
    "subject": "u2"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "itemCount": 1,
  "oauthUsed": false,
  "limitations": [
   "Authentication logs, access events, accounts, and policy exports are copied only from caller-supplied fields. Identity providers are not contacted and OAuth is not used.",
   "Time correlation, geolocation comparison, and behavioural rules run locally over supplied records. Missing values are not invented.",
   "VPN, proxy, shared-network, and legitimate-travel labels reduce confidence when supplied. A single unusual login is never treated as proof of account compromise.",
   "Observed facts are separated from inferred threat hypotheses. Events are not labeled confirmed compromise without sufficient multi-signal evidence.",
   "No paid identity-threat feed is used and no API key is required."
  ],
  "maxTravelKmh": 900,
  "apiKeyRequired": false,
  "networkAccessed": false,
  "paidProvi
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-impossible-travel-detector-dd324f0a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
