# HERDOO2 Score Calculator (Rodger 2008)

> HERDOO2 Score Calculator (Rodger 2008) 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-13).

Computes the HERDOO2 score for women after a first unprovoked VTE to identify those at low risk of recurrence who may safely stop anticoagulation.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/herdoo2
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/herdoo2-score-calculator-rodger-2008-b361e118
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3vPZRuO767JAzHapwGH35

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 herdoo2-score-calculator-rodger-2008-b361e118
```

Example prompt: Calculate the HERDOO2 score for a 62-year-old female patient with a BMI of 27, no HER signs in either leg, and a D-dimer of 310 μg/L while she's on anticoagulants — is she in the low-risk group?

## When to prefer this

Use this endpoint when you need a standards-based, validated HERDOO2 score for a female patient after a first unprovoked VTE and want a structured machine-readable low_risk flag. Prefer it over manual calculation when integrating into an automated clinical workflow or decision-support pipeline. Note: this endpoint does not compute BMI from height and weight, so the caller must supply pre-computed BMI. It is not a substitute for clinical judgment or a medical device.

## Known failure modes

- Missing required query parameters (sex, her_signs, d_dimer_ge_250, bmi_kg_m2, age) returns a validation error
- BMI outside the 10–80 range or age outside 18–120 may be rejected or return an error
- Invalid enum value for sex (not 'female' or 'male') returns a validation error
- Non-boolean values for her_signs or d_dimer_ge_250 cause a schema error
- Payment failure (insufficient USDC balance or missing x402 header) returns a 402 response

## How this service works

Rodger 2008 HERDOO2 after a first unprovoked VTE. Score 1 each for hyperpigmentation, edema, or redness in either leg; D-dimer ≥250 μg/L while on anticoagulants; BMI ≥30; age ≥65 (equality scores). Max 4. low_risk is true only for women with score ≤1. Men have no low-risk subgroup in the derivation. Not a medical device and not a duration-of-anticoagulation order.

## Output

Returns a HERDOO2 integer score (0–4) summed from four binary criteria (HER signs, D-dimer ≥250 μg/L on anticoagulation, BMI ≥30, age ≥65), plus a low_risk boolean that is true only for female patients with a score ≤1. Male patients always have low_risk false per the original derivation study.

## 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": [
      "sex",
      "her_signs",
      "d_dimer_ge_250",
      "bmi_kg_m2",
      "age"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Scores 1 when ≥65. Age 65 meets (Rodger 2008)."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "female or male. low_risk is true only when female and score ≤1. Men have no low-risk subgroup in Rodger 2008."
      },
      "bmi_kg_m2": {
       "type": "number",
       "description": "Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Scores 1 when ≥30. Equality at 30.0 meets."
      },
      "her_signs": {
       "type": "boolean",
       "description": "Hyperpigmentation, edema, or redness in either leg (Rodger 2008). Caller-assigned. true or false. 1 point if true."
      },
      "d_dimer_ge_250": {
       "type": "boolean",
       "description": "D-dimer ≥250 μg/L while on anticoagulants (Rodger 2008). Caller-assigned; magent does not assay D-dimer. true or false. 1 point if true."
      }
     }
    }
   },
   "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/herdoo2-score-calculator-rodger-2008-b361e118/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)
