magent
Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "PAYMENT-SIGNATURE header is required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"paymentFlow": "upfront",
"resourceUrl": "https://api.magentlab.com/api/calc/gds_15",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
},
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"withdrawDelay": 86400,
"receiverAuthorizer": "0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "batch-settlement",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
],
"resource": {
"url": "https://api.magentlab.com/api/calc/gds_15",
"tags": [
"gds-15",
"depression",
"geriatric",
"emergency",
"calculator"
],
"mimeType": "application/json",
"description": "Sheikh 1986 GDS-15: fifteen yes/no items as asked. Reverse-scored (false=1): satisfied_with_life, good_spirits, happy_most_of_time, wonderful_to_be_alive, full_of_energy; other ten score 1 if true. Sum 0-15. No later 0-4/5-9/10+ cutoffs. Not a diagnosis, not PHQ-9, not the 30-item GDS, not a medical device. magent does not interview.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"life_empty": false,
"often_bored": false,
"good_spirits": true,
"full_of_energy": true,
"often_helpless": false,
"prefer_stay_home": false,
"pretty_worthless": false,
"dropped_activities": false,
"happy_most_of_time": true,
"situation_hopeless": false,
"satisfied_with_life": true,
"afraid_something_bad": false,
"more_memory_problems": false,
"wonderful_to_be_alive": true,
"most_people_better_off": false
}
},
"output": {
"type": "json",
"example": {
"score": 0,
"formula": "gds_15",
"citation": {
"id": "sheikh-1986",
"doi": "10.1300/J018v05n01_09",
"title": "Geriatric Depression Scale (GDS): recent evidence and development of a shorter version",
"source": "Clin Gerontol. 1986;5(1-2):165-173",
"authors": "Sheikh JI, Yesavage JA"
},
"max_score": 15,
"components": [
{
"factor": "satisfied_with_life",
"points": 0,
"present": false
},
{
"factor": "dropped_activities",
"points": 0,
"present": false
},
{
"factor": "life_empty",
"points": 0,
"present": false
},
{
"factor": "often_bored",
"points": 0,
"present": false
},
{
"factor": "good_spirits",
"points": 0,
"present": false
},
{
"factor": "afraid_something_bad",
"points": 0,
"present": false
},
{
"factor": "happy_most_of_time",
"points": 0,
"present": false
},
{
"factor": "often_helpless",
"points": 0,
"present": false
},
{
"factor": "prefer_stay_home",
"points": 0,
"present": false
},
{
"factor": "more_memory_problems",
"points": 0,
"present": false
},
{
"factor": "wonderful_to_be_alive",
"points": 0,
"present": false
},
{
"factor": "pretty_worthless",
"points": 0,
"present": false
},
{
"factor": "full_of_energy",
"points": 0,
"present": false
},
{
"factor": "situation_hopeless",
"points": 0,
"present": false
},
{
"factor": "most_people_better_off",
"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_expression": "GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands"
}
},
"iconUrl": "https://api.magentlab.com/favicon.ico"
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"queryParams": {
"type": "object",
"required": [
"satisfied_with_life",
"dropped_activities",
"life_empty",
"often_bored",
"good_spirits",
"afraid_something_bad",
"happy_most_of_time",
"often_helpless",
"prefer_stay_home",
"more_memory_problems",
"wonderful_to_be_alive",
"pretty_worthless",
"full_of_energy",
"situation_hopeless",
"most_people_better_off"
],
"properties": {
"life_empty": {
"type": "boolean",
"description": "Do you feel that your life is empty? (Sheikh 1986 GDS-15 item 3). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"often_bored": {
"type": "boolean",
"description": "Do you often get bored? (Sheikh 1986 GDS-15 item 4). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"good_spirits": {
"type": "boolean",
"description": "Are you in good spirits most of the time? (Sheikh 1986 GDS-15 item 5). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"full_of_energy": {
"type": "boolean",
"description": "Do you feel full of energy? (Sheikh 1986 GDS-15 item 13). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"often_helpless": {
"type": "boolean",
"description": "Do you often feel helpless? (Sheikh 1986 GDS-15 item 8). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"prefer_stay_home": {
"type": "boolean",
"description": "Do you prefer to stay at home, rather than going out and doing new things? (Sheikh 1986 GDS-15 item 9). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"pretty_worthless": {
"type": "boolean",
"description": "Do you feel pretty worthless the way you are now? (Sheikh 1986 GDS-15 item 12). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"dropped_activities": {
"type": "boolean",
"description": "Have you dropped many of your activities and interests? (Sheikh 1986 GDS-15 item 2). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"happy_most_of_time": {
"type": "boolean",
"description": "Do you feel happy most of the time? (Sheikh 1986 GDS-15 item 7). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"situation_hopeless": {
"type": "boolean",
"description": "Do you feel that your situation is hopeless? (Sheikh 1986 GDS-15 item 14). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"satisfied_with_life": {
"type": "boolean",
"description": "Are you basically satisfied with your life? (Sheikh 1986 GDS-15 item 1). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"afraid_something_bad": {
"type": "boolean",
"description": "Are you afraid that something bad is going to happen to you? (Sheikh 1986 GDS-15 item 6). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"more_memory_problems": {
"type": "boolean",
"description": "Do you feel you have more problems with memory than most? (Sheikh 1986 GDS-15 item 10). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"wonderful_to_be_alive": {
"type": "boolean",
"description": "Do you think it is wonderful to be alive now? (Sheikh 1986 GDS-15 item 11). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"most_people_better_off": {
"type": "boolean",
"description": "Do you think that most people are better off than you are? (Sheikh 1986 GDS-15 item 15). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.005 USDC on Base to 0x836B…19Ee2. The signed payment is good for 10 minutes.
- Paid to
- 0x836B…19Ee2
- USD Coin contract
- 0x8335…02913
- Payment window
- 10 minutes
- As published
- 5000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"paymentFlow": "upfront",
"resourceUrl": "https://api.magentlab.com/api/calc/gds_15",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"life_empty": false,
"often_bored": false,
"good_spirits": true,
"full_of_energy": true,
"often_helpless": false,
"prefer_stay_home": false,
"pretty_worthless": false,
"dropped_activities": false,
"happy_most_of_time": true,
"situation_hopeless": false,
"satisfied_with_life": true,
"afraid_something_bad": false,
"more_memory_problems": false,
"wonderful_to_be_alive": true,
"most_people_better_off": false
},
{
"life_empty": false,
"often_bored": false,
"good_spirits": true,
"full_of_energy": true,
"often_helpless": false,
"prefer_stay_home": false,
"pretty_worthless": false,
"dropped_activities": false,
"happy_most_of_time": true,
"situation_hopeless": false,
"satisfied_with_life": true,
"afraid_something_bad": false,
"more_memory_problems": false,
"wonderful_to_be_alive": true,
"most_people_better_off": false
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/gds_15",
"count": 2,
"items": [
{
"score": 0,
"formula": "gds_15",
"citation": {
"id": "sheikh-1986",
"doi": "10.1300/J018v05n01_09",
"title": "Geriatric Depression Scale (GDS): recent evidence and development of a shorter version",
"source": "Clin Gerontol. 1986;5(1-2):165-173",
"authors": "Sheikh JI, Yesavage JA"
},
"max_score": 15,
"components": [
{
"factor": "satisfied_with_life",
"points": 0,
"present": false
},
{
"factor": "dropped_activities",
"points": 0,
"present": false
},
{
"factor": "life_empty",
"points": 0,
"present": false
},
{
"factor": "often_bored",
"points": 0,
"present": false
},
{
"factor": "good_spirits",
"points": 0,
"present": false
},
{
"factor": "afraid_something_bad",
"points": 0,
"present": false
},
{
"factor": "happy_most_of_time",
"points": 0,
"present": false
},
{
"factor": "often_helpless",
"points": 0,
"present": false
},
{
"factor": "prefer_stay_home",
"points": 0,
"present": false
},
{
"factor": "more_memory_problems",
"points": 0,
"present": false
},
{
"factor": "wonderful_to_be_alive",
"points": 0,
"present": false
},
{
"factor": "pretty_worthless",
"points": 0,
"present": false
},
{
"factor": "full_of_energy",
"points": 0,
"present": false
},
{
"factor": "situation_hopeless",
"points": 0,
"present": false
},
{
"factor": "most_people_better_off",
"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_expression": "GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands"
},
{
"score": 0,
"formula": "gds_15",
"citation": {
"id": "sheikh-1986",
"doi": "10.1300/J018v05n01_09",
"title": "Geriatric Depression Scale (GDS): recent evidence and development of a shorter version",
"source": "Clin Gerontol. 1986;5(1-2):165-173",
"authors": "Sheikh JI, Yesavage JA"
},
"max_score": 15,
"components": [
{
"factor": "satisfied_with_life",
"points": 0,
"present": false
},
{
"factor": "dropped_activities",
"points": 0,
"present": false
},
{
"factor": "life_empty",
"points": 0,
"present": false
},
{
"factor": "often_bored",
"points": 0,
"present": false
},
{
"factor": "good_spirits",
"points": 0,
"present": false
},
{
"factor": "afraid_something_bad",
"points": 0,
"present": false
},
{
"factor": "happy_most_of_time",
"points": 0,
"present": false
},
{
"factor": "often_helpless",
"points": 0,
"present": false
},
{
"factor": "prefer_stay_home",
"points": 0,
"present": false
},
{
"factor": "more_memory_problems",
"points": 0,
"present": false
},
{
"factor": "wonderful_to_be_alive",
"points": 0,
"present": false
},
{
"factor": "pretty_worthless",
"points": 0,
"present": false
},
{
"factor": "full_of_energy",
"points": 0,
"present": false
},
{
"factor": "situation_hopeless",
"points": 0,
"present": false
},
{
"factor": "most_people_better_off",
"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_expression": "GDS-15 = (1 if not satisfied_with_life) + dropped_activities + life_empty + often_bored + (1 if not good_spirits) + afraid_something_bad + (1 if not happy_most_of_time) + often_helpless + prefer_stay_home + more_memory_problems + (1 if not wonderful_to_be_alive) + pretty_worthless + (1 if not full_of_energy) + situation_hopeless + most_people_better_off; Sheikh 1986 15-item short form; each yes/no as asked; reverse-scored items 1, 5, 7, 11, 13; max 15; no total-score severity bands"
}
]
}
},
"iconUrl": "https://api.magentlab.com/favicon.ico"
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"body": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"satisfied_with_life",
"dropped_activities",
"life_empty",
"often_bored",
"good_spirits",
"afraid_something_bad",
"happy_most_of_time",
"often_helpless",
"prefer_stay_home",
"more_memory_problems",
"wonderful_to_be_alive",
"pretty_worthless",
"full_of_energy",
"situation_hopeless",
"most_people_better_off"
],
"properties": {
"life_empty": {
"type": "boolean",
"description": "Do you feel that your life is empty? (Sheikh 1986 GDS-15 item 3). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"often_bored": {
"type": "boolean",
"description": "Do you often get bored? (Sheikh 1986 GDS-15 item 4). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"good_spirits": {
"type": "boolean",
"description": "Are you in good spirits most of the time? (Sheikh 1986 GDS-15 item 5). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"full_of_energy": {
"type": "boolean",
"description": "Do you feel full of energy? (Sheikh 1986 GDS-15 item 13). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"often_helpless": {
"type": "boolean",
"description": "Do you often feel helpless? (Sheikh 1986 GDS-15 item 8). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"prefer_stay_home": {
"type": "boolean",
"description": "Do you prefer to stay at home, rather than going out and doing new things? (Sheikh 1986 GDS-15 item 9). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"pretty_worthless": {
"type": "boolean",
"description": "Do you feel pretty worthless the way you are now? (Sheikh 1986 GDS-15 item 12). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"dropped_activities": {
"type": "boolean",
"description": "Have you dropped many of your activities and interests? (Sheikh 1986 GDS-15 item 2). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"happy_most_of_time": {
"type": "boolean",
"description": "Do you feel happy most of the time? (Sheikh 1986 GDS-15 item 7). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"situation_hopeless": {
"type": "boolean",
"description": "Do you feel that your situation is hopeless? (Sheikh 1986 GDS-15 item 14). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"satisfied_with_life": {
"type": "boolean",
"description": "Are you basically satisfied with your life? (Sheikh 1986 GDS-15 item 1). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"afraid_something_bad": {
"type": "boolean",
"description": "Are you afraid that something bad is going to happen to you? (Sheikh 1986 GDS-15 item 6). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"more_memory_problems": {
"type": "boolean",
"description": "Do you feel you have more problems with memory than most? (Sheikh 1986 GDS-15 item 10). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
},
"wonderful_to_be_alive": {
"type": "boolean",
"description": "Do you think it is wonderful to be alive now? (Sheikh 1986 GDS-15 item 11). true or false as assigned by the caller. false is the depression-direction answer and scores 1. magent does not interview the patient."
},
"most_people_better_off": {
"type": "boolean",
"description": "Do you think that most people are better off than you are? (Sheikh 1986 GDS-15 item 15). true or false as assigned by the caller. true is the depression-direction answer and scores 1. magent does not interview the patient."
}
}
},
"maxItems": 25,
"minItems": 1
}
},
"additionalProperties": false
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"const": "POST"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-08-31 23:20Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-23 20:15Z
- x402 version
- 2
- Max timeout
- 600s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 9 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service magent and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=magent' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://api.magentlab.com/api/calc/gds_15, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402, or use an organization key from https://roundhouseai.io/dashboard/team. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.