The /api/safety-check endpoint provides rapid drug-drug interaction screening:
RxNorm API integration for FDA-sourced interaction data
DrugBank local database for mechanism-based interactions
Query-based lookup (no request body required)
Ideal for quick checks during prescribing workflows
For comprehensive medication safety analysis integrated with patient context, use the analyze endpoint which includes the full Medical Error Prevention Panel.
{ "rxnorm_interactions": [ { "drug_a": "warfarin", "drug_b": "aspirin", "severity": "", "description": "The risk or severity of bleeding can be increased when Warfarin is combined with Aspirin." }, { "drug_a": "warfarin", "drug_b": "ibuprofen", "severity": "", "description": "The risk or severity of bleeding can be increased when Warfarin is combined with Ibuprofen." }, { "drug_a": "aspirin", "drug_b": "ibuprofen", "severity": "", "description": "Ibuprofen may decrease the cardioprotective effect of Aspirin." } ], "drugbank": [ { "drug_a": "warfarin", "drug_b": "aspirin", "severity": "major", "description": "Concurrent use of warfarin and aspirin significantly increases bleeding risk.", "mechanism": "Additive antiplatelet and anticoagulant effects. Aspirin inhibits COX-1 (platelet aggregation) while warfarin inhibits vitamin K-dependent clotting factors.", "recommendation": "Avoid combination unless clinically necessary (e.g., mechanical heart valve). If used together, monitor INR closely and assess for bleeding signs." }, { "drug_a": "warfarin", "drug_b": "ibuprofen", "severity": "major", "description": "NSAIDs like ibuprofen increase bleeding risk when combined with warfarin.", "mechanism": "NSAIDs inhibit platelet aggregation and may cause GI ulceration, increasing bleeding risk in anticoagulated patients.", "recommendation": "Avoid NSAIDs in patients on warfarin. Use acetaminophen for analgesia. If NSAID necessary, use lowest dose for shortest duration and monitor INR." }, { "drug_a": "aspirin", "drug_b": "ibuprofen", "severity": "moderate", "description": "Ibuprofen may interfere with the cardioprotective effects of low-dose aspirin.", "mechanism": "Ibuprofen binds to COX-1 active site, preventing aspirin's irreversible acetylation of platelet COX-1.", "recommendation": "Take aspirin at least 2 hours before ibuprofen. Consider alternative analgesics (e.g., acetaminophen) in patients requiring daily aspirin." } ]}
Drug-drug + drug-disease + dosing + population flags
Context
No patient data
Age, weight, conditions, labs, allergies
Speed
<1 second
Part of 15-30s full analysis
Use Case
Quick lookup
Comprehensive medication review
For patient-specific safety analysis (e.g., renal dosing, drug-disease contraindications), use the full analyze endpoint which considers patient age, weight, kidney function, and comorbidities.
This endpoint provides drug-drug interactions only. It does NOT account for patient-specific factors like renal function, weight, age, or comorbidities. For comprehensive safety analysis, use the analyze endpoint.
Drug names should be generic names for best results. Brand names may work but coverage varies.