the402 endpoint detail

← All endpoints

api.magentlab.com codes search

https://api.magentlab.com/api/codes/search

answers 402

Map a natural-language drug, diagnosis, or lab phrase to a current RxNorm, ICD-10-CM, or LOINC code. Use when an agent must not hallucinate or invent a billing/pharmacy code.

We sent a real GET 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
GET
Response latency
178 ms
Payment options
2 usable of 2
Last checked
2026-09-06T01:15:22.795Z (2h ago)
Category
search

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcodes%2Fsearch"