{
  "x402Version": 2,
  "id": 39264,
  "slug": "39264",
  "resource": "https://api.magentlab.com/api/calc/cows",
  "description": "Wesson 2003 Clinical Opiate Withdrawal Scale (COWS). Eleven caller-assigned appendix integers (pulse 0/1/2/4, GI 0/1/2/3/5, sweating 0-4, tremor 0/1/2/4, restlessness 0/1/3/5, yawning 0/1/2/4, pupils 0/1/2/5, anxiety 0/1/2/4, aches 0/1/2/4, gooseflesh 0/3/5, rhinorrhea/tearing 0/1/4). Max 48. Severity 5-12 mild, 13-24 moderate, 25-36 moderately severe, >36 severe; 0-4 below mild (none). magent does not observe the patient. Not a buprenorphine induction protocol.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "anxiety_or_irritability": 0,
                "bone_or_joint_aches": 0,
                "gi_upset": 0,
                "gooseflesh_skin": 0,
                "pupil_size": 0,
                "resting_pulse_rate": 0,
                "restlessness": 0,
                "runny_nose_or_tearing": 0,
                "sweating": 0,
                "tremor": 0,
                "yawning": 0
              },
              {
                "anxiety_or_irritability": 0,
                "bone_or_joint_aches": 0,
                "gi_upset": 0,
                "gooseflesh_skin": 0,
                "pupil_size": 0,
                "resting_pulse_rate": 0,
                "restlessness": 0,
                "runny_nose_or_tearing": 0,
                "sweating": 0,
                "tremor": 0,
                "yawning": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Wesson DR, Ling W",
                  "doi": "10.1080/02791072.2003.10400007",
                  "id": "wesson-2003",
                  "pmid": "12924748",
                  "source": "J Psychoactive Drugs. 2003;35(2):253-259",
                  "title": "The Clinical Opiate Withdrawal Scale (COWS)"
                },
                "components": [
                  {
                    "factor": "resting_pulse_rate",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "gi_upset",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "sweating",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "tremor",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "restlessness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "yawning",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pupil_size",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "anxiety_or_irritability",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "bone_or_joint_aches",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "gooseflesh_skin",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "runny_nose_or_tearing",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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": "cows",
                "formula_expression": "COWS = resting_pulse_rate + gi_upset + sweating + tremor + restlessness + yawning + pupil_size + anxiety_or_irritability + bone_or_joint_aches + gooseflesh_skin + runny_nose_or_tearing; Wesson 2003 appendix integers only; max 48",
                "max_score": 48,
                "score": 0,
                "severity": "none"
              },
              {
                "citation": {
                  "authors": "Wesson DR, Ling W",
                  "doi": "10.1080/02791072.2003.10400007",
                  "id": "wesson-2003",
                  "pmid": "12924748",
                  "source": "J Psychoactive Drugs. 2003;35(2):253-259",
                  "title": "The Clinical Opiate Withdrawal Scale (COWS)"
                },
                "components": [
                  {
                    "factor": "resting_pulse_rate",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "gi_upset",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "sweating",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "tremor",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "restlessness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "yawning",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pupil_size",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "anxiety_or_irritability",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "bone_or_joint_aches",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "gooseflesh_skin",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "runny_nose_or_tearing",
                    "points": 0,
                    "present": true,
                    "value": 0
                  }
                ],
                "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": "cows",
                "formula_expression": "COWS = resting_pulse_rate + gi_upset + sweating + tremor + restlessness + yawning + pupil_size + anxiety_or_irritability + bone_or_joint_aches + gooseflesh_skin + runny_nose_or_tearing; Wesson 2003 appendix integers only; max 48",
                "max_score": 48,
                "score": 0,
                "severity": "none"
              }
            ],
            "path": "/api/calc/cows"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "anxiety_or_irritability": {
                          "description": "Caller-assigned Wesson 2003 anxiety or irritability points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "bone_or_joint_aches": {
                          "description": "Caller-assigned Wesson 2003 bone or joint aches points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "gi_upset": {
                          "description": "Caller-assigned Wesson 2003 GI upset points (integer 0, 1, 2, 3, or 5). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "gooseflesh_skin": {
                          "description": "Caller-assigned Wesson 2003 gooseflesh skin points (integer 0, 3, or 5). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "pupil_size": {
                          "description": "Caller-assigned Wesson 2003 pupil size points (integer 0, 1, 2, or 5). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "resting_pulse_rate": {
                          "description": "Caller-assigned Wesson 2003 resting pulse rate points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "restlessness": {
                          "description": "Caller-assigned Wesson 2003 restlessness points (integer 0, 1, 3, or 5). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "runny_nose_or_tearing": {
                          "description": "Caller-assigned Wesson 2003 runny nose or tearing points (integer 0, 1, or 4). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "sweating": {
                          "description": "Caller-assigned Wesson 2003 sweating points (integer 0, 1, 2, 3, or 4). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "tremor": {
                          "description": "Caller-assigned Wesson 2003 tremor points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                          "type": "integer"
                        },
                        "yawning": {
                          "description": "Caller-assigned Wesson 2003 yawning points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "resting_pulse_rate",
                        "gi_upset",
                        "sweating",
                        "tremor",
                        "restlessness",
                        "yawning",
                        "pupil_size",
                        "anxiety_or_irritability",
                        "bone_or_joint_aches",
                        "gooseflesh_skin",
                        "runny_nose_or_tearing"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "cows",
    "opiate",
    "withdrawal",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T01:06:15.577Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T01:06:15.438Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "anxiety_or_irritability": 0,
                  "bone_or_joint_aches": 0,
                  "gi_upset": 0,
                  "gooseflesh_skin": 0,
                  "pupil_size": 0,
                  "resting_pulse_rate": 0,
                  "restlessness": 0,
                  "runny_nose_or_tearing": 0,
                  "sweating": 0,
                  "tremor": 0,
                  "yawning": 0
                },
                {
                  "anxiety_or_irritability": 0,
                  "bone_or_joint_aches": 0,
                  "gi_upset": 0,
                  "gooseflesh_skin": 0,
                  "pupil_size": 0,
                  "resting_pulse_rate": 0,
                  "restlessness": 0,
                  "runny_nose_or_tearing": 0,
                  "sweating": 0,
                  "tremor": 0,
                  "yawning": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Wesson DR, Ling W",
                    "doi": "10.1080/02791072.2003.10400007",
                    "id": "wesson-2003",
                    "pmid": "12924748",
                    "source": "J Psychoactive Drugs. 2003;35(2):253-259",
                    "title": "The Clinical Opiate Withdrawal Scale (COWS)"
                  },
                  "components": [
                    {
                      "factor": "resting_pulse_rate",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "gi_upset",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "sweating",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "tremor",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "restlessness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "yawning",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pupil_size",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "anxiety_or_irritability",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "bone_or_joint_aches",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "gooseflesh_skin",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "runny_nose_or_tearing",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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": "cows",
                  "formula_expression": "COWS = resting_pulse_rate + gi_upset + sweating + tremor + restlessness + yawning + pupil_size + anxiety_or_irritability + bone_or_joint_aches + gooseflesh_skin + runny_nose_or_tearing; Wesson 2003 appendix integers only; max 48",
                  "max_score": 48,
                  "score": 0,
                  "severity": "none"
                },
                {
                  "citation": {
                    "authors": "Wesson DR, Ling W",
                    "doi": "10.1080/02791072.2003.10400007",
                    "id": "wesson-2003",
                    "pmid": "12924748",
                    "source": "J Psychoactive Drugs. 2003;35(2):253-259",
                    "title": "The Clinical Opiate Withdrawal Scale (COWS)"
                  },
                  "components": [
                    {
                      "factor": "resting_pulse_rate",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "gi_upset",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "sweating",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "tremor",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "restlessness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "yawning",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pupil_size",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "anxiety_or_irritability",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "bone_or_joint_aches",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "gooseflesh_skin",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "runny_nose_or_tearing",
                      "points": 0,
                      "present": true,
                      "value": 0
                    }
                  ],
                  "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": "cows",
                  "formula_expression": "COWS = resting_pulse_rate + gi_upset + sweating + tremor + restlessness + yawning + pupil_size + anxiety_or_irritability + bone_or_joint_aches + gooseflesh_skin + runny_nose_or_tearing; Wesson 2003 appendix integers only; max 48",
                  "max_score": 48,
                  "score": 0,
                  "severity": "none"
                }
              ],
              "path": "/api/calc/cows"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "anxiety_or_irritability": {
                            "description": "Caller-assigned Wesson 2003 anxiety or irritability points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "bone_or_joint_aches": {
                            "description": "Caller-assigned Wesson 2003 bone or joint aches points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "gi_upset": {
                            "description": "Caller-assigned Wesson 2003 GI upset points (integer 0, 1, 2, 3, or 5). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "gooseflesh_skin": {
                            "description": "Caller-assigned Wesson 2003 gooseflesh skin points (integer 0, 3, or 5). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "pupil_size": {
                            "description": "Caller-assigned Wesson 2003 pupil size points (integer 0, 1, 2, or 5). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "resting_pulse_rate": {
                            "description": "Caller-assigned Wesson 2003 resting pulse rate points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "restlessness": {
                            "description": "Caller-assigned Wesson 2003 restlessness points (integer 0, 1, 3, or 5). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "runny_nose_or_tearing": {
                            "description": "Caller-assigned Wesson 2003 runny nose or tearing points (integer 0, 1, or 4). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "sweating": {
                            "description": "Caller-assigned Wesson 2003 sweating points (integer 0, 1, 2, 3, or 4). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "tremor": {
                            "description": "Caller-assigned Wesson 2003 tremor points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                            "type": "integer"
                          },
                          "yawning": {
                            "description": "Caller-assigned Wesson 2003 yawning points (integer 0, 1, 2, or 4). magent does not observe the patient.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "resting_pulse_rate",
                          "gi_upset",
                          "sweating",
                          "tremor",
                          "restlessness",
                          "yawning",
                          "pupil_size",
                          "anxiety_or_irritability",
                          "bone_or_joint_aches",
                          "gooseflesh_skin",
                          "runny_nose_or_tearing"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}