Skip to content

FDA Orange Book lookup

$0.004 per callUSDC via x402GET /api/drug-orange-book

Look up the FDA Orange Book (openFDA) by brand name, active ingredient or application number: each approved product with its applicant, application type and number, dosage form, route, strengths, therapeutic equivalence codes, reference listed drug flag, approval date, listed patents (number, expiration, drug substance or product claim, use code) and exclusivity codes with their expiration dates. Send GET /api/drug-orange-book with no required fields (3 optional) and pay $0.004 per call over x402 or MPP (there is no free tier). It returns a JSON object with query, count, products, returned, matched and 5 more.

Newest approval first; the answer says how many products matched. Live FDA data.

Category: Live public dataTags: fda drug orange-book patent exclusivity generic therapeutic-equivalence openfda

Try in playground →

Parameters

NameTypeRequiredDescription
namestringnoBrand name or active ingredient, e.g. ozempic or semaglutide
applicationNumberstringnoNDA or ANDA number, six digits with an optional N or A prefix, e.g. N213051
limitnumbernoProducts to return, 1-20 (default 5)

Example request

curl -i "https://agent402.tools/api/drug-orange-book?name=ozempic&limit=3"

Without payment this returns HTTP 402 Payment Required with the exact price for drug-orange-book; any x402 v2 or MPP client pays it and retries.

Watch a call get paid

RequestGET /api/drug-orange-book
402$0.004 USDC
SignPAYMENT-SIGNATURE
Settleon 14 chains
Answer200 OK
ReceiptAgent402-ReceiptEd25519

Example response

{
  "query": {
    "name": "ozempic",
    "applicationNumber": null
  },
  "count": 1,
  "products": [
    {
      "brandName": "OZEMPIC",
      "activeIngredients": [
        {
          "name": "SEMAGLUTIDE",
          "strength": "1.5MG"
        }
      ],
      "dosageForm": "TABLET",
      "route": "ORAL",
      "applicant": "NOVO NORDISK INC",
      "applicationType": "NDA",
      "applicationNumber": "N213051",
      "productNumber": "004",
      "marketingStatus": "HUMAN PRESCRIPTION DRUG",
      "teCodes": [],
      "referenceListedDrug": true,
      "referenceStandard": true,
      "approvalDate": "2024-12-09",
      "patents": [
        {
          "patentNumber": "10278923",
          "expirationDate": "2034-05-02",
          "drugSubstance": true,
          "drugProduct": true,
          "useCode": "U-2628",
          "submissionDate": "2025-02-21"
        }
      ],
      "patentCount": 9,
      "exclusivities": [
        {
          "code": "I-976",
          "expirationDate": "2028-10-17"
        }
      ]
    }
  ],
  "returned": 1,
  "matched": 10,
  "complete": false,
  "truncated": true,
  "maxPatents": 20,
  "disclaimer": "openFDA data is unvalidated and is not medical advice; do not rely on it to make decisions regarding medical care.",
  "source": "api.fda.gov (openFDA Orange Book, public domain)"
}
FieldTypeAlways presentIn the example
queryobjectyes2 fields: name, applicationNumber
countnumberyes1
productsarray of objectsyes1 item in the example
returnednumberyes1
matchednumberyes10
completebooleanyesfalse
truncatedbooleanyestrue
maxPatentsnumberyes20
disclaimerstringyesopenFDA data is unvalidated and is not medical advice; do not rely on it to m...
sourcestringyesapi.fda.gov (openFDA Orange Book, public domain)

From an MCP client

catalog.call {
  "slug": "drug-orange-book",
  "params": {
    "name": "ozempic",
    "limit": 3
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for drug-orange-book; the stdio package pays it from a wallet or from an AGENT402_CREDITS_KEY issued earlier. Local install: npx -y agent402-mcp@0.14.1.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.({ maxAmountPerPayment: "$0.004" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/drug-orange-book?name=ozempic&limit=3");

Related tools

FDA drug adverse events

$0.001GET /api/drug-adverse-events

Top reported adverse reactions for a drug from the FDA FAERS database (openFDA), ranked by report count - a fast read.

FDA drug label lookup

$0.004GET /api/drug-label

FDA drug labeling (openFDA SPL) by brand or generic name, or by NDC: boxed warning, indications and usage, dosage.

FDA NDC directory lookup

$0.004GET /api/drug-ndc

Look up the FDA National Drug Code directory (openFDA) by NDC or by brand or generic name: product NDC, labeler, dosage.

FDA drug recalls

$0.004GET /api/drug-recalls

Search FDA drug recall / enforcement records (openFDA): recalling firm, classification (Class I/II/III), reason.

FDA drug shortages

$0.004GET /api/drug-shortages

Search the FDA drug shortage list (openFDA) by drug name (generic or brand), therapeutic category or status (current.

FDA 510(k) device clearances

$0.004GET /api/device-510k

Search FDA 510(k) premarket clearances (openFDA) by applicant, three-letter product code, K number or device name.