81trust / 100
Drug Label
by Maxwell x402 in Other
x402 APIPassing, checked 1 h ago
FDA drug labels (package inserts) by brand or generic name from openFDA, newest label first: brand, generic name, manufacturer, indications and usage, warnings, label date. ?q=ibuprofen; 5 labels by default, up to 25 with &limit=. Answers are cached for up to 24 hours. Not medical advice.
GET https://api.maxwellinternational.ai/v1/openfda/drug/label
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 75 ms typical, 75 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/openfda/drug/label?q=atorvastatin"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fopenfda%2Fdrug%2Flabel
const res = await pay("https://api.maxwellinternational.ai/v1/openfda/drug/label?q=atorvastatin");
console.log(await res.json());Example input
{
"q": "atorvastatin"
}Example output
{
"count": 5,
"fetchedAt": "2026-10-05T09:44:35.806Z",
"match": true,
"meta": {
"disclaimer": "Do not rely on openFDA to make decisions regarding medical care. While we mak...",
"last_updated": "2026-10-02",
"license": "https://open.fda.gov/license/",
"results": {
"limit": 5,
"skip": 0,
"total": 260
},
"terms": "https://open.fda.gov/terms/"
},
"notice": "Do not rely on openFDA to make decisions regarding medical care. Always speak...",
"query": "atorvastatin",
"results": [
{
"brand": "ATORVASTATIN CALCIUM",
"effective_time": "20260908",
"generic": "ATORVASTATIN CALCIUM",
"id": "68d09be6-1a04-4117-85dc-1d975e475c6a",
"indications_and_usage": [],
"manufacturer": "Apotex Corp.",
"warnings": []
}
],
"source": "https://api.fda.gov/drug/label.json"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 75 ms | $0.005 |
| 5 h ago | Passed | 402 | 77 ms | $0.005 |
| 10 h ago | Passed | 402 | 74 ms | $0.005 |