{
  "x402Version": 2,
  "id": 39304,
  "slug": "39304",
  "resource": "https://api.magentlab.com/api/calc/ascod",
  "description": "Amarenco 2013 ASCOD phenotyping of ischemic stroke from caller-assigned grades. A atherosclerosis, S small-vessel disease, C cardiac pathology, O other causes, D dissection. Each grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but disease present, 0 absent, or 9 insufficient workup. Returns A1-S0-C2-O0-D0 style phenotype, not a summed score. magent does not read imaging. Not TOAST. Not CCS. Not a treatment. Not a medical device.",
  "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": [
              {
                "atherosclerosis": 0,
                "cardiac": 0,
                "dissection": 0,
                "other": 0,
                "small_vessel": 0
              },
              {
                "atherosclerosis": 0,
                "cardiac": 0,
                "dissection": 0,
                "other": 0,
                "small_vessel": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "atherosclerosis": 0,
                "cardiac": 0,
                "citation": {
                  "authors": "Amarenco P, Bogousslavsky J, Caplan LR, Donnan GA, Wolf ME, Hennerici MG",
                  "doi": "10.1159/000352050",
                  "id": "amarenco-2013",
                  "pmid": "23899749",
                  "source": "Cerebrovasc Dis. 2013;36(1):1-5",
                  "title": "The ASCOD phenotyping of ischemic stroke (Updated ASCO Phenotyping)"
                },
                "components": [
                  {
                    "factor": "atherosclerosis",
                    "met": true,
                    "value": 0
                  },
                  {
                    "factor": "small_vessel",
                    "met": true,
                    "value": 0
                  },
                  {
                    "factor": "cardiac",
                    "met": true,
                    "value": 0
                  },
                  {
                    "factor": "other",
                    "met": true,
                    "value": 0
                  },
                  {
                    "factor": "dissection",
                    "met": 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.",
                "dissection": 0,
                "formula": "ascod",
                "formula_expression": "ASCOD phenotype A{atherosclerosis}-S{small_vessel}-C{cardiac}-O{other}-D{dissection}; each caller-assigned Amarenco 2013 grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup to rule out the disease; grades are independent and are not summed; not TOAST; not CCS; magent does not read imaging",
                "other": 0,
                "phenotype": "A0-S0-C0-O0-D0",
                "small_vessel": 0
              },
              {
                "atherosclerosis": 0,
                "cardiac": 0,
                "citation": {
                  "authors": "Amarenco P, Bogousslavsky J, Caplan LR, Donnan GA, Wolf ME, Hennerici MG",
                  "doi": "10.1159/000352050",
                  "id": "amarenco-2013",
                  "pmid": "23899749",
                  "source": "Cerebrovasc Dis. 2013;36(1):1-5",
                  "title": "The ASCOD phenotyping of ischemic stroke (Updated ASCO Phenotyping)"
                },
                "components": [
                  {
                    "factor": "atherosclerosis",
                    "met": true,
                    "value": 0
                  },
                  {
                    "factor": "small_vessel",
                    "met": true,
                    "value": 0
                  },
                  {
                    "factor": "cardiac",
                    "met": true,
                    "value": 0
                  },
                  {
                    "factor": "other",
                    "met": true,
                    "value": 0
                  },
                  {
                    "factor": "dissection",
                    "met": 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.",
                "dissection": 0,
                "formula": "ascod",
                "formula_expression": "ASCOD phenotype A{atherosclerosis}-S{small_vessel}-C{cardiac}-O{other}-D{dissection}; each caller-assigned Amarenco 2013 grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup to rule out the disease; grades are independent and are not summed; not TOAST; not CCS; magent does not read imaging",
                "other": 0,
                "phenotype": "A0-S0-C0-O0-D0",
                "small_vessel": 0
              }
            ],
            "path": "/api/calc/ascod"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "atherosclerosis": {
                          "description": "Caller-assigned Amarenco 2013 atherosclerosis (A) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                          "enum": [
                            0,
                            1,
                            2,
                            3,
                            9
                          ],
                          "type": "integer"
                        },
                        "cardiac": {
                          "description": "Caller-assigned Amarenco 2013 cardiac pathology (C) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                          "enum": [
                            0,
                            1,
                            2,
                            3,
                            9
                          ],
                          "type": "integer"
                        },
                        "dissection": {
                          "description": "Caller-assigned Amarenco 2013 dissection (D) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                          "enum": [
                            0,
                            1,
                            2,
                            3,
                            9
                          ],
                          "type": "integer"
                        },
                        "other": {
                          "description": "Caller-assigned Amarenco 2013 other causes (O) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                          "enum": [
                            0,
                            1,
                            2,
                            3,
                            9
                          ],
                          "type": "integer"
                        },
                        "small_vessel": {
                          "description": "Caller-assigned Amarenco 2013 small-vessel disease (S) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                          "enum": [
                            0,
                            1,
                            2,
                            3,
                            9
                          ],
                          "type": "integer"
                        }
                      },
                      "required": [
                        "atherosclerosis",
                        "small_vessel",
                        "cardiac",
                        "other",
                        "dissection"
                      ],
                      "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": [
    "ascod",
    "ischemic-stroke",
    "neurology",
    "phenotyping",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T23:50:52.655Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T23:50:52.411Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "atherosclerosis": 0,
                  "cardiac": 0,
                  "dissection": 0,
                  "other": 0,
                  "small_vessel": 0
                },
                {
                  "atherosclerosis": 0,
                  "cardiac": 0,
                  "dissection": 0,
                  "other": 0,
                  "small_vessel": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "atherosclerosis": 0,
                  "cardiac": 0,
                  "citation": {
                    "authors": "Amarenco P, Bogousslavsky J, Caplan LR, Donnan GA, Wolf ME, Hennerici MG",
                    "doi": "10.1159/000352050",
                    "id": "amarenco-2013",
                    "pmid": "23899749",
                    "source": "Cerebrovasc Dis. 2013;36(1):1-5",
                    "title": "The ASCOD phenotyping of ischemic stroke (Updated ASCO Phenotyping)"
                  },
                  "components": [
                    {
                      "factor": "atherosclerosis",
                      "met": true,
                      "value": 0
                    },
                    {
                      "factor": "small_vessel",
                      "met": true,
                      "value": 0
                    },
                    {
                      "factor": "cardiac",
                      "met": true,
                      "value": 0
                    },
                    {
                      "factor": "other",
                      "met": true,
                      "value": 0
                    },
                    {
                      "factor": "dissection",
                      "met": 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.",
                  "dissection": 0,
                  "formula": "ascod",
                  "formula_expression": "ASCOD phenotype A{atherosclerosis}-S{small_vessel}-C{cardiac}-O{other}-D{dissection}; each caller-assigned Amarenco 2013 grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup to rule out the disease; grades are independent and are not summed; not TOAST; not CCS; magent does not read imaging",
                  "other": 0,
                  "phenotype": "A0-S0-C0-O0-D0",
                  "small_vessel": 0
                },
                {
                  "atherosclerosis": 0,
                  "cardiac": 0,
                  "citation": {
                    "authors": "Amarenco P, Bogousslavsky J, Caplan LR, Donnan GA, Wolf ME, Hennerici MG",
                    "doi": "10.1159/000352050",
                    "id": "amarenco-2013",
                    "pmid": "23899749",
                    "source": "Cerebrovasc Dis. 2013;36(1):1-5",
                    "title": "The ASCOD phenotyping of ischemic stroke (Updated ASCO Phenotyping)"
                  },
                  "components": [
                    {
                      "factor": "atherosclerosis",
                      "met": true,
                      "value": 0
                    },
                    {
                      "factor": "small_vessel",
                      "met": true,
                      "value": 0
                    },
                    {
                      "factor": "cardiac",
                      "met": true,
                      "value": 0
                    },
                    {
                      "factor": "other",
                      "met": true,
                      "value": 0
                    },
                    {
                      "factor": "dissection",
                      "met": 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.",
                  "dissection": 0,
                  "formula": "ascod",
                  "formula_expression": "ASCOD phenotype A{atherosclerosis}-S{small_vessel}-C{cardiac}-O{other}-D{dissection}; each caller-assigned Amarenco 2013 grade is 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup to rule out the disease; grades are independent and are not summed; not TOAST; not CCS; magent does not read imaging",
                  "other": 0,
                  "phenotype": "A0-S0-C0-O0-D0",
                  "small_vessel": 0
                }
              ],
              "path": "/api/calc/ascod"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "atherosclerosis": {
                            "description": "Caller-assigned Amarenco 2013 atherosclerosis (A) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                            "enum": [
                              0,
                              1,
                              2,
                              3,
                              9
                            ],
                            "type": "integer"
                          },
                          "cardiac": {
                            "description": "Caller-assigned Amarenco 2013 cardiac pathology (C) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                            "enum": [
                              0,
                              1,
                              2,
                              3,
                              9
                            ],
                            "type": "integer"
                          },
                          "dissection": {
                            "description": "Caller-assigned Amarenco 2013 dissection (D) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                            "enum": [
                              0,
                              1,
                              2,
                              3,
                              9
                            ],
                            "type": "integer"
                          },
                          "other": {
                            "description": "Caller-assigned Amarenco 2013 other causes (O) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                            "enum": [
                              0,
                              1,
                              2,
                              3,
                              9
                            ],
                            "type": "integer"
                          },
                          "small_vessel": {
                            "description": "Caller-assigned Amarenco 2013 small-vessel disease (S) grade: 1 potentially causal, 2 causality uncertain, 3 unlikely causal but the disease is present, 0 absence of disease, or 9 insufficient workup. magent does not read imaging.",
                            "enum": [
                              0,
                              1,
                              2,
                              3,
                              9
                            ],
                            "type": "integer"
                          }
                        },
                        "required": [
                          "atherosclerosis",
                          "small_vessel",
                          "cardiac",
                          "other",
                          "dissection"
                        ],
                        "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"
  }
}