One API key for FDA adverse events, drug recalls, provider registry, hospital ratings, and Medicare spending data. 47M+ records, updated weekly.
Base URL: https://myfitbyte.com/api/v1Sign up for a free key. 1,000 requests/day included.
Pass your key as x-api-key header or api_key query param.
Query drugs, adverse events, recalls, providers, hospitals, and spending.
curl -H "x-api-key: YOUR_API_KEY" \ "https://myfitbyte.com/api/v1/drugs?name=ozempic"
import requests
resp = requests.get(
"https://myfitbyte.com/api/v1/drugs",
params={"name": "ozempic"},
headers={"x-api-key": "YOUR_API_KEY"}
)
data = resp.json()
print(data["data"][0]["brand_names"])const res = await fetch(
"https://myfitbyte.com/api/v1/drugs?name=ozempic",
{ headers: { "x-api-key": "YOUR_API_KEY" } }
);
const { data } = await res.json();
console.log(data[0].brand_names);Pass your API key in one of two ways:
| Method | Example |
|---|---|
x-api-key header | x-api-key: mfb_live_abc123 |
api_key query param | /api/v1/drugs?api_key=mfb_live_abc123 |
Demo key for testing: mfb_demo_key_public (free tier, rate limited)
Rate limit info is included in every response header:
| Header | Description |
|---|---|
| X-RateLimit-Remaining | Requests left in current window |
| X-RateLimit-Reset | Unix timestamp when window resets |
| Retry-After | Seconds to wait (only on 429) |
/api/v1/drugsSearch drugs by name, class, or status. Returns unified drug identity (brand names, generics, NDC codes).
| Name | Type | Description |
|---|---|---|
| name | string | Drug name (brand or generic). Partial match. |
| class | string | Drug class filter (e.g., 'statin', 'GLP-1'). |
| status | string | active, discontinued, or recalled. |
| limit | number | Results per page (max 100, default 25). |
| offset | number | Pagination offset. |
/api/v1/drugs?name=ozempic&api_key=mfb_demo_key_publicAll endpoints return a consistent JSON structure:
{
"success": true,
"meta": {
"total": 142,
"limit": 25,
"offset": 0,
"timestamp": "2026-08-17T12:00:00.000Z"
},
"data": [
{ ... }
]
}{
"success": false,
"error": {
"message": "Rate limit exceeded. Upgrade your plan for higher limits.",
"status": 429
},
"timestamp": "2026-08-17T12:00:00.000Z"
}$0
20 req/min
1,000 req/day
All endpoints, community support
$49/mo
200 req/min
100K req/day
All endpoints, email support, webhooks
$199/mo
1,000 req/min
1M req/day
Priority support, bulk export, alerts
Custom
5,000+ req/min
Unlimited
SLA, dedicated support, custom integrations
| Source | Endpoint | Records | Updated |
|---|---|---|---|
| FDA FAERS | /adverse-events | 2.2M+ | Quarterly |
| FDA Enforcement | /recalls | 18K+ | Weekly |
| FDA Labels | /drugs | 262K+ | Weekly |
| NPI Registry | /providers | 9.4M+ | Monthly |
| CMS Hospitals | /hospitals | 4.7K+ | Quarterly |
| CMS Part D Spending | /spending | 27M+ | Annual |