A high-performance Go gateway for FDA drug data. NDC lookup, drug interactions, therapeutic classes, and RxNorm search — with built-in caching, rate limiting, and auth.
Query FDA NDC data, search RxNorm, check drug interactions, and browse therapeutic classes. All responses are JSON with consistent error handling.
Look up any drug by its National Drug Code. Supports 5-4, 4-4, and 5-3 formats with automatic fallback.
{
"ndc": "00069-3150",
"name": "Lipitor",
"generic_name": "ATORVASTATIN CALCIUM",
"classes": ["HMG-CoA Reductase Inhibitor"]
}
Submit 2–10 drugs and get cross-referenced interaction warnings from FDA Structured Product Labels.
{
"pairs_checked": 3,
"total_matches": 2,
"drugs": [{ "name": "warfarin", ... }]
}
Approximate-match drug search via RxNorm. Returns ranked candidates with spelling suggestions for typos.
{
"query": "liptor",
"candidates": [{ "name": "Lipitor", "score": 94 }],
"suggestions": ["lipitor"]
}
Sub-3ms prefix search across 104K+ drug names. Built on an in-memory sorted index, 119,000× faster than Redis SCAN.
{
"data": [
{ "name": "Lipitor", "type": "brand" },
{ "name": "lisinopril", "type": "generic" }
]
}
Everything you need to run a reliable drug data service. No assembly required.
Per-key rate limiting, origin restrictions, key rotation with grace periods. Redis-backed CRUD for provisioning.
Multi-tier cache with configurable TTLs. Stale-cache serving when upstream is down. Circuit breaker protection.
Request latency, cache hit rates, auth rejections, rate limit counters, Redis health, and container system metrics.
Self-host in minutes. Explore the API on our staging instance. Star us on GitHub.