81trust / 100

Fda Shortages

by x402stock.xyz in Company & people data

x402 APIPassing, checked 5 h ago

Current and resolved US drug shortages from openFDA, newest update first. Optional `?company=Pfizer` narrows to one manufacturer (omit for market-wide); `?limit=` (max 100). Each carries the generic name, company, status, therapeutic category, dosage form, presentation, posting/update dates, and reason. A supply-side catalyst for generic makers. From x402stock

GET https://x402stock.xyz/api/v1/fda/shortages

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
188 ms typical, 188 ms slowest 5%
Last check
5 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402stock.xyz/api/v1/fda/shortages?company=Pfizer&limit=20"
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%2Fx402stock.xyz%2Fapi%2Fv1%2Ffda%2Fshortages
const res = await pay("https://x402stock.xyz/api/v1/fda/shortages?company=Pfizer&limit=20");
console.log(await res.json());

Example input

{
  "company": "Pfizer",
  "limit": 20
}

Example output

{
  "as_of": "2026-06-18T12:00:00.000Z",
  "attribution": "Source: openFDA, U.S. Food and Drug Administration",
  "company": "Pfizer",
  "count": 1,
  "shortages": [
    {
      "company_name": "Pfizer Inc.",
      "dosage_form": "Injection",
      "generic_name": "Clindamycin Phosphate Injection",
      "posted_date": "2026-06-01",
      "presentation": "Cleocin Phosphate, Injection, 600 mg/4 mL (150 mg/mL); 4 mL Vial",
      "reason": "Discontinuation of the manufacture of the drug",
      "status": "To Be Discontinued",
      "therapeutic_category": [
        "Anti-Infective"
      ],
      "update_type": "New",
      "updated_date": "2026-06-01"
    }
  ],
  "source": "fda",
  "total_matched": 297
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402188 ms$0.02