← All endpoints
api.magentlab.com calc peg
https://api.magentlab.com/api/calc/peg
answers 402
Krebs 2009 PEG from three caller-assigned integers 0-10 (pain_average, enjoyment_of_life, general_activity). Unweighted mean (range 0-10, one decimal). magent does not interview the patient. Krebs 2009 published no diagnostic cutoff; magent does not invent mild, moderate, or severe bands. Not a pain diagnosis, opioid order, or the full Brief Pain Inventory.
We sent a real
POST request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.005
- Network
- base
- Pay to
- 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- POST
- Response latency
- 68 ms
- Payment options
- 1 usable of 1
- Last checked
- 2026-09-06T01:17:28.172Z (2h ago)
- Category
- other
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fpeg"