{
  "x402Version": 2,
  "id": 39488,
  "slug": "39488",
  "resource": "https://api.magentlab.com/api/calc/asas_axial_spa",
  "description": "ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2). Required: chronic back pain ≥3 months and age at onset <45. Imaging arm: MRI or modified New York sacroiliitis plus ≥1 of 11 SpA features. Clinical arm: HLA-B27 plus ≥2 other features (HLA-B27 does not count toward those two). Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only. magent does not read films or assay HLA-B27.",
  "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": [
              {
                "age_at_onset_years": 28,
                "arthritis": false,
                "chronic_back_pain_ge_3_months": true,
                "dactylitis": false,
                "elevated_crp": false,
                "enthesitis_heel": false,
                "family_history_spa": false,
                "hla_b27": false,
                "ibd": false,
                "inflammatory_back_pain": true,
                "mri_sacroiliitis": true,
                "nsaid_good_response": false,
                "psoriasis": false,
                "radiographic_sacroiliitis": false,
                "uveitis": false
              },
              {
                "age_at_onset_years": 28,
                "arthritis": false,
                "chronic_back_pain_ge_3_months": true,
                "dactylitis": false,
                "elevated_crp": false,
                "enthesitis_heel": false,
                "family_history_spa": false,
                "hla_b27": false,
                "ibd": false,
                "inflammatory_back_pain": true,
                "mri_sacroiliitis": true,
                "nsaid_good_response": false,
                "psoriasis": false,
                "radiographic_sacroiliitis": false,
                "uveitis": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Rudwaleit M, van der Heijde D, Landewé R, Listing J, Akkoc N, Brandt J, Braun J, Chou CT, Collantes-Estevez E, Dougados M, Huang F, Gu J, Khan MA, Kirazli Y, Maksymowych WP, Mielants H, Sørensen IJ, Ozgocmen S, Roussou E, Valle-Oñate R, Weber U, Wei J, Sieper J",
                  "doi": "10.1136/ard.2009.108233",
                  "id": "rudwaleit-2009",
                  "pmid": "19297345",
                  "source": "Ann Rheum Dis. 2009;68(6):777-783",
                  "title": "The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection"
                },
                "classified": true,
                "clinical_arm": false,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "asas_axial_spa",
                "formula_expression": "ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2 + table 5): required chronic_back_pain_ge_3_months true and age_at_onset_years 1–44 (age at onset <45). sacroiliitis_on_imaging = mri_sacroiliitis or radiographic_sacroiliitis. spa_feature_count = count of 11 SpA features (inflammatory_back_pain, arthritis, enthesitis_heel, uveitis, dactylitis, psoriasis, ibd, nsaid_good_response, family_history_spa, hla_b27, elevated_crp). other_spa_feature_count = spa_feature_count minus 1 if hla_b27 else spa_feature_count. imaging_arm iff sacroiliitis_on_imaging and spa_feature_count ≥1. clinical_arm iff hla_b27 and other_spa_feature_count ≥2. classified iff imaging_arm or clinical_arm. Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only",
                "imaging_arm": true,
                "other_spa_feature_count": 1,
                "sacroiliitis_on_imaging": true,
                "spa_feature_count": 1
              },
              {
                "citation": {
                  "authors": "Rudwaleit M, van der Heijde D, Landewé R, Listing J, Akkoc N, Brandt J, Braun J, Chou CT, Collantes-Estevez E, Dougados M, Huang F, Gu J, Khan MA, Kirazli Y, Maksymowych WP, Mielants H, Sørensen IJ, Ozgocmen S, Roussou E, Valle-Oñate R, Weber U, Wei J, Sieper J",
                  "doi": "10.1136/ard.2009.108233",
                  "id": "rudwaleit-2009",
                  "pmid": "19297345",
                  "source": "Ann Rheum Dis. 2009;68(6):777-783",
                  "title": "The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection"
                },
                "classified": true,
                "clinical_arm": false,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "asas_axial_spa",
                "formula_expression": "ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2 + table 5): required chronic_back_pain_ge_3_months true and age_at_onset_years 1–44 (age at onset <45). sacroiliitis_on_imaging = mri_sacroiliitis or radiographic_sacroiliitis. spa_feature_count = count of 11 SpA features (inflammatory_back_pain, arthritis, enthesitis_heel, uveitis, dactylitis, psoriasis, ibd, nsaid_good_response, family_history_spa, hla_b27, elevated_crp). other_spa_feature_count = spa_feature_count minus 1 if hla_b27 else spa_feature_count. imaging_arm iff sacroiliitis_on_imaging and spa_feature_count ≥1. clinical_arm iff hla_b27 and other_spa_feature_count ≥2. classified iff imaging_arm or clinical_arm. Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only",
                "imaging_arm": true,
                "other_spa_feature_count": 1,
                "sacroiliitis_on_imaging": true,
                "spa_feature_count": 1
              }
            ],
            "path": "/api/calc/asas_axial_spa"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age_at_onset_years": {
                          "description": "Age at onset of back pain in years, integer 1–44 (Rudwaleit 2009 entry: age at onset <45). 0 and ≥45 are invalid and are not classified. magent does not date the patient.",
                          "type": "integer"
                        },
                        "arthritis": {
                          "description": "Past or present synovitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine joints.",
                          "type": "boolean"
                        },
                        "chronic_back_pain_ge_3_months": {
                          "description": "Must be true. Rudwaleit 2009 entry: chronic back pain ≥3 months. false is invalid and is not returned as classified=false. magent does not take a history.",
                          "type": "boolean"
                        },
                        "dactylitis": {
                          "description": "Past or present dactylitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine digits.",
                          "type": "boolean"
                        },
                        "elevated_crp": {
                          "description": "CRP above the upper limit of normal in the presence of back pain after exclusion of other causes, as assigned by the caller (Rudwaleit 2009). true or false. magent does not assay CRP.",
                          "type": "boolean"
                        },
                        "enthesitis_heel": {
                          "description": "Past or present spontaneous pain or tenderness at the insertion of the Achilles tendon or plantar fascia at the calcaneus, as assigned by the caller (Rudwaleit 2009). Heel enthesitis only. true or false. magent does not examine entheses.",
                          "type": "boolean"
                        },
                        "family_history_spa": {
                          "description": "Family history of SpA as assigned by the caller (Rudwaleit 2009): first-degree or second-degree relatives with ankylosing spondylitis, psoriasis, acute uveitis, reactive arthritis, or IBD. true or false. magent does not take a pedigree.",
                          "type": "boolean"
                        },
                        "hla_b27": {
                          "description": "HLA-B27 positive as assigned by the caller (Rudwaleit 2009). Obligatory for the clinical arm; does not count toward the two other SpA features. Counts toward spa_feature_count and the imaging arm. true or false. magent does not assay HLA-B27.",
                          "type": "boolean"
                        },
                        "ibd": {
                          "description": "Past or present Crohn's disease or ulcerative colitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not diagnose IBD.",
                          "type": "boolean"
                        },
                        "inflammatory_back_pain": {
                          "description": "Inflammatory back pain as assigned by the caller (Rudwaleit 2009 fig 2 / table 5). true or false. magent does not take a history or apply a nested IBP questionnaire.",
                          "type": "boolean"
                        },
                        "mri_sacroiliitis": {
                          "description": "Active (acute) inflammation on MRI highly suggestive of SpA-associated sacroiliitis, as assigned by the caller (Rudwaleit 2009). Combined with radiographic_sacroiliitis by OR for sacroiliitis_on_imaging. true or false. magent does not read MRI.",
                          "type": "boolean"
                        },
                        "nsaid_good_response": {
                          "description": "Good response to NSAIDs as assigned by the caller (Rudwaleit 2009): 24–48 h after a full dose of NSAID the back pain is not present anymore or is much better. true or false. magent does not prescribe NSAIDs.",
                          "type": "boolean"
                        },
                        "psoriasis": {
                          "description": "Past or present psoriasis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine skin.",
                          "type": "boolean"
                        },
                        "radiographic_sacroiliitis": {
                          "description": "Definite radiographic sacroiliitis according to modified New York criteria (bilateral grade ≥2 or unilateral grade 3–4), as assigned by the caller (Rudwaleit 2009). true or false. magent does not read radiographs.",
                          "type": "boolean"
                        },
                        "uveitis": {
                          "description": "Past or present uveitis confirmed by an ophthalmologist, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine the eye.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "chronic_back_pain_ge_3_months",
                        "age_at_onset_years",
                        "mri_sacroiliitis",
                        "radiographic_sacroiliitis",
                        "inflammatory_back_pain",
                        "arthritis",
                        "enthesitis_heel",
                        "uveitis",
                        "dactylitis",
                        "psoriasis",
                        "ibd",
                        "nsaid_good_response",
                        "family_history_spa",
                        "hla_b27",
                        "elevated_crp"
                      ],
                      "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": [
    "asas",
    "axial-spa",
    "spondyloarthritis",
    "classification",
    "emergency",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:35:26.443Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:35:26.294Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age_at_onset_years": 28,
                  "arthritis": false,
                  "chronic_back_pain_ge_3_months": true,
                  "dactylitis": false,
                  "elevated_crp": false,
                  "enthesitis_heel": false,
                  "family_history_spa": false,
                  "hla_b27": false,
                  "ibd": false,
                  "inflammatory_back_pain": true,
                  "mri_sacroiliitis": true,
                  "nsaid_good_response": false,
                  "psoriasis": false,
                  "radiographic_sacroiliitis": false,
                  "uveitis": false
                },
                {
                  "age_at_onset_years": 28,
                  "arthritis": false,
                  "chronic_back_pain_ge_3_months": true,
                  "dactylitis": false,
                  "elevated_crp": false,
                  "enthesitis_heel": false,
                  "family_history_spa": false,
                  "hla_b27": false,
                  "ibd": false,
                  "inflammatory_back_pain": true,
                  "mri_sacroiliitis": true,
                  "nsaid_good_response": false,
                  "psoriasis": false,
                  "radiographic_sacroiliitis": false,
                  "uveitis": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Rudwaleit M, van der Heijde D, Landewé R, Listing J, Akkoc N, Brandt J, Braun J, Chou CT, Collantes-Estevez E, Dougados M, Huang F, Gu J, Khan MA, Kirazli Y, Maksymowych WP, Mielants H, Sørensen IJ, Ozgocmen S, Roussou E, Valle-Oñate R, Weber U, Wei J, Sieper J",
                    "doi": "10.1136/ard.2009.108233",
                    "id": "rudwaleit-2009",
                    "pmid": "19297345",
                    "source": "Ann Rheum Dis. 2009;68(6):777-783",
                    "title": "The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection"
                  },
                  "classified": true,
                  "clinical_arm": false,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "asas_axial_spa",
                  "formula_expression": "ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2 + table 5): required chronic_back_pain_ge_3_months true and age_at_onset_years 1–44 (age at onset <45). sacroiliitis_on_imaging = mri_sacroiliitis or radiographic_sacroiliitis. spa_feature_count = count of 11 SpA features (inflammatory_back_pain, arthritis, enthesitis_heel, uveitis, dactylitis, psoriasis, ibd, nsaid_good_response, family_history_spa, hla_b27, elevated_crp). other_spa_feature_count = spa_feature_count minus 1 if hla_b27 else spa_feature_count. imaging_arm iff sacroiliitis_on_imaging and spa_feature_count ≥1. clinical_arm iff hla_b27 and other_spa_feature_count ≥2. classified iff imaging_arm or clinical_arm. Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only",
                  "imaging_arm": true,
                  "other_spa_feature_count": 1,
                  "sacroiliitis_on_imaging": true,
                  "spa_feature_count": 1
                },
                {
                  "citation": {
                    "authors": "Rudwaleit M, van der Heijde D, Landewé R, Listing J, Akkoc N, Brandt J, Braun J, Chou CT, Collantes-Estevez E, Dougados M, Huang F, Gu J, Khan MA, Kirazli Y, Maksymowych WP, Mielants H, Sørensen IJ, Ozgocmen S, Roussou E, Valle-Oñate R, Weber U, Wei J, Sieper J",
                    "doi": "10.1136/ard.2009.108233",
                    "id": "rudwaleit-2009",
                    "pmid": "19297345",
                    "source": "Ann Rheum Dis. 2009;68(6):777-783",
                    "title": "The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection"
                  },
                  "classified": true,
                  "clinical_arm": false,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "asas_axial_spa",
                  "formula_expression": "ASAS 2009 axial SpA classification (Rudwaleit set 3a / fig 2 + table 5): required chronic_back_pain_ge_3_months true and age_at_onset_years 1–44 (age at onset <45). sacroiliitis_on_imaging = mri_sacroiliitis or radiographic_sacroiliitis. spa_feature_count = count of 11 SpA features (inflammatory_back_pain, arthritis, enthesitis_heel, uveitis, dactylitis, psoriasis, ibd, nsaid_good_response, family_history_spa, hla_b27, elevated_crp). other_spa_feature_count = spa_feature_count minus 1 if hla_b27 else spa_feature_count. imaging_arm iff sacroiliitis_on_imaging and spa_feature_count ≥1. clinical_arm iff hla_b27 and other_spa_feature_count ≥2. classified iff imaging_arm or clinical_arm. Not a diagnosis. Not peripheral ASAS 2011. Not modified New York AS-only",
                  "imaging_arm": true,
                  "other_spa_feature_count": 1,
                  "sacroiliitis_on_imaging": true,
                  "spa_feature_count": 1
                }
              ],
              "path": "/api/calc/asas_axial_spa"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age_at_onset_years": {
                            "description": "Age at onset of back pain in years, integer 1–44 (Rudwaleit 2009 entry: age at onset <45). 0 and ≥45 are invalid and are not classified. magent does not date the patient.",
                            "type": "integer"
                          },
                          "arthritis": {
                            "description": "Past or present synovitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine joints.",
                            "type": "boolean"
                          },
                          "chronic_back_pain_ge_3_months": {
                            "description": "Must be true. Rudwaleit 2009 entry: chronic back pain ≥3 months. false is invalid and is not returned as classified=false. magent does not take a history.",
                            "type": "boolean"
                          },
                          "dactylitis": {
                            "description": "Past or present dactylitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine digits.",
                            "type": "boolean"
                          },
                          "elevated_crp": {
                            "description": "CRP above the upper limit of normal in the presence of back pain after exclusion of other causes, as assigned by the caller (Rudwaleit 2009). true or false. magent does not assay CRP.",
                            "type": "boolean"
                          },
                          "enthesitis_heel": {
                            "description": "Past or present spontaneous pain or tenderness at the insertion of the Achilles tendon or plantar fascia at the calcaneus, as assigned by the caller (Rudwaleit 2009). Heel enthesitis only. true or false. magent does not examine entheses.",
                            "type": "boolean"
                          },
                          "family_history_spa": {
                            "description": "Family history of SpA as assigned by the caller (Rudwaleit 2009): first-degree or second-degree relatives with ankylosing spondylitis, psoriasis, acute uveitis, reactive arthritis, or IBD. true or false. magent does not take a pedigree.",
                            "type": "boolean"
                          },
                          "hla_b27": {
                            "description": "HLA-B27 positive as assigned by the caller (Rudwaleit 2009). Obligatory for the clinical arm; does not count toward the two other SpA features. Counts toward spa_feature_count and the imaging arm. true or false. magent does not assay HLA-B27.",
                            "type": "boolean"
                          },
                          "ibd": {
                            "description": "Past or present Crohn's disease or ulcerative colitis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not diagnose IBD.",
                            "type": "boolean"
                          },
                          "inflammatory_back_pain": {
                            "description": "Inflammatory back pain as assigned by the caller (Rudwaleit 2009 fig 2 / table 5). true or false. magent does not take a history or apply a nested IBP questionnaire.",
                            "type": "boolean"
                          },
                          "mri_sacroiliitis": {
                            "description": "Active (acute) inflammation on MRI highly suggestive of SpA-associated sacroiliitis, as assigned by the caller (Rudwaleit 2009). Combined with radiographic_sacroiliitis by OR for sacroiliitis_on_imaging. true or false. magent does not read MRI.",
                            "type": "boolean"
                          },
                          "nsaid_good_response": {
                            "description": "Good response to NSAIDs as assigned by the caller (Rudwaleit 2009): 24–48 h after a full dose of NSAID the back pain is not present anymore or is much better. true or false. magent does not prescribe NSAIDs.",
                            "type": "boolean"
                          },
                          "psoriasis": {
                            "description": "Past or present psoriasis diagnosed by a physician, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine skin.",
                            "type": "boolean"
                          },
                          "radiographic_sacroiliitis": {
                            "description": "Definite radiographic sacroiliitis according to modified New York criteria (bilateral grade ≥2 or unilateral grade 3–4), as assigned by the caller (Rudwaleit 2009). true or false. magent does not read radiographs.",
                            "type": "boolean"
                          },
                          "uveitis": {
                            "description": "Past or present uveitis confirmed by an ophthalmologist, as assigned by the caller (Rudwaleit 2009). true or false. magent does not examine the eye.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "chronic_back_pain_ge_3_months",
                          "age_at_onset_years",
                          "mri_sacroiliitis",
                          "radiographic_sacroiliitis",
                          "inflammatory_back_pain",
                          "arthritis",
                          "enthesitis_heel",
                          "uveitis",
                          "dactylitis",
                          "psoriasis",
                          "ibd",
                          "nsaid_good_response",
                          "family_history_spa",
                          "hla_b27",
                          "elevated_crp"
                        ],
                        "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"
  }
}