{
  "x402Version": 2,
  "id": 38757,
  "slug": "38757",
  "resource": "https://api.magentlab.com/api/calc/villalta",
  "description": "Kahn 2009 Villalta scale (ISTH SSC): five caller-assigned symptoms and six signs, each 0-3 (none/mild/moderate/severe), summed 0-33. Venous ulcer is a separate boolean and is not added as 15 points. PTS if score ≥5 or ulcer; bands none 0-4 (no ulcer), mild 5-9, moderate 10-14, severe if ≥15 or ulcer. magent does not examine the limb. Not CEAP, not VCSS, not Ginsberg PTS.",
  "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": [
              {
                "cramps": 0,
                "heaviness": 0,
                "hyperpigmentation": 0,
                "pain": 0,
                "pain_on_calf_compression": 0,
                "paresthesia": 0,
                "pretibial_edema": 0,
                "pruritus": 0,
                "redness": 0,
                "skin_induration": 0,
                "ulcer": false,
                "venous_ectasia": 0
              },
              {
                "cramps": 0,
                "heaviness": 0,
                "hyperpigmentation": 0,
                "pain": 0,
                "pain_on_calf_compression": 0,
                "paresthesia": 0,
                "pretibial_edema": 0,
                "pruritus": 0,
                "redness": 0,
                "skin_induration": 0,
                "ulcer": false,
                "venous_ectasia": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Kahn SR",
                  "doi": "10.1111/j.1538-7836.2009.03339.x",
                  "id": "kahn-2009",
                  "pmid": "19320818",
                  "source": "J Thromb Haemost. 2009;7(5):884-888",
                  "title": "Measurement properties of the Villalta scale to define and classify the severity of the post-thrombotic syndrome"
                },
                "components": [
                  {
                    "factor": "pain",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "cramps",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "heaviness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pruritus",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "paresthesia",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pretibial_edema",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "skin_induration",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "hyperpigmentation",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "venous_ectasia",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "redness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pain_on_calf_compression",
                    "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": "villalta",
                "formula_expression": "Villalta = pain + cramps + heaviness + pruritus + paresthesia + pretibial_edema + skin_induration + hyperpigmentation + venous_ectasia + redness + pain_on_calf_compression; each caller-assigned 0-3; max 33; ulcer is a separate boolean and is not added to the score; PTS if score ≥5 or ulcer; none 0-4 (no ulcer); mild 5-9; moderate 10-14; severe if score ≥15 or ulcer",
                "max_score": 33,
                "pts": false,
                "pts_band": "none",
                "score": 0,
                "ulcer": false
              },
              {
                "citation": {
                  "authors": "Kahn SR",
                  "doi": "10.1111/j.1538-7836.2009.03339.x",
                  "id": "kahn-2009",
                  "pmid": "19320818",
                  "source": "J Thromb Haemost. 2009;7(5):884-888",
                  "title": "Measurement properties of the Villalta scale to define and classify the severity of the post-thrombotic syndrome"
                },
                "components": [
                  {
                    "factor": "pain",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "cramps",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "heaviness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pruritus",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "paresthesia",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pretibial_edema",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "skin_induration",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "hyperpigmentation",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "venous_ectasia",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "redness",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "pain_on_calf_compression",
                    "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": "villalta",
                "formula_expression": "Villalta = pain + cramps + heaviness + pruritus + paresthesia + pretibial_edema + skin_induration + hyperpigmentation + venous_ectasia + redness + pain_on_calf_compression; each caller-assigned 0-3; max 33; ulcer is a separate boolean and is not added to the score; PTS if score ≥5 or ulcer; none 0-4 (no ulcer); mild 5-9; moderate 10-14; severe if score ≥15 or ulcer",
                "max_score": 33,
                "pts": false,
                "pts_band": "none",
                "score": 0,
                "ulcer": false
              }
            ],
            "path": "/api/calc/villalta"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "cramps": {
                          "description": "Caller-assigned Kahn 2009 Villalta symptom cramps (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "heaviness": {
                          "description": "Caller-assigned Kahn 2009 Villalta symptom heaviness (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "hyperpigmentation": {
                          "description": "Caller-assigned Kahn 2009 Villalta sign hyperpigmentation (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "pain": {
                          "description": "Caller-assigned Kahn 2009 Villalta symptom pain (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "pain_on_calf_compression": {
                          "description": "Caller-assigned Kahn 2009 Villalta sign pain on calf compression (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "paresthesia": {
                          "description": "Caller-assigned Kahn 2009 Villalta symptom paresthesia (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "pretibial_edema": {
                          "description": "Caller-assigned Kahn 2009 Villalta sign pretibial edema (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "pruritus": {
                          "description": "Caller-assigned Kahn 2009 Villalta symptom pruritus (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "redness": {
                          "description": "Caller-assigned Kahn 2009 Villalta sign redness (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "skin_induration": {
                          "description": "Caller-assigned Kahn 2009 Villalta sign skin induration (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        },
                        "ulcer": {
                          "description": "Caller-assigned venous ulcer (true or false). Presence classifies PTS as severe (Kahn 2009) and does not add 15 to the numeric score. magent does not examine the limb.",
                          "type": "boolean"
                        },
                        "venous_ectasia": {
                          "description": "Caller-assigned Kahn 2009 Villalta sign venous ectasia (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "pain",
                        "cramps",
                        "heaviness",
                        "pruritus",
                        "paresthesia",
                        "pretibial_edema",
                        "skin_induration",
                        "hyperpigmentation",
                        "venous_ectasia",
                        "redness",
                        "pain_on_calf_compression",
                        "ulcer"
                      ],
                      "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": [
    "villalta",
    "pts",
    "vte",
    "thrombosis",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T08:51:21.741Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T08:51:21.606Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "cramps": 0,
                  "heaviness": 0,
                  "hyperpigmentation": 0,
                  "pain": 0,
                  "pain_on_calf_compression": 0,
                  "paresthesia": 0,
                  "pretibial_edema": 0,
                  "pruritus": 0,
                  "redness": 0,
                  "skin_induration": 0,
                  "ulcer": false,
                  "venous_ectasia": 0
                },
                {
                  "cramps": 0,
                  "heaviness": 0,
                  "hyperpigmentation": 0,
                  "pain": 0,
                  "pain_on_calf_compression": 0,
                  "paresthesia": 0,
                  "pretibial_edema": 0,
                  "pruritus": 0,
                  "redness": 0,
                  "skin_induration": 0,
                  "ulcer": false,
                  "venous_ectasia": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Kahn SR",
                    "doi": "10.1111/j.1538-7836.2009.03339.x",
                    "id": "kahn-2009",
                    "pmid": "19320818",
                    "source": "J Thromb Haemost. 2009;7(5):884-888",
                    "title": "Measurement properties of the Villalta scale to define and classify the severity of the post-thrombotic syndrome"
                  },
                  "components": [
                    {
                      "factor": "pain",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "cramps",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "heaviness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pruritus",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "paresthesia",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pretibial_edema",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "skin_induration",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "hyperpigmentation",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "venous_ectasia",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "redness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pain_on_calf_compression",
                      "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": "villalta",
                  "formula_expression": "Villalta = pain + cramps + heaviness + pruritus + paresthesia + pretibial_edema + skin_induration + hyperpigmentation + venous_ectasia + redness + pain_on_calf_compression; each caller-assigned 0-3; max 33; ulcer is a separate boolean and is not added to the score; PTS if score ≥5 or ulcer; none 0-4 (no ulcer); mild 5-9; moderate 10-14; severe if score ≥15 or ulcer",
                  "max_score": 33,
                  "pts": false,
                  "pts_band": "none",
                  "score": 0,
                  "ulcer": false
                },
                {
                  "citation": {
                    "authors": "Kahn SR",
                    "doi": "10.1111/j.1538-7836.2009.03339.x",
                    "id": "kahn-2009",
                    "pmid": "19320818",
                    "source": "J Thromb Haemost. 2009;7(5):884-888",
                    "title": "Measurement properties of the Villalta scale to define and classify the severity of the post-thrombotic syndrome"
                  },
                  "components": [
                    {
                      "factor": "pain",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "cramps",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "heaviness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pruritus",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "paresthesia",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pretibial_edema",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "skin_induration",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "hyperpigmentation",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "venous_ectasia",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "redness",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "pain_on_calf_compression",
                      "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": "villalta",
                  "formula_expression": "Villalta = pain + cramps + heaviness + pruritus + paresthesia + pretibial_edema + skin_induration + hyperpigmentation + venous_ectasia + redness + pain_on_calf_compression; each caller-assigned 0-3; max 33; ulcer is a separate boolean and is not added to the score; PTS if score ≥5 or ulcer; none 0-4 (no ulcer); mild 5-9; moderate 10-14; severe if score ≥15 or ulcer",
                  "max_score": 33,
                  "pts": false,
                  "pts_band": "none",
                  "score": 0,
                  "ulcer": false
                }
              ],
              "path": "/api/calc/villalta"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "cramps": {
                            "description": "Caller-assigned Kahn 2009 Villalta symptom cramps (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "heaviness": {
                            "description": "Caller-assigned Kahn 2009 Villalta symptom heaviness (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "hyperpigmentation": {
                            "description": "Caller-assigned Kahn 2009 Villalta sign hyperpigmentation (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "pain": {
                            "description": "Caller-assigned Kahn 2009 Villalta symptom pain (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "pain_on_calf_compression": {
                            "description": "Caller-assigned Kahn 2009 Villalta sign pain on calf compression (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "paresthesia": {
                            "description": "Caller-assigned Kahn 2009 Villalta symptom paresthesia (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "pretibial_edema": {
                            "description": "Caller-assigned Kahn 2009 Villalta sign pretibial edema (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "pruritus": {
                            "description": "Caller-assigned Kahn 2009 Villalta symptom pruritus (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "redness": {
                            "description": "Caller-assigned Kahn 2009 Villalta sign redness (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "skin_induration": {
                            "description": "Caller-assigned Kahn 2009 Villalta sign skin induration (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          },
                          "ulcer": {
                            "description": "Caller-assigned venous ulcer (true or false). Presence classifies PTS as severe (Kahn 2009) and does not add 15 to the numeric score. magent does not examine the limb.",
                            "type": "boolean"
                          },
                          "venous_ectasia": {
                            "description": "Caller-assigned Kahn 2009 Villalta sign venous ectasia (integer 0-3: 0 none, 1 mild, 2 moderate, 3 severe). magent does not examine the limb.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "pain",
                          "cramps",
                          "heaviness",
                          "pruritus",
                          "paresthesia",
                          "pretibial_edema",
                          "skin_induration",
                          "hyperpigmentation",
                          "venous_ectasia",
                          "redness",
                          "pain_on_calf_compression",
                          "ulcer"
                        ],
                        "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"
  }
}