Hamilton 1959 HAM-A: 14 caller-assigned integers 0-4 (0 not present, 1 mild, 2 moderate…
Hamilton 1959 HAM-A: 14 caller-assigned integers 0-4 (0 not present, 1 mild, 2 moderate, 3 severe, 4 very severe) for anxious mood, tension, fears, insomnia, intellectual, depressed mood, somatic muscular, somatic sensory, cardiovascular, respiratory, gastroi…
by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-13
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Hamilton 1959 HAM-A: 14 caller-assigned integers 0-4 (0 not present, 1 mild, 2 moderate, 3 severe, 4 very severe) for anxious mood, tension, fears, insomnia, intellectual, depressed mood, somatic muscular, somatic sensory, cardiovascular, respiratory, gastrointestinal, genitourinary, autonomic, and behaviour at interview. Sum 0-56. magent does not interview the patient. No total-score severity bands in Hamilton 1959; later 17/24 cutoffs are not applied. Not a diagnosis and not a medical device.
Tags: ham-a · anxiety · hamilton · emergency · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-13
{
"items": [
{
"anxious_mood": 0,
"autonomic": 0,
"cardiovascular": 0,
"depressed_mood": 0,
"fears": 0,
"gastrointestinal": 0,
"genitourinary": 0,
"insomnia": 0,
"intellectual": 0,
"interview_behavior": 0,
"respiratory": 0,
"somatic_muscular": 0,
"somatic_sensory": 0,
"tension": 0
},
{
"anxious_mood": 0,
"autonomic": 0,
"cardiovascular": 0,
"depressed_mood": 0,
"fears": 0,
"gastrointestinal": 0,
"genitourinary": 0,
"insomnia": 0,
"intellectual": 0,
"interview_behavior": 0,
"respiratory": 0,
"somatic_muscular": 0,
"somatic_sensory": 0,
"tension": 0
}
]
}{
"count": 2,
"items": [
{
"citation": {
"authors": "Hamilton M",
"doi": "10.1111/j.2044-8341.1959.tb00467.x",
"id": "hamilton-1959",
"pmid": "13638508",
"source": "Br J Med Psychol. 1959;32(1):50-55",
"title": "The assessment of anxiety states by rating"
},
"components": [
{
"factor": "anxious_mood",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "tension",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "fears",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "insomnia",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "intellectual",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "depressed_mood",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "somatic_muscular",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "somatic_sensory",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "cardiovascular",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "respiratory",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "gastrointestinal",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "genitourinary",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "autonomic",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "interview_behavior",
"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": "hamilton_anxiety",
"formula_expression": "HAM-A = anxious_mood + tension + fears + insomnia + intellectual + depressed_mood + somatic_muscular + somatic_sensory + cardiovascular + respiratory + gastrointestinal + genitourinary + autonomic + interview_behavior; each caller-assigned 0-4; max 56; Hamilton 1959; no total-score severity bands",
"max_score": 56,
"score": 0
},
{
"citation": {
"authors": "Hamilton M",
"doi": "10.1111/j.2044-8341.1959.tb00467.x",
"id": "hamilton-1959",
"pmid": "13638508",
"source": "Br J Med Psychol. 1959;32(1):50-55",
"title": "The assessment of anxiety states by rating"
},
"components": [
{
"factor": "anxious_mood",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "tension",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "fears",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "insomnia",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "intellectual",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "depressed_mood",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "somatic_muscular",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "somatic_sensory",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "cardiovascular",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "respiratory",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "gastrointestinal",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "genitourinary",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "autonomic",
"points": 0,
"present": true,
"value": 0
},
{
"factor": "interview_behavior",
"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": "hamilton_anxiety",
"formula_expression": "HAM-A = anxious_mood + tension + fears + insomnia + intellectual + depressed_mood + somatic_muscular + somatic_sensory + cardiovascular + respiratory + gastrointestinal + genitourinary + autonomic + interview_behavior; each caller-assigned 0-4; max 56; Hamilton 1959; no total-score severity bands",
"max_score": 56,
"score": 0
}
],
"path": "/api/calc/hamilton_anxiety"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39128.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/hamilton_anxiety. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 5 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2 | 600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 600
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl "https://api.magentlab.com/api/calc/hamilton_anxiety"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.magentlab.com/api/calc/hamilton_anxiety");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.magentlab.com/api/calc/hamilton_anxiety")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.magentlab.com
- Endpoint
- https://api.magentlab.com/api/calc/hamilton_anxiety
- Machine-readable
/resources/39128.json