Explorer
Syncing—

Medication Safety LookupService

med-safety

One-call medication safety summary from openFDA. POST JSON {"arguments": {"drug": "warfarin"}} to /v1/tool; also GET /v1/med?drug=warfarin. The response is a JSON object with label_highlights (brand, generic, manufacturer and the warnings, drug_interactions and contraindications label sections), active_ingredients, recent_recalls (FDA enforcement reports), shortage_status and as_of. Drug shortage data is currently unavailable and returned as a structured unavailable status. Not medical advice. Results follow openFDA and are cached 24 hours.

Active Suppliers
1
of 1 ever configured
Service Info
Service ID
med-safety
Compute Units / Relay
100,000
Active Applications
1
Relay Mining EMA
1 relays
Service Metadata Cardsource: on-chain metadata (LCD)
{10 items
"schema":"pocket-service-card/v1"
"description":"One-call medication safety summary from openFDA. POST JSON {"arguments": {"drug": "warfarin"}} to /v1/tool; also GET /v1/med?drug=warfarin. The response is a JS..."
"rpc_types":[1 item
0:{4 items
"type":"REST"
"intent":"expected"
"backend_hint":"med-safety HTTP server on :8080; POST /v1/tool, GET /v1/med, /v1/health + /v1/version."
"notes":"Every response is a JSON object; errors are JSON 4xx/5xx with an error object (code, message)."
}
]
"apis":[1 item
0:"med-safety-api"
]
"specs":[1 item
0:{4 items
"kind":"openapi"
"api":"med-safety-api"
"url":"https://services.supnodes.com/specs/med-safety/openapi.json"
"notes":"Machine-readable OpenAPI 3.0.3 contract for this service."
}
]
"access":"public"
"results":"variable"
"serving":{7 items
"backend":"Single-process Python 3 HTTP server, standard library only, behind a RelayMiner (rest backend). Queries api.fda.gov (drug label, NDC directory and enforcement e..."
"implementations":[1 item
0:"med-safety-lookup >= 1.0"
]
"docs":"https://services.supnodes.com/specs/med-safety/README.md"
"min_disk_gb":1
"min_ram_gb":1
"healthcheck":[3 items
0:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/version"
"method":"GET"
}
"expect":{2 items
"json_path":"$.service"
"matches":"^med-safety$"
}
"notes":"Identity probe: pins the backend to this service so a wrong backend cannot be staked under this id."
}
1:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/health"
"method":"GET"
}
"expect":{2 items
"json_path":"$.status"
"matches":"^ok$"
}
"notes":"Readiness probe."
}
2:{4 items
"rpc_type":"REST"
"request":{3 items
"path":"/v1/tool"
"method":"POST"
"body":{1 item
"arguments":{1 item
"drug":"warfarin"
}
}
}
"expect":{2 items
"json_path":"$.active_ingredients"
"matches":"^.+$"
}
"notes":"Functional probe: warfarin. Served from the 24 h cache after the first call."
}
]
"notes":"Upstream: api.fda.gov without an API key (openFDA allows 240 requests per minute and 1,000 per day per IP without a key), up to three calls per uncached drug. G..."
}
"docs":"https://services.supnodes.com/specs/med-safety/README.md"
"updated":"2026-09-24"
}