Health Data API

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/v1

Quick Start

1.

Get your API key

Sign up for a free key. 1,000 requests/day included.

2.

Make your first call

Pass your key as x-api-key header or api_key query param.

3.

Build your app

Query drugs, adverse events, recalls, providers, hospitals, and spending.

curl
curl -H "x-api-key: YOUR_API_KEY" \
  "https://myfitbyte.com/api/v1/drugs?name=ozempic"
Python
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"])
JavaScript
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);

Authentication

Pass your API key in one of two ways:

MethodExample
x-api-key headerx-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 Limits

Rate limit info is included in every response header:

HeaderDescription
X-RateLimit-RemainingRequests left in current window
X-RateLimit-ResetUnix timestamp when window resets
Retry-AfterSeconds to wait (only on 429)

Endpoints

GET/api/v1/drugs

Search drugs by name, class, or status. Returns unified drug identity (brand names, generics, NDC codes).

Parameters

NameTypeDescription
namestringDrug name (brand or generic). Partial match.
classstringDrug class filter (e.g., 'statin', 'GLP-1').
statusstringactive, discontinued, or recalled.
limitnumberResults per page (max 100, default 25).
offsetnumberPagination offset.

Try it

/api/v1/drugs?name=ozempic&api_key=mfb_demo_key_public

Response Format

All endpoints return a consistent JSON structure:

{
  "success": true,
  "meta": {
    "total": 142,
    "limit": 25,
    "offset": 0,
    "timestamp": "2026-08-17T12:00:00.000Z"
  },
  "data": [
    { ... }
  ]
}
Error response
{
  "success": false,
  "error": {
    "message": "Rate limit exceeded. Upgrade your plan for higher limits.",
    "status": 429
  },
  "timestamp": "2026-08-17T12:00:00.000Z"
}

Pricing

Free

$0

20 req/min

1,000 req/day

All endpoints, community support

Pro

$49/mo

200 req/min

100K req/day

All endpoints, email support, webhooks

Business

$199/mo

1,000 req/min

1M req/day

Priority support, bulk export, alerts

Enterprise

Custom

5,000+ req/min

Unlimited

SLA, dedicated support, custom integrations

Data Sources

SourceEndpointRecordsUpdated
FDA FAERS/adverse-events2.2M+Quarterly
FDA Enforcement/recalls18K+Weekly
FDA Labels/drugs262K+Weekly
NPI Registry/providers9.4M+Monthly
CMS Hospitals/hospitals4.7K+Quarterly
CMS Part D Spending/spending27M+Annual