Drug-drug interactions · ships on RapidAPI
The NLM RxNav Drug-Drug Interaction API shut down Jan 2, 2024. Mortar fills the gap: send a list of drug names, get pairwise interactions back in the same JSON shape — with RxNorm normalization built in.
Responses mirror RxNav's findInteractionsFromList — point your old parser at Mortar and go.
Generic names, brand names (Zocor → simvastatin), and even typos resolve to canonical RxCUIs automatically.
Built only from public, commercially-usable sources. No DrugBank, no NonCommercial data.
Flip explain:true for a plain-language summary of each interaction, cached for instant repeat calls.
curl -X POST "https://mortar-drug-interaction-api3.p.rapidapi.com/interactions" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: mortar-drug-interaction-api3.p.rapidapi.com" \
-H "content-type: application/json" \
-d '{ "drugs": ["warfarin", "aspirin", "simvastatin"] }'
Each interaction comes back grouped by source with severity and description, plus resolved / unresolved diagnostics. Calls go through the RapidAPI gateway.
| Method | Path | Description |
|---|---|---|
| POST | /interactions | Pairwise interactions for a list of drugs. |
| GET | /v1/manifest | Machine-readable capability manifest (for AI agents). |
| GET | /openapi.yaml | OpenAPI 3.0 spec. |
| GET | /health | Liveness + dataset readiness. |
| Plan | Price | Requests / month |
|---|---|---|
| Basic | Free | 2,500 |
| Pro | $12 / mo | 60,000 |
| Ultra | $59 / mo | 750,000 |
| Mega | $199 / mo | 7,000,000 |
Every plan includes RxNorm normalization, AI explanations, the commercial-use license, and the NLM-compatible response shape. Quotas and billing are managed by RapidAPI.
No. The U.S. National Library of Medicine discontinued the RxNav Drug-Drug Interaction API (findDrugInteractions and findInteractionsFromList) on January 2, 2024. Mortar is a drop-in replacement that returns interactions in the same JSON shape.
Mortar mirrors RxNav's findInteractionsFromList response (fullInteractionTypeGroup → fullInteractionType → interactionPair with severity and description). Point your existing parser at Mortar and migrate with mostly copy-paste changes.
Yes. RxNorm normalization is built in, so generic names, brand names (Zocor → simvastatin), and common typos (asprin → aspirin) all resolve to canonical RxNorm RxCUIs automatically.
Yes. Mortar is built only from public, commercially-usable sources — the ONCHigh DDI list and openFDA labeling, normalized via NLM RxNorm/RxNav. No DrugBank or NonCommercial DDInter data.
No. Mortar is for educational and informational use only. It is not clinical decision support and not a substitute for a pharmacist or physician. It never labels a combination "safe" or "unsafe."