# HARK Intimate Partner Violence Screen (Sohal 2007)

> HARK Intimate Partner Violence Screen (Sohal 2007) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Computes the 4-item HARK screening score (Humiliation, Afraid, Rape, Kick) for intimate partner violence and returns a screen-positive flag when score ≥1.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/hark
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hark-intimate-partner-violence-screen-sohal-2007-7669c494
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7J-EiOLV2N6tZzx-v2oDH

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 hark-intimate-partner-violence-screen-sohal-2007-7669c494
```

Example prompt: Calculate the HARK score for a patient where: humiliation = true, afraid = false, rape = false, kick = true — is the screen positive?

## When to prefer this

Use this endpoint when you need a deterministic, published-algorithm HARK score (Sohal 2007) from four pre-collected boolean responses. Prefer this over manual calculation when integrating IPV screening into clinical workflows, EHR systems, or research pipelines. Not suitable for patient-facing interview tools, pregnancy-specific AAS scoring, or HITS 1–5 scoring.

## Known failure modes

- Missing required boolean parameter (humiliation, afraid, rape, or kick) returns a 400 validation error
- Non-boolean values for flag parameters cause schema validation failure
- Payment failure (x402) if USDC not provided results in 402 response

## How this service works

Sohal 2007 HARK: four caller-assigned yes/no flags (humiliation, afraid, rape, kick), 1 point each, max 4. Screen-positive when score ≥1 (ROC-optimal cut-off in Sohal 2007). Deterministic published score with citation; not a diagnosis of intimate partner violence and not a medical device. magent does not interview the patient. Not HITS 1-5 scoring. Not the AAS pregnancy item (HARK removed it).

## Output

Returns the numeric HARK total score (0–4) and a screen-positive boolean flag (positive when score ≥1), based on the ROC-optimal cut-off from Sohal 2007. Includes per-item contribution. Does not provide a diagnosis of intimate partner violence.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "humiliation",
      "afraid",
      "rape",
      "kick"
     ],
     "properties": {
      "kick": {
       "type": "boolean",
       "description": "Within the last year, kicked, hit, slapped or otherwise physically hurt by partner or ex-partner (HARK K; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient."
      },
      "rape": {
       "type": "boolean",
       "description": "Within the last year, raped or forced to have any kind of sexual activity by partner or ex-partner (HARK R; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient."
      },
      "afraid": {
       "type": "boolean",
       "description": "Within the last year, afraid of partner or ex-partner (HARK A; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient."
      },
      "humiliation": {
       "type": "boolean",
       "description": "Within the last year, humiliated or emotionally abused in other ways by partner or ex-partner (HARK H; Sohal 2007). true or false as assigned by the caller. magent does not interview the patient."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hark-intimate-partner-violence-screen-sohal-2007-7669c494/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
