{
  "x402Version": 2,
  "id": 39223,
  "slug": "39223",
  "resource": "https://api.magentlab.com/api/calc/crafft",
  "description": "Knight 2002 CRAFFT: six caller-assigned yes/no flags (car, relax, alone, forget, friends, trouble), 1 point each, max 6. Screen-positive when score ≥2 (optimal cutoff in Knight 2002 for any problem / any disorder / dependence). Deterministic published score with citation; not a diagnosis of a substance use disorder and not a medical device. magent does not interview the patient. Not CAGE and not CRAFFT 2.1 / 2.0 quantity questions.",
  "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": [
              {
                "alone": false,
                "car": false,
                "forget": false,
                "friends": false,
                "relax": false,
                "trouble": false
              },
              {
                "alone": false,
                "car": false,
                "forget": false,
                "friends": false,
                "relax": false,
                "trouble": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Knight JR, Sherritt L, Shrier LA, Harris SK, Chang G",
                  "doi": "10.1001/archpedi.156.6.607",
                  "id": "knight-2002",
                  "pmid": "12038895",
                  "source": "Arch Pediatr Adolesc Med. 2002;156(6):607-614",
                  "title": "Validity of the CRAFFT substance abuse screening test among adolescent clinic patients"
                },
                "components": [
                  {
                    "factor": "car",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "relax",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "alone",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "forget",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "friends",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "trouble",
                    "points": 0,
                    "present": 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": "crafft",
                "formula_expression": "CRAFFT = car + relax + alone + forget + friends + trouble; each 1 if true; max 6",
                "max_score": 6,
                "score": 0,
                "screen_positive": false
              },
              {
                "citation": {
                  "authors": "Knight JR, Sherritt L, Shrier LA, Harris SK, Chang G",
                  "doi": "10.1001/archpedi.156.6.607",
                  "id": "knight-2002",
                  "pmid": "12038895",
                  "source": "Arch Pediatr Adolesc Med. 2002;156(6):607-614",
                  "title": "Validity of the CRAFFT substance abuse screening test among adolescent clinic patients"
                },
                "components": [
                  {
                    "factor": "car",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "relax",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "alone",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "forget",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "friends",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "trouble",
                    "points": 0,
                    "present": 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": "crafft",
                "formula_expression": "CRAFFT = car + relax + alone + forget + friends + trouble; each 1 if true; max 6",
                "max_score": 6,
                "score": 0,
                "screen_positive": false
              }
            ],
            "path": "/api/calc/crafft"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "alone": {
                          "description": "Do you ever use alcohol or drugs while you are by yourself, or ALONE? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "car": {
                          "description": "Have you ever ridden in a CAR driven by someone (including yourself) who was high or had been using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "forget": {
                          "description": "Do you ever FORGET things you did while using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "friends": {
                          "description": "Do your family or FRIENDS ever tell you that you should cut down on your drinking or drug use? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "relax": {
                          "description": "Do you ever use alcohol or drugs to RELAX, feel better about yourself, or fit in? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                          "type": "boolean"
                        },
                        "trouble": {
                          "description": "Have you gotten into TROUBLE while using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "car",
                        "relax",
                        "alone",
                        "forget",
                        "friends",
                        "trouble"
                      ],
                      "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": [
    "crafft",
    "substance-use",
    "screening",
    "emergency",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T02:21:21.855Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T02:21:21.56Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "alone": false,
                  "car": false,
                  "forget": false,
                  "friends": false,
                  "relax": false,
                  "trouble": false
                },
                {
                  "alone": false,
                  "car": false,
                  "forget": false,
                  "friends": false,
                  "relax": false,
                  "trouble": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Knight JR, Sherritt L, Shrier LA, Harris SK, Chang G",
                    "doi": "10.1001/archpedi.156.6.607",
                    "id": "knight-2002",
                    "pmid": "12038895",
                    "source": "Arch Pediatr Adolesc Med. 2002;156(6):607-614",
                    "title": "Validity of the CRAFFT substance abuse screening test among adolescent clinic patients"
                  },
                  "components": [
                    {
                      "factor": "car",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "relax",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "alone",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "forget",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "friends",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "trouble",
                      "points": 0,
                      "present": 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": "crafft",
                  "formula_expression": "CRAFFT = car + relax + alone + forget + friends + trouble; each 1 if true; max 6",
                  "max_score": 6,
                  "score": 0,
                  "screen_positive": false
                },
                {
                  "citation": {
                    "authors": "Knight JR, Sherritt L, Shrier LA, Harris SK, Chang G",
                    "doi": "10.1001/archpedi.156.6.607",
                    "id": "knight-2002",
                    "pmid": "12038895",
                    "source": "Arch Pediatr Adolesc Med. 2002;156(6):607-614",
                    "title": "Validity of the CRAFFT substance abuse screening test among adolescent clinic patients"
                  },
                  "components": [
                    {
                      "factor": "car",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "relax",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "alone",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "forget",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "friends",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "trouble",
                      "points": 0,
                      "present": 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": "crafft",
                  "formula_expression": "CRAFFT = car + relax + alone + forget + friends + trouble; each 1 if true; max 6",
                  "max_score": 6,
                  "score": 0,
                  "screen_positive": false
                }
              ],
              "path": "/api/calc/crafft"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "alone": {
                            "description": "Do you ever use alcohol or drugs while you are by yourself, or ALONE? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "car": {
                            "description": "Have you ever ridden in a CAR driven by someone (including yourself) who was high or had been using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "forget": {
                            "description": "Do you ever FORGET things you did while using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "friends": {
                            "description": "Do your family or FRIENDS ever tell you that you should cut down on your drinking or drug use? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "relax": {
                            "description": "Do you ever use alcohol or drugs to RELAX, feel better about yourself, or fit in? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                            "type": "boolean"
                          },
                          "trouble": {
                            "description": "Have you gotten into TROUBLE while using alcohol or drugs? (Knight 2002). true or false as assigned by the caller. magent does not interview the patient.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "car",
                          "relax",
                          "alone",
                          "forget",
                          "friends",
                          "trouble"
                        ],
                        "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"
  }
}