magent
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.
Offering
- Provider
- api.magentlab.com
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Health And Medicine
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://api.magentlab.com/api/codes/search- MIME type
- application/json
- First seen
- 2026-10-16T01:50:53.972Z
- Last seen
- Tags
- rxnorm, icd10, icd10cm, loinc, codes
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: batch-settlement
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2"
},
{
"scheme": "batch-settlement",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2"
}
]Observed health
- Status
- Healthy
- Latest latency
- 22 ms
- Average latency
- 4191 ms
- HTTP status
- 402
- Last checked
- Reachability
- 38.5% over 13 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"billable_only": {
"description": "ICD-10-CM: return only HIPAA billable codes, not headers. Default true.",
"type": "boolean"
},
"include_obsolete": {
"description": "Include deprecated/obsolete codes. Default false.",
"type": "boolean"
},
"limit": {
"description": "Number of ranked matches to return (1-25). Default 5.",
"type": "integer"
},
"min_score": {
"description": "Minimum rank score 0-100. Default 35.",
"type": "integer"
},
"query": {
"description": "Natural-language drug, diagnosis, or lab description. Max 512 characters. Do not send patient names.",
"type": "string"
},
"system": {
"description": "Restrict to rxnorm, icd10 (ICD-10-CM), or loinc. Omit to search all.",
"enum": [
"rxnorm",
"icd10",
"loinc"
],
"type": "string"
},
"tty": {
"description": "Restrict term type. Pharmacy orders typically want SCD. ICD-10-CM is CM; LOINC is LN.",
"enum": [
"SCD",
"SBD",
"IN",
"PIN",
"MIN",
"BN",
"GPCK",
"BPCK",
"DF",
"SCDC",
"SBDC",
"SCDF",
"SBDF",
"CM",
"LN"
],
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"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"
}