{
  "x402Version": 2,
  "id": 39486,
  "slug": "39486",
  "resource": "https://api.magentlab.com/api/calc/asdas_esr",
  "description": "Lukas 2009 ASDAS-ESR: 0.08*back pain + 0.07*morning stiffness duration + 0.11*patient global + 0.09*peripheral pain/swelling + 0.29*sqrt(ESR). BASDAI 0-10 items and ESR in mm/h. magent does not examine the patient or assay ESR. Not ASDAS-CRP. Not BASDAI total. Does not apply Machado 2011 1.3/2.1/3.5 activity cuts. Not a diagnosis or biologic order.",
  "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": [
              {
                "back_pain": 0,
                "esr_mm_h": 0,
                "morning_stiffness_duration": 0,
                "patient_global": 0,
                "peripheral_pain_swelling": 0
              },
              {
                "back_pain": 0,
                "esr_mm_h": 0,
                "morning_stiffness_duration": 0,
                "patient_global": 0,
                "peripheral_pain_swelling": 0
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "back_pain": 0,
                "citation": {
                  "authors": "Lukas C, Landewé R, Sieper J, Dougados M, Davis J, Braun J, van der Linden S, van der Heijde D",
                  "doi": "10.1136/ard.2008.094870",
                  "id": "lukas-2009",
                  "pmid": "18625618",
                  "source": "Ann Rheum Dis. 2009;68(1):18-24",
                  "title": "Development of an ASAS-endorsed disease activity score (ASDAS) in patients with ankylosing spondylitis"
                },
                "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.",
                "esr_mm_h": 0,
                "formula": "asdas_esr",
                "formula_expression": "ASDAS-ESR = 0.08*back_pain + 0.07*morning_stiffness_duration + 0.11*patient_global + 0.09*peripheral_pain_swelling + 0.29*sqrt(esr_mm_h); Lukas 2009 development formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; ESR mm/h; not ASDAS-CRP; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay ESR",
                "morning_stiffness_duration": 0,
                "patient_global": 0,
                "peripheral_pain_swelling": 0,
                "score": 0
              },
              {
                "back_pain": 0,
                "citation": {
                  "authors": "Lukas C, Landewé R, Sieper J, Dougados M, Davis J, Braun J, van der Linden S, van der Heijde D",
                  "doi": "10.1136/ard.2008.094870",
                  "id": "lukas-2009",
                  "pmid": "18625618",
                  "source": "Ann Rheum Dis. 2009;68(1):18-24",
                  "title": "Development of an ASAS-endorsed disease activity score (ASDAS) in patients with ankylosing spondylitis"
                },
                "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.",
                "esr_mm_h": 0,
                "formula": "asdas_esr",
                "formula_expression": "ASDAS-ESR = 0.08*back_pain + 0.07*morning_stiffness_duration + 0.11*patient_global + 0.09*peripheral_pain_swelling + 0.29*sqrt(esr_mm_h); Lukas 2009 development formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; ESR mm/h; not ASDAS-CRP; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay ESR",
                "morning_stiffness_duration": 0,
                "patient_global": 0,
                "peripheral_pain_swelling": 0,
                "score": 0
              }
            ],
            "path": "/api/calc/asdas_esr"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "back_pain": {
                          "description": "Caller-assigned total back pain on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 2, neck/back/hip pain). Number 0-10. magent does not examine the patient.",
                          "type": "number"
                        },
                        "esr_mm_h": {
                          "description": "Caller-assigned erythrocyte sedimentation rate in mm/h (Lukas 2009). Number 0-150 is a magent clamp. magent does not assay ESR.",
                          "type": "number"
                        },
                        "morning_stiffness_duration": {
                          "description": "Caller-assigned duration of morning stiffness on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 6). Number 0-10, not hours. magent does not examine the patient.",
                          "type": "number"
                        },
                        "patient_global": {
                          "description": "Caller-assigned patient global assessment of disease activity on a 0-10 VAS or NRS (Lukas 2009). Number 0-10. magent does not examine the patient.",
                          "type": "number"
                        },
                        "peripheral_pain_swelling": {
                          "description": "Caller-assigned peripheral pain/swelling on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 3, joints other than neck/back/hips). Number 0-10. magent does not examine the patient.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "back_pain",
                        "morning_stiffness_duration",
                        "patient_global",
                        "peripheral_pain_swelling",
                        "esr_mm_h"
                      ],
                      "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": [
    "asdas-esr",
    "spondyloarthritis",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:35:38.601Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:35:38.458Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "back_pain": 0,
                  "esr_mm_h": 0,
                  "morning_stiffness_duration": 0,
                  "patient_global": 0,
                  "peripheral_pain_swelling": 0
                },
                {
                  "back_pain": 0,
                  "esr_mm_h": 0,
                  "morning_stiffness_duration": 0,
                  "patient_global": 0,
                  "peripheral_pain_swelling": 0
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "back_pain": 0,
                  "citation": {
                    "authors": "Lukas C, Landewé R, Sieper J, Dougados M, Davis J, Braun J, van der Linden S, van der Heijde D",
                    "doi": "10.1136/ard.2008.094870",
                    "id": "lukas-2009",
                    "pmid": "18625618",
                    "source": "Ann Rheum Dis. 2009;68(1):18-24",
                    "title": "Development of an ASAS-endorsed disease activity score (ASDAS) in patients with ankylosing spondylitis"
                  },
                  "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.",
                  "esr_mm_h": 0,
                  "formula": "asdas_esr",
                  "formula_expression": "ASDAS-ESR = 0.08*back_pain + 0.07*morning_stiffness_duration + 0.11*patient_global + 0.09*peripheral_pain_swelling + 0.29*sqrt(esr_mm_h); Lukas 2009 development formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; ESR mm/h; not ASDAS-CRP; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay ESR",
                  "morning_stiffness_duration": 0,
                  "patient_global": 0,
                  "peripheral_pain_swelling": 0,
                  "score": 0
                },
                {
                  "back_pain": 0,
                  "citation": {
                    "authors": "Lukas C, Landewé R, Sieper J, Dougados M, Davis J, Braun J, van der Linden S, van der Heijde D",
                    "doi": "10.1136/ard.2008.094870",
                    "id": "lukas-2009",
                    "pmid": "18625618",
                    "source": "Ann Rheum Dis. 2009;68(1):18-24",
                    "title": "Development of an ASAS-endorsed disease activity score (ASDAS) in patients with ankylosing spondylitis"
                  },
                  "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.",
                  "esr_mm_h": 0,
                  "formula": "asdas_esr",
                  "formula_expression": "ASDAS-ESR = 0.08*back_pain + 0.07*morning_stiffness_duration + 0.11*patient_global + 0.09*peripheral_pain_swelling + 0.29*sqrt(esr_mm_h); Lukas 2009 development formula; BASDAI 0-10 items (Q2 back pain, Q6 stiffness duration, Q3 peripheral pain/swelling) and patient global 0-10; ESR mm/h; not ASDAS-CRP; not BASDAI total; no Machado 2011 1.3/2.1/3.5 cuts; magent does not examine the patient or assay ESR",
                  "morning_stiffness_duration": 0,
                  "patient_global": 0,
                  "peripheral_pain_swelling": 0,
                  "score": 0
                }
              ],
              "path": "/api/calc/asdas_esr"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "back_pain": {
                            "description": "Caller-assigned total back pain on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 2, neck/back/hip pain). Number 0-10. magent does not examine the patient.",
                            "type": "number"
                          },
                          "esr_mm_h": {
                            "description": "Caller-assigned erythrocyte sedimentation rate in mm/h (Lukas 2009). Number 0-150 is a magent clamp. magent does not assay ESR.",
                            "type": "number"
                          },
                          "morning_stiffness_duration": {
                            "description": "Caller-assigned duration of morning stiffness on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 6). Number 0-10, not hours. magent does not examine the patient.",
                            "type": "number"
                          },
                          "patient_global": {
                            "description": "Caller-assigned patient global assessment of disease activity on a 0-10 VAS or NRS (Lukas 2009). Number 0-10. magent does not examine the patient.",
                            "type": "number"
                          },
                          "peripheral_pain_swelling": {
                            "description": "Caller-assigned peripheral pain/swelling on a 0-10 VAS or NRS (Lukas 2009; BASDAI question 3, joints other than neck/back/hips). Number 0-10. magent does not examine the patient.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "back_pain",
                          "morning_stiffness_duration",
                          "patient_global",
                          "peripheral_pain_swelling",
                          "esr_mm_h"
                        ],
                        "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"
  }
}