# FeverPAIN Score Calculator (Little 2013)

> FeverPAIN Score Calculator (Little 2013) 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 FeverPAIN clinical decision score for sore throat by summing five boolean flags and returning the published score group (0–1, 2–3, or 4–5).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/feverpain
- 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/feverpain-score-calculator-little-2013-98c31d55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n28H2tHo5AMQ_9sCtR9u2

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 feverpain-score-calculator-little-2013-98c31d55
```

Example prompt: Run the FeverPAIN score for a patient who had fever in the past 24 hours, has purulent tonsils, came in within 3 days of onset, has severely inflamed tonsils, and has no cough or coryza — all five flags are true — and tell me the score group.

## When to prefer this

Use this endpoint when you need a deterministic, citation-backed computation of the FeverPAIN score exactly as published by Little 2013, with auditable score-group output, rather than approximating the arithmetic locally. Prefer it in workflows requiring reproducible clinical scoring with a traceable source reference.

## Known failure modes

- Missing any of the five required boolean query parameters returns a validation error
- Non-boolean values for flag parameters cause a schema error
- Network timeout or 402 payment required if x402 payment header is absent or insufficient

## How this service works

FeverPAIN from Little 2013 (PRISM): five caller-assigned flags (fever in past 24 hours, purulent tonsils, attendance within 3 days, severely inflamed tonsils, no cough or coryza), 1 point each, max 5. Returns published score groups 0-1 / 2-3 / 4-5. Deterministic published score with citation; not a medical device, not a test-or-treat order, and not a diagnosis of streptococcal pharyngitis. magent does not examine the throat.

## Output

Returns the integer FeverPAIN total score (0–5), the published score group (0–1, 2–3, or 4–5) as defined by Little 2013, and a citation. Does not include a diagnosis, a treatment recommendation, or a test-or-treat order.

## 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": [
      "fever_in_past_24h",
      "purulent_tonsils",
      "attends_within_3_days",
      "severely_inflamed_tonsils",
      "no_cough_or_coryza"
     ],
     "properties": {
      "purulent_tonsils": {
       "type": "boolean",
       "description": "Purulent tonsils (Little 2013). true or false as assigned by the caller."
      },
      "fever_in_past_24h": {
       "type": "boolean",
       "description": "Fever in the past 24 hours (Little 2013). true or false as assigned by the caller."
      },
      "no_cough_or_coryza": {
       "type": "boolean",
       "description": "Absence of cough or coryza (Little 2013). true when the published finding is present; false otherwise. Assigned by the caller."
      },
      "attends_within_3_days": {
       "type": "boolean",
       "description": "Attendance within 3 days of onset (Little 2013). true or false as assigned by the caller."
      },
      "severely_inflamed_tonsils": {
       "type": "boolean",
       "description": "Severely inflamed tonsils (Little 2013). true or false as assigned by the caller."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/feverpain",
  "count": 2,
  "items": [
   {
    "band": "0-1",
    "score": 0,
    "formula": "feverpain",
    "citation": {
     "id": "little-2013",
     "doi": "10.1136/bmj.f5806",
     "pmid": "24114306",
     "title": "Clinical score and rapid antigen detection test to guide antibiotic use for sore throats: randomised controlled trial of PRISM (primary care streptococcal management)",
     "source": "BMJ. 2013;347:f5806",
     "authors": "Little P, Hobbs FDR, Moore M, et al."
    },
    "max_score": 5,
    "components": [
     {
      "factor": "fever_in_past_24h",
      "points": 0,
      "present": false
     },
     {
      "factor": "purulent_tonsils",
      "points": 0,
      "present": false
     },
     {
      "factor": "attends_within_3_days",
      "points": 0,
      "present": false
     },
     {
      "factor": "severely_inflamed_tonsils",
      "points": 0,
      "present": false
     },
     {
      "factor": "no_cough_or_coryza",
      "points": 0,
      "present": false
     }
    ],
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "formula_expression": "FeverPAIN = fever_in_past_24h + purulent_tonsils + attends_within_3_days + severely_inflamed_tonsils + no_cough_or_coryza; each 1 if true; max 5"
   },
   {
    "band": "0-1",
    "score": 0,
    "formula": "feverpain",
    "citation": {
     "id": "little-2013",
     "doi": "10.1136/bmj.f5806",
     "pmid": "24114306",
     "title": "Clinical score and rapid antigen detection test to guide antibiotic use for sore throats: randomised controlled trial of PRISM (primary care streptococcal management)",
     "source": "BMJ. 2013;347:f5806",
     "authors": "Little P, Hobbs FDR, Moore M, et al."
    },
    "max_score": 5,
    "components": [
     {
      "factor": "fever_in_past_24h",
      "points": 0,
      "present": false
     },
     {
      "factor": "purulent_tonsils",
      "points": 0,
      "present": false
     },
     {
      "factor": "attends_within_3_days",
      "points": 0,
      "present": false
     },
     {
      "factor": "severely_inflamed_tonsils",
      "points": 0,
      "present": false
     },
     {
      "factor": "no_cough_or_coryza",
      "points": 0,
      "present": false
     }
    ],
    "disclaimer": "Not a medical device. Deterministic pub
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/feverpain-score-calculator-little-2013-98c31d55/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)
