FDAgent API
Read-only access to FDAgent for agents and scripts, over REST at https://www.fdagent.app/api/v1 and over MCP at https://www.fdagent.app/api/mcp, with one API key. Every record comes with a citation to its source.
| Mode | What it does |
|---|---|
| Ask | Ask the research agent a question and get a markdown answer, each claim cited to the records behind it. |
| Tools | Run one of the agent's own fdagent CLI commands and get its JSON, with a citation on every record. |
| Raw upstream | Call openFDA, ClinicalTrials.gov, AccessGUDID, PubMed, CMS CLIA or SEC EDGAR through FDAgent and get the upstream response unchanged, with a citation. |
| Ingested data | Read FDAgent's own datasets: inspections, Form 483s, warning letters, compliance actions, the Orange and Purple Books, DRLS drug establishment registrations, import alerts and refusals, the debarment lists, clinical investigator disqualifications and the company entity graph, plus semantic search over 483 observations. |
On this page
Quickstart
Create a key on Settings → API keys (Pro and Team plans), then check that it works:
export FDAGENT_API_KEY=fdak_…
curl -s https://www.fdagent.app/api/v1/me -H "Authorization: Bearer $FDAGENT_API_KEY"The OpenAPI 3.1 spec at https://www.fdagent.app/api/v1/openapi.json describes every endpoint below.
Call a tool:
curl -s "https://www.fdagent.app/api/v1/tools/compliance/inspections?firm=Hikma&year=2023" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Ask a question and wait up to two minutes for the answer:
curl -s -X POST https://www.fdagent.app/api/v1/ask \
-H "Authorization: Bearer $FDAGENT_API_KEY" -H "Content-Type: application/json" \
-d '{"question":"Which sterile injectable sites got OAI inspections in 2024?","wait":120}'Authentication
Send the key as Authorization: Bearer fdak_… on every request, REST and MCP alike. Pro and Team users create and revoke keys on Settings → API keys (at most 20 active per owner). A key is shown once; FDAgent stores only its hash and the visible prefix. All endpoints are read-only. Never put a key in a URL.
Plans and usage
API access comes with the Pro and Team plans; the Free plan has no API keys. Each plan includes a monthly allowance of asks (POST /ask) and data calls (every tools, raw and data endpoint):
| Plan | Asks a month | Data calls a month |
|---|---|---|
| Pro, $40 a month | 1,000 | 25,000 |
| Team, $249 a month | 5,000, pooled across the team | 125,000, pooled across the team |
GET /me and polling an ask with GET /ask/{runId} are free. Only successful calls count: a call that returns an error uses none of the allowance. A key draws on its owner's Team when the owner holds a seat on an active Team, and on the owner's Pro plan otherwise. An ask with deepResearch: true also uses one of the key owner's 10 deep research runs a day, the same daily quota as in the web app; once they are spent, the ask answers 429.
Overage and the cap
Past the allowance, calls go on as overage: 5¢ an ask, and $1 per started 1,000 data calls. Overage stops at the account's monthly overage cap, $50 unless the account owner changes it on Settings → API keys. A call that would take the account's overage past the cap answers 402 overage_cap_reached, while calls still inside their own allowance keep working. The allowance and the overage both start again when the allowance resets, at resetsAt.
402 responses
A call refused for billing answers 402 payment_required with these details:
| Field | Meaning |
|---|---|
reason | plan_required: the key's account has no API plan. overage_cap_reached: the account has used its monthly allowance and reached its overage cap. |
meter | The allowance the call draws on: ask for POST /ask, data for tools, raw and data calls. Always present on overage_cap_reached; on plan_required, present only when the account's plan has no allowance for that kind of call. |
overageCapUsd | overage_cap_reached only: the account's monthly overage cap in US dollars, or null when it could not be read. |
resetsAt | overage_cap_reached only: when the monthly allowance resets (ISO 8601), or null when unknown. |
{
"error": {
"code": "payment_required",
"message": "This key's account has no API plan. API access comes with Pro and Team: https://www.fdagent.app/#pricing",
"status": 402,
"requestId": "req_…",
"details": {
"reason": "plan_required"
}
}
}An ask can also answer 402 without details when the key owner's account has no research runs left or deep research needs Pro.
Responses
Successful responses are JSON objects with data and meta (requestId, endpoint, mode, timings); tools and data responses add page. Every response carries an X-Request-Id header.
Citations: records carry _citation (tools and ingested data), and raw responses carry citation beside the unmodified upstream payload. Its fields:
| Field | Meaning |
|---|---|
source | The source, for example "ClinicalTrials.gov" or "FDA warning letters (FDAgent dataset)". |
url | The record's canonical public page, when the source has one. |
id | The record's id at the source (NCT ID, application number, PMID, FEI, FDAgent row id). |
query | Raw: the exact upstream request, with every credential removed. |
retrievedAt | When FDAgent fetched it. |
provenance | Ingested data: how the row entered FDAgent, for example 483_pdf_parsed. |
ingestedAt, updatedAt, datasetVersion | Ingested data: when FDAgent stored and last changed the row, and the refresh it belongs to. |
Inspections: citationsPublished says whether FDA published the inspection's Form 483 citations (Data Dashboard) or posted its 483 (reading room), not whether a Form 483 was issued; a VAI or OAI inspection without published citations usually had one. Tools responses also carry the old names form483Issued, with483 and inspectionsWith483 as deprecated aliases of citationsPublished, withPublishedCitations and inspectionsWithPublishedCitations; data responses keep the stored name form483Issued.
Errors
Every error has one shape:
{ "error": { "code": "invalid_request", "message": "limit must be at most 1000", "status": 422, "requestId": "req_…", "details": [{ "param": "limit", "message": "must be at most 1000" }] } }| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized | No API key, or the key is invalid or revoked. |
| 402 | payment_required | The account has no API plan or has reached its overage cap, or (ask only) has no research runs left; see 402 responses. |
| 403 | forbidden | The key's owner no longer has API access. |
| 404 | not_found | No such endpoint, record or run. |
| 405 | method_not_allowed | The endpoint exists but not with this HTTP method; see the Allow header. |
| 409 | conflict | Ask only: the run could not start; retry with a new request. |
| 422 | invalid_request | A parameter is missing, unknown or invalid; details lists each one. |
| 429 | rate_limited | The key's per-minute allowance for this kind of call is spent; see Retry-After. |
| 500 | internal_error | Something failed on FDAgent. Retrying may help; the requestId helps us find it. |
| 502 | upstream_error | An upstream source (openFDA, ClinicalTrials.gov, PubMed, …) failed or refused. |
| 503 | upstream_rate_limited | An upstream source, usually openFDA, is rate limiting FDAgent; retry after Retry-After. |
| 503 | unavailable | FDAgent is temporarily unavailable; see Retry-After. |
| 504 | timeout | The call ran out of time. |
An error sent with Retry-After also gives it in the body as retryAfter, in seconds, for clients that can't read headers, MCP clients included. upstream_rate_limited is never your key's limit (that is rate_limited, 429) but the source refusing FDAgent's requests; tools calls get it only after FDAgent has retried openFDA with backoff. Wait retryAfter seconds and send the same call again.
Rate limits
Each key has a per-minute limit per kind of call, separate from the plan's monthly allowance: 120 for FDAgent's own data and run results, 60 for tools and raw calls that reach upstream sources, and 10 for starting ask runs. Responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds); a 429 adds Retry-After. Each endpoint below names its bucket.
MCP
The same operations are MCP tools on a remote server at https://www.fdagent.app/api/mcp: each tool's name is the operation name given below, its input schema is the same parameter list, and its result is the same JSON body. Send the same key as Authorization: Bearer <key>. Each tools/call counts against the key's rate limit and the plan's monthly allowance exactly like the REST call; connecting and listing tools only check the key. The transport is stateless Streamable HTTP (POST only, JSON responses, no session). A failed call returns isError: true with the REST error object as its content; MCP carries no headers, so a retryable error gives its wait as retryAfter (seconds) in that object. Clients that cap how many tools they load can narrow the list with ?modes=, for example https://www.fdagent.app/api/mcp?modes=ask,tools (modes: ask, tools, raw, data, meta). OAuth sign-in for consumer connectors is not supported yet; use an API key.
Put the key in an environment variable first: export FDAGENT_API_KEY=fdak_…, then add the server to your client:
claude mcp add --transport http fdagent https://www.fdagent.app/api/mcp \
--header "Authorization: Bearer $FDAGENT_API_KEY"- Claude Desktop runs the server through mcp-remote, which keeps the key on your machine; the same config works for any client that only speaks stdio. Claude Desktop and claude.ai can also add it as a custom connector (Customize → Connectors → Add custom connector) with the URL
https://www.fdagent.app/api/mcp, No sign-in, andAuthorization: Bearer <your key>under Request headers. - Cursor also reads
.cursor/mcp.jsonin a project; don't commit a key there. - Codex stops a tool call after 60 seconds by default and ask runs take longer, so keep
tool_timeout_secat 300.
Ask
Ask runs the FDAgent research agent on a question, exactly as the web app does: it queries FDA, ClinicalTrials.gov, PubMed, SEC EDGAR and FDAgent's own datasets, checks its evidence and answers in markdown, every claim marked [†N]. POST /ask waits up to wait seconds (default 90, at most 280). If the run ends in time you get 200 with the answer; otherwise 202 with status and pollUrl, and the run goes on. Fetch GET /ask/{runId} until status is completed, failed, timed_out or cancelled; pass wait there too to long-poll instead of polling every few seconds.
Standard runs take one to three minutes, deep research up to ten. Each run is saved as a conversation in the key owner's FDAgent account, counts against that account's research plan, and shares its limit of three concurrent runs.
In the answer, citations[] maps each [†N] to the canvas card it rests on (card, an index into cards) and, when FDAgent resolved it, the row on that card that supports the sentence (rowIndex, row). cards[] holds the records the run gathered, as the web app shows them.
POST /ask
Ask the FDAgent research agent a question. MCP tool ask; rate bucket ask.
Runs the FDAgent research agent on the question, exactly as the web app does: it queries FDA, ClinicalTrials.gov, PubMed and FDAgent's own datasets, checks its evidence and answers with citations. Standard runs take one to three minutes, deep research up to ten. The call waits up to wait seconds: 200 with the answer when the run ends in time, else 202 with the run's state and a pollUrl for GET /ask/{runId}. The run continues either way, appears in the key owner's FDAgent conversations, and counts against the account's research plan and its limit of concurrent runs. The answer is markdown with [†N] markers; citations[N] names the canvas card (cards[card]) and, when FDAgent resolved it, the row on that card that supports the sentence. cards are the records the run gathered, as the web app shows them.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
question | string | yes | The question, as you would type it into FDAgent. | |
deepResearch | boolean | false | Deep research: a longer run (up to ten minutes) that gathers more sources. Needs a Pro plan or an admin account. | |
wait | integer (0–280) | 90 | Seconds to wait for the run to finish before answering with its current state. Default 90, at most 280. |
curl -s -X POST "https://www.fdagent.app/api/v1/ask" \
-H "Authorization: Bearer $FDAGENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"question":"Which FDA warning letters cited data integrity at sterile injectable sites in 2024?","wait":120}'GET /ask/{runId}
The state or answer of a research run started with POST /ask. MCP tool ask_result; rate bucket data.
Returns the run's status (starting, running, cancelling, completed, failed, timed_out, cancelled) and, once it has ended, its answer, citations and cards. With wait > 0 it holds the request until the run ends or the wait passes, so a client can long-poll instead of polling every few seconds. The answer is markdown with [†N] markers; citations[N] names the canvas card (cards[card]) and, when FDAgent resolved it, the row on that card that supports the sentence. cards are the records the run gathered, as the web app shows them.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
runId | string | yes | The runId POST /ask returned. | |
wait | integer (0–280) | 0 | Seconds to wait for the run to finish before answering with its current state. Default 0, at most 280. |
curl -s "https://www.fdagent.app/api/v1/ask/7b0c5d8e-4f7a-4f8e-9d55-2a8f1e0c9b31" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Tools
Each tools endpoint runs one fdagent CLI command, the same command the research agent uses, and returns its --json output unchanged apart from a _citation on every record. notes carries what the CLI said about the result (for example that a count covers more rows than were fetched); read it as the agent does. meta.cli is the equivalent command line, so you can reproduce any call with the CLI.
Record lists page with limit and offset: pass page.nextOffset as the next offset until it is null. A page is cut from the CLI's own result window (--limit offset+limit), so very deep pages of a large search are better served by the raw endpoints.
Drugs
GET /tools/drugs/orange-book
Orange Book products, therapeutic equivalence codes, patents and exclusivities. MCP tool drugs_orange_book; rate bucket upstream.
Search Orange Book drug products and therapeutic equivalence codes, with optional patents and exclusivities. Runs fdagent drugs orange-book --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Drug, ingredient, or applicant name | ||
ingredient | string | Active ingredient exactly as the Orange Book lists it (DIGOXIN); a combination joins its ingredients with "; " (ABACAVIR SULFATE; LAMIVUDINE) | ||
tradeName | string | Trade (brand) name exactly: ATACAND, not ATACAND HCT | ||
app | string | Six-digit application number; requires --appl-type | ||
applType | N, A | N = NDA; A = ANDA | ||
product | string | Product number within --app (e.g. 001) | ||
teCode | string | Therapeutic equivalence code (e.g. AB); outside --query, AB also matches AB1, AB2 | ||
dosageForm | string | Dosage form and route containing this text, e.g. "CAPSULE;ORAL" or INJECTABLE | ||
marketed | boolean | Only products FDA lists as marketed (RX or OTC); discontinued (DISCN) products are left out and counted in a note | ||
patents | boolean | Add listed patents (expiry, drug substance/product flags, use code, delist request) for --app, or for the NDAs a --query or --trade-name matches (ANDAs with --appl-type A) | ||
exclusivities | boolean | Add exclusivity codes and expiry dates for the same applications | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/orange-book?query=atorvastatin" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/purple-book
Purple Book biologics, biosimilars and interchangeables. MCP tool drugs_purple_book; rate bucket upstream.
Search Purple Book biologics, biosimilars, and interchangeable products. Runs fdagent drugs purple-book --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Product, proper, or applicant name | ||
reference | string | Licensed biosimilars of a reference product, by its proper name (trastuzumab) or brand (Herceptin); one row per biosimilar product | ||
interchangeable | boolean | With --reference, only biosimilars designated interchangeable | ||
bla | string | Six-digit BLA number | ||
licenseType | string | License type as stored in the Purple Book | ||
center | CDER, CBER | FDA center | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/purple-book?reference=trastuzumab" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/crl
FDA Complete Response Letters (openFDA archive). MCP tool drugs_complete_response_letters; rate bucket upstream.
Search the FDA Complete Response Letter archive (openFDA transparency/crl). Incomplete archive: absence of a letter is never evidence that no CRL was issued. Runs fdagent drugs crl --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
company | string | Company name phrase (e.g. "Scholar Rock") | ||
application | string | Six-digit application number: "NDA 210852", "BLA761463", or bare "210852" (matches NDA, BLA and legacy BL records, including supplement suffixes) | ||
full | boolean | Include the full letter text (default: bounded excerpt) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/crl?company=Scholar+Rock" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/orphan
FDA orphan drug designations and approvals (OOPD), with the substance in the EU and Canada. MCP tool drugs_orphan_designations; rate bucket upstream.
FDA orphan drug designations and approvals (Office of Orphan Products Development database), each with its exactly linked UNII and the same substance in the EU (EMA) and Canada. Runs fdagent drugs orphan --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
product | string | Generic or trade name words | ||
designation | string | Words in the designated use (the rare disease or condition) | ||
sponsor | string | Sponsor name words | ||
status | designated, approved, withdrawn | designated (not yet approved), approved, or withdrawn (withdrawn or revoked) | ||
id | string | OOPD designation id, the cfgridkey in the designation page URL | ||
unii | string | Designations exactly linked to an FDA UNII | ||
designatedSince | string | Designated on or after YYYY-MM-DD | ||
designatedUntil | string | Designated on or before YYYY-MM-DD | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/orphan?product=nusinersen" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/establishments
FDA drug establishment registrations (DRLS): FEI, firm, country and registered operations; establishments no longer in FDA's registration file are marked registered: false. MCP tool drugs_establishments; rate bucket upstream.
FDA drug establishment registrations (DRLS): manufacturers, API makers, packers, labelers and testing labs, with FEI, country and registered operations. Establishments that have left FDA's current registration file are kept with registered: false and the date FDA last listed them (lastSeenAt). Runs fdagent drugs establishments --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Firm name words (e.g. "Pfizer") | ||
fei | string | FEI number of one establishment | ||
country | string | Country as DRLS names it ("India", "China", "United States") | ||
state | string | US state postal code (NJ); sets --country "United States" | ||
operation | string | One registered operation as DRLS lists it: MANUFACTURE, API MANUFACTURE, ANALYSIS, LABEL, PACK, REPACK, RELABEL, STERILIZE, PARTICLE SIZE REDUCTION, TRANSFILL, DISTRIBUTE, SALVAGE, SIP FOREIGN SELLER, MEDICATED ANIMAL FEED MANUFACTURE, POSITRON EMISSION TOMOGRAPHY DRUG PRODUCTION | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/establishments?country=India&operation=API+MANUFACTURE" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/establishment-stats
Counts of currently registered drug establishments (DRLS) by country, operation and expiration year. MCP tool drugs_establishment_stats; rate bucket upstream.
Counts of drug establishments currently registered with FDA (DRLS) in total, by country, by registered operation and by registration expiration year. Establishments that have left FDA's registration file are not counted. Runs fdagent drugs establishment-stats --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/establishment-stats" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/approvals
Drug approvals from Drugs@FDA. MCP tool drugs_approvals; rate bucket upstream.
Search drug approvals (Drugs@FDA). Runs fdagent drugs approvals --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Sponsor name first (matched as --sponsor matches), then drug name when no sponsor name matches | ||
drug | string | Drug name, brand or generic (e.g. "OZEMPIC", "semaglutide"); matches openFDA harmonized names and each product's brand name and active ingredients | ||
sponsor | string | Sponsor (e.g. "Pfizer", "Novo Nordisk"). Matches every Drugs@FDA sponsor name holding each of its words, legal forms aside and abbreviations read in full (NOVO NORDISK INC, GLENMARK PHARMS LTD); sponsorMatch lists each matched name and, under related, names that share its distinctive words but lack one (NOVO, GLENMARK SPECLT), which are not counted | ||
app | string | FDA application number (e.g. "NDA021457") | ||
applType | string | Application types, comma-separated: NDA (new drugs), ANDA (generics), BLA (biologics). Not with --indication | ||
pharmClass | string | Established pharmacologic class, comma-OR'd (e.g. "GLP-1 Receptor Agonist"). Use for drug-class queries | ||
ingredient | string | Holders of a single-ingredient product (e.g. "haloperidol"): applications (NDA, ANDA or BLA) with final approval and a product whose only active ingredient is this one or a salt or ester of it (HALOPERIDOL DECANOATE), each sponsor grouped into its company (ingredientFilter) | ||
marketed | boolean | With --ingredient: only applications with such a product still marketed (Prescription or OTC) | ||
indication | string | Therapeutic area/indication (e.g. "oncology,cancer" — comma terms are OR'd). Joins drug-label indications to approvals; use this for disease/class queries, NOT --query | ||
since | string | Window start (YYYY-MM-DD or YYYYMMDD). Applies to each application's original approval (its first ORIG submission with status AP) unless --action says otherwise, so supplements and labeling changes do not count; each row's matchedAction gives the action and date | ||
until | string | Window end (YYYY-MM-DD or YYYYMMDD); applies to the same action as --since | ||
action | original, supplement, any | Action the --since/--until window applies to: original (first approval, default), supplement (approved supplements: new indications, labeling, manufacturing), any (any submission of any type or status) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/approvals?sponsor=Novo+Nordisk&since=2023-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/labels
Drug labels (prescribing information). MCP tool drugs_labels; rate bucket upstream.
Search drug labels (prescribing information). Runs fdagent drugs labels --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Drug name, brand or generic (e.g. "ozempic", "metformin") | ||
indication | string | Filter by indication text (e.g. "type 2 diabetes") | ||
manufacturer | string | Filter by manufacturer (e.g. "Novo Nordisk") | ||
section | string | Include a label section column (e.g. boxed_warning, warnings, indications_and_usage, dosage_and_administration, adverse_reactions, contraindications) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/labels?query=ozempic" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/recalls
Drug recalls (FDA enforcement reports). MCP tool drugs_recalls; rate bucket upstream.
Search drug recalls/enforcement reports. Runs fdagent drugs recalls --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Drug name or product description (e.g. "metformin") | ||
firm | string | Recalling firm name (e.g. "Teva Pharmaceuticals") | ||
class | string | Recall class: 1 (most serious), 2, or 3 (least serious) | ||
status | string | Recall status: Ongoing, Completed, or Terminated | ||
since | string | Reported on or after date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Reported on or before date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/recalls?firm=Teva&since=2024-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/shortages
Drug shortages. MCP tool drugs_shortages; rate bucket upstream.
Search drug shortages. Runs fdagent drugs shortages --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Drug name, brand or generic (e.g. "amoxicillin") | ||
status | string | Shortage status (e.g. "currently in shortage", "resolved") | ||
availability | string | Filter by availability description text | ||
company | string | Filter by manufacturer / company name | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/shortages?query=methylphenidate" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/adverse
Drug adverse event reports (FAERS). MCP tool drugs_adverse_events; rate bucket upstream.
Search drug adverse event reports (FAERS). Runs fdagent drugs adverse --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Drug name, brand or generic (e.g. "Humira", "adalimumab") | ||
reaction | string | Specific adverse reaction (e.g. "nausea", "headache") | ||
serious | boolean | Filter for serious events only | ||
since | string | Received on or after date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Received on or before date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/adverse?query=Humira&serious=true" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/adverse-counts
Top FAERS counts by reaction, drug, seriousness, outcome or country. MCP tool drugs_adverse_event_counts; rate bucket upstream.
Top field counts for adverse events (server-side aggregation). Runs fdagent drugs adverse-counts --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
field | reactions, drugs, seriousness, outcomes, countries | reactions | Field to count: reactions (MedDRA terms), drugs (openFDA generic names; a report counts under every drug it names, suspect or concomitant, and under each name openFDA gives its product, so ASPIRIN and ASPIRIN 81 MG are separate rows), seriousness (reports Serious vs Non-Serious), outcomes (reports by reaction outcome; a report with several reactions counts once per distinct outcome, so outcomes can add up to more than the reports), countries (where the event occurred) | |
query | string | Filter by drug name (brand or generic). Comma-separated for multiple drugs (e.g. "semaglutide,tirzepatide,liraglutide") | ||
reaction | string | Count only reports with a reaction whose MedDRA term holds these words ("pancreatitis" also counts Pancreatitis acute); with --field drugs it ranks the drugs named on those reports | ||
serious | boolean | Count only serious reports | ||
since | string | Received on or after date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Received on or before date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/adverse-counts?query=semaglutide&field=reactions" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/adverse-timeseries
Quarterly FAERS report counts. MCP tool drugs_adverse_event_timeseries; rate bucket upstream.
Time series of adverse event reports (quarterly aggregation). Runs fdagent drugs adverse-timeseries --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Filter by drug name (brand or generic) | ||
reaction | string | Filter by specific reaction | ||
since | string | Start date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | End date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/adverse-timeseries?query=semaglutide&since=2023-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/adverse-demographics
FAERS patient demographics, seriousness, reporters and outcomes. MCP tool drugs_adverse_event_demographics; rate bucket upstream.
Patient demographics breakdown for adverse events. Runs fdagent drugs adverse-demographics --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Filter by drug name (brand or generic) | ||
reaction | string | Filter by specific reaction | ||
since | string | Start date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | End date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/adverse-demographics?query=semaglutide" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/safety-signal
Proportional reporting ratio (PRR) signal for a drug and reaction. MCP tool drugs_safety_signal; rate bucket upstream.
PRR signal detection for a drug-reaction pair. Runs fdagent drugs safety-signal --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | yes | Drug name (required) | |
reaction | string | yes | Adverse reaction to check (required) | |
since | string | Start date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | End date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/safety-signal?query=semaglutide&reaction=pancreatitis" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/drugs/ndc
NDC directory products. MCP tool drugs_ndc_directory; rate bucket upstream.
Search NDC directory. Runs fdagent drugs ndc --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Search by brand or generic name | ||
code | string | NDC code, product or package (e.g. "0002-3227") | ||
brand | string | Brand / trade name (e.g. "Lipitor") | ||
generic | string | Generic / active ingredient name (e.g. "atorvastatin") | ||
labeler | string | Labeler / manufacturer name | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/drugs/ndc?brand=Lipitor" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Devices
GET /tools/devices/510k
510(k) clearances and De Novo grants. MCP tool devices_510k; rate bucket upstream.
Search 510(k) clearances. Runs fdagent devices 510k --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Device name (e.g. "stent", "pacemaker") | ||
applicant | string | Applicant / company (e.g. "Boston Scientific") | ||
productCode | string | FDA product code (e.g. "DXY") | ||
since | string | Decision on or after date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Decision on or before date (YYYY-MM-DD or YYYYMMDD) | ||
deNovo | boolean | De Novo grants (DEN numbers) instead of 510(k) clearances | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/devices/510k?applicant=Boston+Scientific&since=2024-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/devices/pma
PMA approvals and supplements. MCP tool devices_pma; rate bucket upstream.
Search PMA approvals. Runs fdagent devices pma --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Device name, generic or trade (e.g. "hip implant") | ||
applicant | string | Applicant / company (e.g. "Medtronic") | ||
productCode | string | FDA product code (e.g. "LWP") | ||
advisory | string | Advisory committee (e.g. "Orthopedic") | ||
since | string | Decision on or after date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Decision on or before date (YYYY-MM-DD or YYYYMMDD) | ||
original | boolean | Original PMAs whose approval stands (decision APPR): leaves out supplements and originals later withdrawn, reclassified or converted | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/devices/pma?applicant=Medtronic&original=true&since=2020-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/devices/recalls
Device recalls (FDA enforcement reports). MCP tool devices_recalls; rate bucket upstream.
Search device recalls/enforcement reports. Runs fdagent devices recalls --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Device name or product description (e.g. "infusion pump") | ||
firm | string | Recalling firm name (e.g. "Baxter Healthcare") | ||
class | string | Recall class: 1 (most serious), 2, or 3 (least serious) | ||
status | string | Recall status: Ongoing, Completed, or Terminated | ||
since | string | Reported on or after date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Reported on or before date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/devices/recalls?firm=Baxter&since=2024-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/devices/maude
Device adverse event reports (MAUDE). MCP tool devices_adverse_events; rate bucket upstream.
Search device adverse events (MAUDE). Runs fdagent devices maude --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Device brand or generic name (e.g. "pacemaker", "Autosoft 90"); a manufacturer's name with more reports as the manufacturer is read as --manufacturer | ||
manufacturer | string | Device manufacturer (e.g. "Medtronic") | ||
brandOnly | boolean | With --query: count reports whose device brand or generic name holds it, even when it is also a manufacturer name | ||
eventType | string | Event type: Malfunction, Injury, Death, or Other | ||
since | string | Received on or after date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Received on or before date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/devices/maude?manufacturer=Medtronic&eventType=Death&since=2024-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/devices/lookup
AccessGUDID device record by UDI, DI or record key. MCP tool devices_udi_lookup; rate bucket upstream.
Lookup device in GUDID by UDI/DI. Runs fdagent devices lookup --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
udi | string | Full UDI string (may include application identifiers) | ||
di | string | Primary Device Identifier (DI portion of UDI) | ||
recordKey | string | GUDID public device record key | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/devices/lookup?di=00643169007222" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/devices/classification
FDA device classification: product codes, device class, regulation and review panel. MCP tool devices_classification; rate bucket upstream.
FDA device classification (openFDA): product codes with device name, class (1, 2, 3), regulation number, review panel and specialty, submission type, and implant, life-sustaining and GMP-exempt flags. Runs fdagent devices classification --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Device name words (e.g. "defibrillator") | ||
productCode | string | Three-letter product code (e.g. DXY) | ||
regulation | string | 21 CFR regulation number (e.g. 870.3610) | ||
specialty | string | Medical specialty (e.g. Cardiovascular, Radiology) | ||
class | string | Device class: 1, 2, 3, U (unclassified), N (not classified) or F (HDE) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/devices/classification?productCode=DXY" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/devices/establishments
FDA device establishment registrations and listings, one row per registered facility. MCP tool devices_establishments; rate bucket upstream.
FDA device establishment registrations and listings (openFDA): registered device facilities with FEI, owner/operator, address, establishment types and listed products. Runs fdagent devices establishments --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
firm | string | Establishment, owner/operator or proprietary name (e.g. "Medtronic") | ||
fei | string | FEI number of one establishment | ||
city | string | City | ||
state | string | US state postal code (e.g. CA) | ||
country | string | ISO two-letter country code (e.g. DE, IE, CN) | ||
type | string | Establishment type as openFDA lists it (e.g. "Manufacture Medical Device", "Contract Manufacturer", "Specification Developer") | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/devices/establishments?firm=Medtronic&country=IE" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Clinical trials
GET /tools/trials/search
ClinicalTrials.gov study search. MCP tool trials_search; rate bucket upstream.
Search clinical trials. Runs fdagent trials search --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
term | string | General keyword search across all fields | ||
condition | string | Disease or condition (e.g. "breast cancer", "diabetes"); several, matching any of them, as "cancer OR leukemia" or "cancer,leukemia" | ||
intervention | string | Drug, device, or procedure (e.g. "pembrolizumab") | ||
sponsor | string | Lead sponsor organization (e.g. "Pfizer", "NCI"); collaborator roles are left out, and a name with "Group" counts every company of the group | ||
phase | EARLY_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA | Trial phase; a combined-phase study (Phase 2/3) matches each of its phases | ||
status | string | Recruitment status (comma-separated for multiple, e.g. "RECRUITING,ACTIVE_NOT_RECRUITING"). Choices: RECRUITING, NOT_YET_RECRUITING, ENROLLING_BY_INVITATION, ACTIVE_NOT_RECRUITING, COMPLETED, TERMINATED, WITHDRAWN, SUSPENDED | ||
location | string | Study location (e.g. "United States", "London") | ||
since | string | Last updated on or after (YYYY-MM-DD) | ||
until | string | Last updated on or before (YYYY-MM-DD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/trials/search?sponsor=Pfizer&phase=PHASE3" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/trials/get
One ClinicalTrials.gov study by NCT ID. MCP tool trials_get; rate bucket upstream.
Get a trial by NCT ID. Runs fdagent trials get --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
nctId | string | yes | ClinicalTrials.gov NCT ID (e.g. NCT01234567) | |
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/trials/get?nctId=NCT04368728" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/trials/rank
Lead sponsors ranked by the ClinicalTrials.gov studies they lead, counted over every matching study. MCP tool trials_rank; rate bucket upstream.
Rank lead sponsors by the studies they lead, counted over every study the search matches. Runs fdagent trials rank --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
term | string | General keyword search across all fields | ||
condition | string | Disease or condition (e.g. "cancer", "breast cancer"); several, matching any of them, as "cancer OR leukemia" or "cancer,leukemia" | ||
intervention | string | Drug, device, or procedure (e.g. "pembrolizumab") | ||
phase | EARLY_PHASE1, PHASE1, PHASE2, PHASE3, PHASE4, NA | Trial phase; a combined-phase study (Phase 2/3) matches each of its phases | ||
status | string | Recruitment status, comma-separated. Choices: RECRUITING, NOT_YET_RECRUITING, ENROLLING_BY_INVITATION, ACTIVE_NOT_RECRUITING, COMPLETED, TERMINATED, WITHDRAWN, SUSPENDED | ||
active | boolean | Only active studies: recruiting, not yet recruiting, enrolling by invitation, or active, not recruiting | ||
studyType | INTERVENTIONAL, OBSERVATIONAL, EXPANDED_ACCESS | Study type | ||
sponsorClass | string | Lead sponsor class, comma-separated: INDUSTRY for companies, OTHER for universities, hospitals and other organizations. Choices: INDUSTRY, NIH, FED, OTHER_GOV, NETWORK, INDIV, OTHER, UNKNOWN | ||
location | string | Study location (e.g. "United States", "China") | ||
since | string | Last updated on or after (YYYY-MM-DD) | ||
until | string | Last updated on or before (YYYY-MM-DD) | ||
top | string | 10 | Lead sponsors to list (default 10, at most 50); sponsors tied with the last one are listed too | |
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/trials/rank?condition=cancer&active=true&sponsorClass=INDUSTRY" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/trials/pipeline
A lead sponsor's interventional pipeline by highest phase. MCP tool trials_pipeline; rate bucket upstream.
Get a sponsor's clinical pipeline: the interventional studies it leads, by highest phase. Runs fdagent trials pipeline --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sponsor | string | yes | Lead sponsor name (e.g. "Pfizer", "Novartis"); a name with "Group" counts every company of the group | |
active | boolean | Only active studies: recruiting, not yet recruiting, enrolling by invitation, or active, not recruiting | ||
condition | string | Only studies of this disease or condition (e.g. "cancer" for an oncology pipeline); several as "cancer OR leukemia" or "cancer,leukemia" | ||
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/trials/pipeline?sponsor=Moderna&active=true" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/trials/compare
Compare the pipelines of 2 to 5 lead sponsors. MCP tool trials_compare; rate bucket upstream.
Compare clinical pipelines of multiple companies. Runs fdagent trials compare --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
companies | string | yes | Comma-separated company names (2-5, e.g. "Pfizer,Novartis,Roche") | |
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/trials/compare?companies=Moderna%2CBioNTech" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Compliance
GET /tools/compliance/warnings
Search, list or count FDA warning letters. MCP tool compliance_warning_letters; rate bucket upstream.
Search, list or count FDA warning letters. Runs fdagent compliance warnings --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Search letter content — uses semantic search if available (e.g. "data integrity", "CGMP") | ||
office | string | Issuing office (e.g. "CDER", "CDRH", "CBER") | ||
productType | string | Product type (e.g. "Drugs", "Devices", "Biologics") | ||
year | string | Calendar year the letter was issued (e.g. "2025") | ||
country | string | Country of the letter recipient, by name (e.g. "India", "China"); lists every letter there. A US state goes in --state | ||
state | string | US state of the letter recipient, by name or postal code (e.g. "New Jersey" or "NJ"; "IN" is Indiana), or a region as letters write it ("Gujarat") | ||
postedSince | string | List letters FDA posted on or after this date (YYYY-MM-DD, UTC). FDA posts a letter on its site days to months after issuing it; "posted this week/month" and enforcement-period questions filter on the posting date, not --year or the issue date | ||
postedUntil | string | List letters FDA posted on or before this date (YYYY-MM-DD, UTC; default today). Needs --posted-since; at most 366 days | ||
since | string | Only letters issued on or after this date (YYYY-MM-DD or YYYYMMDD), e.g. a quarter or month; lists every letter in the window | ||
until | string | Only letters issued on or before this date (YYYY-MM-DD or YYYYMMDD) | ||
subject | string | Only letters whose subject line holds this phrase as whole words, plural included (e.g. "Unapproved New Drug", "CGMP", "HCT/P"); lists every such letter | ||
cfr | string | Only letters whose listed violations cite this CFR section or one of its paragraphs (e.g. "21 CFR 803.18" covers 803.18(b)) | ||
count | boolean | Count the letters matching the filters instead of listing them, with the breakdown by year, product type and office — the precise answer to "how many" questions | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/warnings?year=2024&productType=Drugs" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/warning
One FDA warning letter with its full text. MCP tool compliance_warning_letter; rate bucket upstream.
Get a single warning letter by Convex ID. Runs fdagent compliance warning --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | Convex document ID for the warning letter | |
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/warning?id=jd7agz04f18g3srbdw202m0jr97yn5gr" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/inspections
FDA inspections with classification and whether FDA published their 483 citations. MCP tool compliance_inspections; rate bucket upstream.
Search or list FDA inspections by identity; use compliance search for content discovery. Runs fdagent compliance inspections --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Firm identity words, matched against each inspection's firm, city, state and country (e.g. "Sun Pharma Halol"); for Form 483 topics use compliance observations -q | ||
fei | string | FDA Establishment Identifier (e.g. "3002808318") | ||
firm | string | Firm or brand name (e.g. "Catalent", "Baxter"): every inspection recorded under a name that names it, plus inspections at facilities linked through entity-graph identifier links or confirmed aliases; each row reports its matchMethod. With --query, keeps only rows at those facilities. A name no record carries prints the closest registered firm names | ||
classification | OAI, VAI, NAI, Pending | Inspection classification | ||
productType | string | Product type: Drugs, Devices, Biologics or Veterinary (animal drugs and feed) | ||
form483Only | boolean | Only inspections whose Form 483 citations FDA published (citationsPublished): not every inspection that ended with a Form 483, since FDA does not publish the citations of many VAI and OAI inspections | ||
excludeBimo | boolean | Leave out Bioresearch Monitoring inspections (clinical investigators, IRBs, study sponsors, BA/BE sites), which carry a product type but are not its firms: for which-firms, -facilities, -sites or -makers listings | ||
since | string | Only inspections ending on or after this date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Only inspections ending on or before this date (YYYY-MM-DD or YYYYMMDD) | ||
year | string | Only inspections ending in this calendar year (e.g. "2025") | ||
country | string | Country of the inspected site, by name (e.g. "India", "China", "Korea"); a US state goes in --state | ||
state | string | US state of the inspected site, by name or postal code (e.g. "New Hampshire" or "NH"; "IN" is Indiana) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/inspections?firm=Hikma&year=2023" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/observations
Form 483 observations for a firm, FEI or text query. MCP tool compliance_483_observations; rate bucket upstream.
Form 483 observation citations: every one at a facility (--fei, --firm) or whose text holds every query word, narrowed by product type, CFR section and inspection date. Runs fdagent compliance observations --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Words every observation must contain (the last may begin a longer word), e.g. "cleaning validation"; name the 1-3 words that define the finding | ||
fei | string | Only this facility's observations (FEI number) | ||
firm | string | Only observations at this firm's facilities (resolved like compliance inspections --firm) | ||
cfr | string | Filter by CFR reference (e.g. "21 CFR 211.68") | ||
productType | string | Only observations about this product type: Drugs, Devices, Biologics or Veterinary | ||
since | string | Only inspections ending on or after this date (YYYY-MM-DD) | ||
until | string | Only inspections ending on or before this date (YYYY-MM-DD) | ||
year | string | Only inspections ending in this calendar year (e.g. "2025") | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/observations?firm=Hikma&year=2023" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/findings
Every firm cited for a 483 topic or CFR reference, with counts. MCP tool compliance_483_findings_census; rate bucket upstream.
Every Form 483 finding that a named topic (for one product type) or CFR/ISO provisions define: an exhaustive census with distinct facility (FEI), company, inspection and observation counts (use it for "which firms" and "how many firms, inspections or observations" questions). Runs fdagent compliance findings --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
productType | string | Drugs, Devices, Biologics or Veterinary (by the citation's program area, else its inspection's product type). Required with --topic; with --cfr, omit it to count every product type | ||
topic | sterility, capa, data-integrity, cleaning-validation, environmental-monitoring, complaint-handling, oos-investigations, training | Named finding definition (see the output's definition.text) | ||
cfr | string | Comma-separated CFR sections or ISO 13485 clauses, subsections included, written any way ("211.82", "21 CFR 820.198", "ISO 13485 clause 4.1.5"); matches FDA-published citations only | ||
year | string | Only inspections ending in this calendar year | ||
since | string | Inspections ending on/after this date (YYYY-MM-DD) | ||
until | string | Inspections ending on/before this date (YYYY-MM-DD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/findings?productType=Drugs&topic=data-integrity&year=2024" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/top-observations
Most cited CFR references in inspection citations. MCP tool compliance_top_483_observations; rate bucket upstream.
Most-cited CFR sections in Form 483 citations. totalCitations counts every citation in scope; a row counts the citations citing its CFR, so rows overlap and do not add up to it. With --product-type the counts are exact over every citation of that product type. --limit N ranks the top N, plus rows tied with the Nth, in the table, the canvas card and the saved data. Runs fdagent compliance top-observations --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
year | string | Calendar year of the inspection end date, not the FDA fiscal year (e.g. "2025") | ||
productType | string | Only citations of Drugs, Devices, Biologics or Veterinary (the citation's program area, else its inspection's product type) | ||
since | string | With --product-type: inspections ending on/after this date | ||
until | string | With --product-type: inspections ending on/before this date | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/top-observations?year=2024&productType=Drugs" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/clia-labs
CMS CLIA-certified laboratories. MCP tool compliance_clia_labs; rate bucket upstream.
Search the CMS CLIA laboratory registry (certification status, accreditations). Runs fdagent compliance clia-labs --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Laboratory/facility name (partial match) | ||
cliaNumber | string | CLIA provider number (e.g. "01D0027451") | ||
city | string | City name (partial match) | ||
state | string | State abbreviation (e.g. "CA") | ||
zip | string | ZIP code | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/clia-labs?city=Providence&state=RI" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/clia-deficiencies
CMS CLIA survey deficiency reports. MCP tool compliance_clia_deficiencies; rate bucket upstream.
Search CLIA Statement of Deficiencies (CMS-2567) reports from QCOR — requires at least one filter. Runs fdagent compliance clia-deficiencies --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Facility name | ||
cliaNumber | string | CLIA provider number (e.g. "01D0027451") | ||
state | string | State abbreviation (e.g. "CA") | ||
beginYear | string | Begin year for surveys (e.g. 2022) | ||
endYear | string | End year for surveys (e.g. 2025) | ||
tags | string | Comma-separated deficiency tags (e.g. "D2009,D5403") | ||
includeNarratives | boolean | Fetch narrative text for a subset of reports (slower) | ||
maxNarratives | string | Maximum narratives to fetch when --include-narratives is set | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/clia-deficiencies?state=RI&beginYear=2023" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/facility
One FEI: inspections, 483s, warning letters, actions, recalls and approvals. MCP tool compliance_facility_overview; rate bucket upstream.
One-call facility overview by FEI: identity, program areas, inspections, warning letters (credited to the FEI through FDA case ids, never by firm name), compliance actions, citations, plus openFDA products (site-filtered recalls; sponsor-level approvals). Use after resolving a site to its FEI.. Runs fdagent compliance facility --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fei | string | yes | FDA Establishment Identifier, e.g. "1000110954" | |
sponsor | string | Sponsor/brand token for openFDA product lookups (default: first meaningful word of the firm name) | ||
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/facility?fei=3002806560" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/actions
FDA compliance actions (seizures, injunctions, import alerts and more). MCP tool compliance_actions; rate bucket upstream.
FDA compliance actions (warning letters, injunctions, seizures) from the FDA Data Dashboard: search firm names with -q, or list every action the filters match with its exact count. Runs fdagent compliance actions --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Search by company or product (e.g. "Pfizer"); narrows only by --action-type and --product-type | ||
fei | string | FDA Establishment Identifier | ||
actionType | string | Action type: Warning Letter, Injunction, Seizure | ||
productType | string | Product type (e.g. "Drugs", "Devices", "Biologics") | ||
center | string | FDA center (e.g. "CDER", "CDRH", "CBER") | ||
since | string | Only actions dated on or after this date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Only actions dated on or before this date (YYYY-MM-DD or YYYYMMDD) | ||
year | string | Only actions dated in this calendar year (e.g. "2016") | ||
country | string | Country of the firm, by name (e.g. "United Kingdom", "India"); a US state goes in --state | ||
state | string | US state of the firm, by name or postal code (e.g. "Texas" or "TX") | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/actions?year=2024" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/company
A company's facilities, inspections, warning letters, actions, import refusals and import alerts. MCP tool compliance_company_history; rate bucket upstream.
Compliance history for one facility (--fei) or for every facility a firm name resolves to (--firm). Each facility reports how it was matched; warning letters are credited through FDA case ids, never by name. Runs fdagent compliance company --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fei | string | FDA Establishment Identifier (e.g. "3002808318") | ||
firm | string | Firm or brand name (e.g. "Catalent", "Baxter"): resolved through entity-graph identifier links (entity_graph), confirmed aliases (entity_alias), then registered names that name it (name_search); a name no record carries prints the closest registered firm names | ||
maxFacilities | string | 25 | Facilities to include with --firm, strongest matches first | |
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/company?firm=Hikma" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/stats
Totals and breakdowns of the inspections, warning letters or actions datasets. MCP tool compliance_dataset_stats; rate bucket upstream.
Statistics for inspections, warning letters and compliance actions; --dataset returns one of them. Runs fdagent compliance stats --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
dataset | inspections, warnings, actions | Only this dataset, and only its canvas card. Without it, all three datasets are returned, each as its own card | ||
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/stats?dataset=inspections" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/import-alerts
FDA import alert entries by FEI, firm, alert or date published; rows found by name alone are possible matches to review (possibleMatch). MCP tool compliance_import_alerts; rate bucket upstream.
FDA import alert entries (Red, Green and Yellow Lists of drug, biologic, device and radiological alerts, and the 99-xx alerts' covered firms). FDA prints no FEI for almost every listed firm, so an entry links to a facility only when FDA printed the firm's own FEI with it. An entry found for a facility or firm by its name alone (same firm name, and for a facility the same country) is a possible match to review (possibleMatch: true, with FDA's alert page in sourceUrl), never a fact about the facility or firm and never counted as an FEI link; so is sameNameFei, the one FDAgent site with an entry's firm name and country. Entries are dated by FDA's "Date Published" for the entry, the day FDA added or last updated it. finding states the result in one statement to lead the answer with: for --fei yes (an entry FDA printed the FEI with), possible match only, or no; for a listing its entries and firms per list and the newest Date Published. total counts entries, firmCount firms, and listCounts each list's entries and firms. alert.fdaPageEntries is FDA's own count of every entry on the alert's page; on a multi-industry 99-xx alert that page also lists firms outside FDAgent's scope, as FDAgent keeps only the entries with a drug, biologic, device or radiological product, so total, firmCount and listCounts are the alert's counts in that scope.. Runs fdagent compliance import-alerts --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fei | string | FDA Establishment Identifier: entries FDA printed this FEI with, then, apart, possible matches: entries whose firm name and country match the facility, not confirmed by FEI | ||
firm | string | Firm name: entries whose firm name equals it ignoring case, spacing and punctuation (exact_name), then other entries whose firm name contains every word of it, legal forms such as Ltd or S.A. aside (name_words). All are possible matches to review | ||
alert | string | Import alert number, e.g. "66-40"; alone, lists every entry on it | ||
list | red, green, yellow | Only entries on this list | ||
country | string | Only firms FDA lists in this country, e.g. "India" | ||
publishedSince | string | Only entries FDA dated on or after this date by its entry "Date Published" (YYYY-MM-DD) | ||
publishedUntil | string | Only entries FDA dated on or before this date by its entry "Date Published" (YYYY-MM-DD) | ||
includeRemoved | boolean | Also entries FDA has taken off its pages (removedAt: the day FDAgent first found the entry gone; FDA prints no removal date) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/import-alerts?alert=66-40&list=red&country=India&publishedSince=2026-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/import-refusals
FDA import refusals by FEI, firm or date, with charges and a summary. MCP tool compliance_import_refusals; rate bucket upstream.
FDA import refusals of drugs, biologics, devices and radiological products (FDA Data Dashboard): one row per refused product line, filed under the FEI FDA recorded, with a summary (count, date range, import entries, most cited charges, sample analyses) over every matching refusal and finding, the result in one statement to lead the answer with: refused product lines beside the import entries (shipments) they came in on, and the most cited charge with its count, or the charges tied for it. Runs fdagent compliance import-refusals --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fei | string | FDA Establishment Identifier: refusals FDA filed under this FEI | ||
firm | string | Firm name words, searched in the firm names FDA recorded (at most 200 refusals, relevance order); each refusal keeps the FEI FDA filed it under, and matchNote says to check the FEI is the site you mean | ||
since | string | Only refusals on or after this date (YYYY-MM-DD) | ||
until | string | Only refusals on or before this date (YYYY-MM-DD) | ||
country | string | Country of the firm, by name ("India") or two-letter code ("IN") | ||
category | string | Product category: "Drugs and Biologics", "Devices" or "Radiological Health" (a word of one works, e.g. "drugs") | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/import-refusals?fei=3003157498" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/compliance/sanctions
FDA debarment lists and clinical investigator disqualifications by name; every record is a possible match to review. MCP tool compliance_sanctions; rate bucket upstream.
FDA Debarment Lists (drug product applications, current and expired, and drug imports) and Clinical Investigators - Disqualification Proceedings, searched by a person's or firm's name. FDA lists these by name only, with no identifier, so every record, exact name included, is a possible match to review (possibleMatch: true), never a fact about the person, firm or facility searched. match says how the name matched: exact_name (same name ignoring case, spacing and punctuation), name_words (FDA prints the name differently, e.g. last name first or with a degree, and it contains every searched word) or fda_note (another person's record, whose FDA note says that person is not to be confused with the one searched: report the note, never the record as the searched person's). url is FDA's notice or record: check it before relying on a record. Runs fdagent compliance sanctions --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | Name of a person or firm, e.g. "Martin Valdes". The CLI takes --name more than once to check several names | |
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/compliance/sanctions?name=Martin+Valdes" \
-H "Authorization: Bearer $FDAGENT_API_KEY"SEC filings
GET /tools/filings/search
SEC EDGAR full-text search. MCP tool filings_search; rate bucket upstream.
Full-text search of SEC filings (8-K exhibits, 10-K/10-Q, 6-K, ...). Quote exact phrases; AND/OR are supported.. Runs fdagent filings search --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | yes | EDGAR full-text query, e.g. '"complete response letter" AND PDUFA' | |
company | string | Filer name filter (e.g. "Scholar Rock") | ||
forms | string | Comma-separated form types (e.g. "8-K" or "8-K,10-Q,10-K") | ||
since | string | Filed on or after (YYYY-MM-DD) | ||
until | string | Filed on or before (YYYY-MM-DD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/filings/search?query=warning+letter&company=Pfizer&since=2024-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/filings/document
Read an SEC EDGAR filing document. MCP tool filings_document; rate bucket upstream.
Read one filing document as plain text (www.sec.gov only, byte-capped). Pass the documentUrl from a search hit, or ":" with --cik.. Runs fdagent filings document --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
urlOrId | string | yes | https://www.sec.gov/Archives/edgar/... URL or EDGAR hit id | |
cik | string | Filer CIK (required with an EDGAR hit id) | ||
find | string | Return excerpts around every exact match of this phrase instead of the leading text | ||
maxChars | string | Plain-text characters to return (default 60000) | ||
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/filings/document?urlOrId=https%3A%2F%2Fwww.sec.gov%2FArchives%2Fedgar%2Fdata%2F78003%2F000007800326000026%2Fpfe-20251231.htm&maxChars=2000" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Literature
GET /tools/literature/search
PubMed citation search. MCP tool literature_search; rate bucket upstream.
Search PubMed citations (metadata only; abstracts via literature get). Runs fdagent literature search --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Free-text PubMed query (PubMed field tags allowed) | ||
drug | string | Drug/intervention, matched as a phrase in title/abstract | ||
condition | string | Condition/indication, matched as a phrase in title/abstract | ||
since | string | Published on or after (YYYY, YYYY-MM, or YYYY-MM-DD) | ||
until | string | Published on or before (YYYY, YYYY-MM, or YYYY-MM-DD) | ||
type | string | Require PubMed publication types, comma-separated (e.g. "Clinical Trial,Randomized Controlled Trial") | ||
clinical | boolean | Restrict to trial-indexed or phase-mentioning work (indexing label, not an efficacy filter) | ||
sort | relevance, date | relevance | Result order | |
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/literature/search?drug=semaglutide&condition=pancreatitis" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/literature/get
One PubMed record with its abstract. MCP tool literature_get; rate bucket upstream.
Get one PubMed citation with its abstract (not the full paper). Runs fdagent literature get --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pmid | string | yes | PubMed identifier (numeric, e.g. 36331190) | |
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/literature/get?pmid=33567185" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Regs
GET /tools/regs/cfr
A 21 CFR section's text at a date, a part's sections, or a text search. MCP tool regs_cfr; rate bucket upstream.
Text of a 21 CFR section, current or in force on a date; a part number lists its sections; --search finds sections by words. Runs fdagent regs cfr --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
citation | string | Section such as "21 CFR 211.84(d)(1)" or "211.84", or a part such as "211" | ||
date | string | Text in force on this date (use the record's date: inspection end or letter issue) | ||
versions | boolean | List every eCFR version date of the section | ||
search | string | Search the current text of 21 CFR Chapter I instead | ||
part | string | With --search: only this part | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/regs/cfr?citation=21+CFR+211.84%28d%29&date=2024-05-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/regs/guidance
FDA guidance documents, or one guidance document's text. MCP tool regs_guidance; rate bucket upstream.
Search FDA's guidance documents (final and draft), or read one guidance's PDF text with --doc. Runs fdagent regs guidance --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Words in the title, topics, products, center or docket | ||
status | final, draft | Final or draft guidance | ||
type | string | Document type, e.g. "Guidance Document" or "Compliance Policy Guide (CPG)" | ||
center | string | Issuing center, e.g. "Drug Evaluation" or CDRH words | ||
openForComment | boolean | Only documents open for comment | ||
since | string | Issued on or after | ||
until | string | Issued on or before | ||
inText | boolean | Also search inside the guidance PDF text | ||
includeDelisted | boolean | Include documents FDA has dropped from its guidance index | ||
doc | string | Read one document's PDF text (key from a search result) | ||
find | string | With --doc: excerpts around every match of this phrase | ||
maxChars | string | With --doc: characters of text to return (default 20000) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/regs/guidance?query=process+validation&status=final" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/regs/fr
Federal Register documents from FDA. MCP tool regs_federal_register; rate bucket upstream.
Search Federal Register documents from FDA (rules, proposed rules, notices), or show one with --doc. Runs fdagent regs fr --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Words in the title, abstract, action, docket or CFR parts | ||
type | rule, proposed-rule, notice, presidential-document | Document type | ||
cfrPart | string | Documents that list this 21 CFR part, e.g. 820 | ||
docket | string | Docket id, e.g. FDA-2021-N-0507 | ||
since | string | Published on or after | ||
until | string | Published on or before | ||
doc | string | One document by its document number, e.g. 2024-01709 | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/regs/fr?cfrPart=820&type=rule" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Screening
GET /tools/screening/check
Screen a name against US export, sanctions, exclusion and forced-labor lists (possible matches to review). MCP tool screening_check; rate bucket upstream.
Screen a company or facility name against the Consolidated Screening List, SAM.gov exclusions, the UFLPA Entity List and CBP Withhold Release Orders. Every hit is a possible match to review: the lists carry no FDA identifier, so a hit is never the same entity as a facility, and no hit is never a clearance. Runs fdagent screening check --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | Company or facility name to screen | |
country | string | Keep hits listed in this country or with no country (ISO code or name, e.g. "CN", "India") | ||
lists | string | Comma-separated lists to screen: csl, sam, uflpa, cbp (default all) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/screening/check?name=Guangxi+Kelun+Pharmaceutical+Co.%2C+Ltd.&country=CN" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Intl
GET /tools/intl/ema
EU status from the European Medicines Agency: medicines, opinions, applications, orphan designations, shortages. MCP tool intl_ema; rate bucket upstream.
EU status from EMA reports: centrally evaluated medicines with their EU orphan designations, committee opinions, applications under evaluation, orphan designations and shortages. Prints the EMA acknowledgement with every result. Runs fdagent intl ema --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
dataset | medicines, opinions, applications, orphan-designations, shortages | medicines | EMA report | |
query | string | Words in the medicine name, INN or active substance, holder or therapeutic area | ||
productNumber | string | EMA product number, e.g. EMEA/H/C/004312 | ||
atc | string | ATC code or group prefix, e.g. L01FF (medicines) | ||
unii | string | Medicines exactly linked to an FDA UNII (medicines) | ||
status | string | Medicines: authorised, opinion, refused, application-withdrawn, withdrawn, suspended, revoked, lapsed, expired. Orphan designations: positive, negative, withdrawn, expired. Shortages: ongoing, resolved, discontinued | ||
category | human, veterinary | Human or veterinary medicines | ||
euNumber | string | EU orphan designation numbers, e.g. EU/3/12/976 (orphan-designations) | ||
since | string | Opinions dated on or after YYYY-MM-DD (opinions) | ||
orphan | boolean | Only applications for orphan medicines (applications) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/intl/ema?query=nusinersen" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/intl/canada
Canadian status from the Health Canada Drug Product Database (DIN, owner, status). MCP tool intl_canada; rate bucket upstream.
Canadian status from the Health Canada Drug Product Database (DPD): DIN, brand, DIN owner, status, ingredients and ATC code, marketed products first. Prints the Open Government Licence – Canada attribution with every result. Runs fdagent intl canada --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Brand or ingredient words | ||
din | string | Drug Identification Number, e.g. 02471469 | ||
company | string | DIN owner (company) words | ||
atc | string | ATC code or group prefix, e.g. A10BJ | ||
unii | string | Products exactly linked to an FDA UNII | ||
status | any, active, marketed, approved, dormant, cancelled | any | active = marketed, approved or dormant; cancelled = cancelled, revoked or expired | |
class | human, veterinary, disinfectant, radiopharmaceutical | Product class | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/intl/canada?din=02471469" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Recalls
GET /tools/recalls/search
Recalled products in FDA's Enforcement Report (iRES) across every center, with phase and FEI. MCP tool recalls_search; rate bucket upstream.
Search recalled products in FDA's Enforcement Report across every FDA center (iRES). One row per recalled product; total is iRES's count of every match. Runs fdagent recalls search --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
firm | string | Recalling firm name words (e.g. "Baxter") | ||
fei | string | The recalling firm's FEI number at the time of the recall | ||
product | string | Words in the product description | ||
reason | string | Words in the reason for the recall | ||
center | string | FDA centers, comma-separated: CDER (drugs), CBER (biologics), CDRH (devices), HFP (human foods; CFSAN on older recalls), CVM (veterinary), CTP (tobacco) | ||
class | string | Recall classes, comma-separated: 1 (most serious), 2, 3 | ||
phase | string | Recall phases, comma-separated: ongoing, completed, terminated | ||
since | string | Recall initiated on or after YYYY-MM-DD | ||
until | string | Recall initiated on or before YYYY-MM-DD | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/recalls/search?firm=Baxter¢er=CDER&phase=ongoing" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/recalls/food
Food recalls (FDA enforcement reports), with the recalling firms ranked. MCP tool recalls_food; rate bucket upstream.
Search food recalls in FDA's Enforcement Report (openFDA food/enforcement), by report date. One row per recalled product; total is openFDA's count of every match, and companies ranks the recalling firms over every match. Runs fdagent recalls food --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Words in the product description (e.g. "ice cream") | ||
reason | string | Words in the reason for the recall (e.g. "Listeria", "undeclared milk") | ||
firm | string | Recalling firm name (e.g. "Totally Cool") | ||
class | string | Recall class: 1 (most serious), 2, or 3 (least serious) | ||
status | string | Recall status: Ongoing, Completed, or Terminated | ||
since | string | Reported on or after date (YYYY-MM-DD or YYYYMMDD) | ||
until | string | Reported on or before date (YYYY-MM-DD or YYYYMMDD) | ||
limit | integer (1–1000) | 50 | Rows per page (the CLI's --limit). Default 50, at most 1000. | |
offset | integer (0–100000) | 0 | Rows to skip. Use page.nextOffset from the previous page; null means there are no more rows. |
curl -s "https://www.fdagent.app/api/v1/tools/recalls/food?since=2024-01-01&until=2024-12-31" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /tools/recalls/event
One FDA recall event (iRES) with its firm, FEI, phase, dates, products and press releases. MCP tool recalls_event; rate bucket upstream.
One recall event from FDA's Enforcement Report (iRES): the recalling firm and its FEI, phase, classification and dates, distribution, every recalled product with its quantity and lot codes, and FDA press releases. Runs fdagent recalls event --json, the command the FDAgent research agent uses, and returns its output.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
eventId | string | yes | Recall event id (the eventId of a recall row, e.g. 98178) | |
limit | integer (1–1000) | 50 | The CLI's --limit, which caps the result's lists. |
curl -s "https://www.fdagent.app/api/v1/tools/recalls/event?eventId=98178" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Raw upstream
Raw endpoints pass a call straight through to a public source FDAgent queries (openFDA, ClinicalTrials.gov API v2, AccessGUDID, PubMed E-utilities, the CMS CLIA dataset on data.cms.gov and SEC EDGAR) using FDAgent's server credentials, and return the upstream body unmodified in data. Parameters are each source's own, with the same names and meaning (openFDA search, count, limit, skip, sort; ClinicalTrials.gov query.*, filter.*, pageToken; and so on), and so are their limits. Hosts are fixed, unknown parameters are rejected, and you can never pass your own api_key.
Each response carries a citation for the call: url is the record's public page when the call is for one record, otherwise the keyless query URL; query is the exact upstream request with credentials removed; retrievedAt is when FDAgent fetched it. List responses also carry citations, one per upstream record, in order. Upstream 404 becomes not_found, 400 becomes invalid_request with the upstream's message, 429 becomes upstream_rate_limited (503) with Retry-After, and 5xx becomes upstream_error with Retry-After when the source sends one. An openFDA search with no hits is the exception: it comes back as 200 with { "results": [] } and a note. EFetch answers in XML or text, so its data is a string and meta.contentType names the type. Identical calls are served from a five-minute cache and marked meta.cached.
openFDA
GET /raw/openfda/drug/event
Drug adverse event reports (FAERS) (openFDA drug/event). MCP tool raw_openfda_drug_event; rate bucket upstream.
Drug adverse event reports (FAERS), from openFDA's /drug/event.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/drug/event?search=patient.drug.openfda.brand_name%3A%22ozempic%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/drug/label
Drug labeling (SPL) (openFDA drug/label). MCP tool raw_openfda_drug_label; rate bucket upstream.
Drug labeling (SPL), from openFDA's /drug/label.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/drug/label?search=openfda.brand_name%3A%22ozempic%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/drug/ndc
NDC directory (openFDA drug/ndc). MCP tool raw_openfda_drug_ndc; rate bucket upstream.
NDC directory, from openFDA's /drug/ndc.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/drug/ndc?search=brand_name%3A%22ozempic%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/drug/enforcement
Drug recall enforcement reports (openFDA drug/enforcement). MCP tool raw_openfda_drug_enforcement; rate bucket upstream.
Drug recall enforcement reports, from openFDA's /drug/enforcement.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/drug/enforcement?search=classification%3A%22Class+I%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/drug/drugsfda
Drugs@FDA applications (openFDA drug/drugsfda). MCP tool raw_openfda_drug_drugsfda; rate bucket upstream.
Drugs@FDA applications, from openFDA's /drug/drugsfda.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/drug/drugsfda?search=openfda.brand_name%3A%22ozempic%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/drug/shortages
Drug shortages (openFDA drug/shortages). MCP tool raw_openfda_drug_shortages; rate bucket upstream.
Drug shortages, from openFDA's /drug/shortages.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/drug/shortages?search=status%3A%22Current%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/drug/orangebook
Orange Book (openFDA drug/orangebook). MCP tool raw_openfda_drug_orangebook; rate bucket upstream.
Orange Book, from openFDA's /drug/orangebook.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/drug/orangebook?search=products.brand_name%3A%22ozempic%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/event
Device adverse event reports (MAUDE) (openFDA device/event). MCP tool raw_openfda_device_event; rate bucket upstream.
Device adverse event reports (MAUDE), from openFDA's /device/event.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/event?search=device.generic_name%3A%22insulin+pump%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/510k
510(k) premarket notifications (openFDA device/510k). MCP tool raw_openfda_device_510k; rate bucket upstream.
510(k) premarket notifications, from openFDA's /device/510k.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/510k?search=applicant%3A%22medtronic%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/pma
Premarket approvals and supplements (openFDA device/pma). MCP tool raw_openfda_device_pma; rate bucket upstream.
Premarket approvals and supplements, from openFDA's /device/pma.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/pma?search=applicant%3A%22medtronic%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/classification
Device classification (openFDA device/classification). MCP tool raw_openfda_device_classification; rate bucket upstream.
Device classification, from openFDA's /device/classification.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/classification?search=product_code%3A%22DXY%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/enforcement
Device recall enforcement reports (openFDA device/enforcement). MCP tool raw_openfda_device_enforcement; rate bucket upstream.
Device recall enforcement reports, from openFDA's /device/enforcement.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/enforcement?search=classification%3A%22Class+I%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/recall
Device recalls (openFDA device/recall). MCP tool raw_openfda_device_recall; rate bucket upstream.
Device recalls, from openFDA's /device/recall.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/recall?search=product_code%3A%22FRN%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/registrationlisting
Establishment registrations and device listings (openFDA device/registrationlisting). MCP tool raw_openfda_device_registrationlisting; rate bucket upstream.
Establishment registrations and device listings, from openFDA's /device/registrationlisting.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/registrationlisting?search=products.product_code%3A%22DXY%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/udi
Unique device identifiers (GUDID) (openFDA device/udi). MCP tool raw_openfda_device_udi; rate bucket upstream.
Unique device identifiers (GUDID), from openFDA's /device/udi.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/udi?search=brand_name%3A%22xience%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/device/covid19serology
COVID-19 serological test evaluations (openFDA device/covid19serology). MCP tool raw_openfda_device_covid19serology; rate bucket upstream.
COVID-19 serological test evaluations, from openFDA's /device/covid19serology.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/device/covid19serology?search=manufacturer%3A%22abbott%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/food/event
Food, dietary supplement and cosmetic adverse events (CAERS) (openFDA food/event). MCP tool raw_openfda_food_event; rate bucket upstream.
Food, dietary supplement and cosmetic adverse events (CAERS), from openFDA's /food/event.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/food/event?search=products.industry_name%3A%22Vit%2FMin%2FProt%2FUnconv+Diet%28Human%2FAnimal%29%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/food/enforcement
Food recall enforcement reports (openFDA food/enforcement). MCP tool raw_openfda_food_enforcement; rate bucket upstream.
Food recall enforcement reports, from openFDA's /food/enforcement.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/food/enforcement?search=classification%3A%22Class+I%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/cosmetic/event
Cosmetic adverse event reports (openFDA cosmetic/event). MCP tool raw_openfda_cosmetic_event; rate bucket upstream.
Cosmetic adverse event reports, from openFDA's /cosmetic/event.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/cosmetic/event?search=reactions%3A%22rash%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/animalandveterinary/event
Animal drug adverse event reports (openFDA animalandveterinary/event). MCP tool raw_openfda_animalandveterinary_event; rate bucket upstream.
Animal drug adverse event reports, from openFDA's /animalandveterinary/event.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/animalandveterinary/event?search=animal.species%3A%22Dog%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/tobacco/problem
Tobacco product problem reports (openFDA tobacco/problem). MCP tool raw_openfda_tobacco_problem; rate bucket upstream.
Tobacco product problem reports, from openFDA's /tobacco/problem.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/tobacco/problem?search=tobacco_products%3A%22Electronic+cigarette%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/research/covidmirnaandproteomics
COVID-19 miRNA and proteomics research data (openFDA research/covidmirnaandproteomics). MCP tool raw_openfda_research_covidmirnaandproteomics; rate bucket upstream.
COVID-19 miRNA and proteomics research data, from openFDA's /research/covidmirnaandproteomics.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/research/covidmirnaandproteomics?search=severity%3A%22Mild%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/research/tobaccopreventionads
Tobacco prevention ad research data (openFDA research/tobaccopreventionads). MCP tool raw_openfda_research_tobaccopreventionads; rate bucket upstream.
Tobacco prevention ad research data, from openFDA's /research/tobaccopreventionads.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/research/tobaccopreventionads?search=study_name%3A%22TRC+Cigarettes+Study+1%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/research/tobaccodigitalads
Tobacco digital ad research data (openFDA research/tobaccodigitalads). MCP tool raw_openfda_research_tobaccodigitalads; rate bucket upstream.
Tobacco digital ad research data, from openFDA's /research/tobaccodigitalads.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/research/tobaccodigitalads?search=channel_or_format%3A%22Video%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/research/tobaccoharmmenthol
Menthol cigarette harm perception research data (openFDA research/tobaccoharmmenthol). MCP tool raw_openfda_research_tobaccoharmmenthol; rate bucket upstream.
Menthol cigarette harm perception research data, from openFDA's /research/tobaccoharmmenthol.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/research/tobaccoharmmenthol?search=age_group%3A%224%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/research/tobaccosmokefree
Smokefree.gov traffic research data (openFDA research/tobaccosmokefree). MCP tool raw_openfda_research_tobaccosmokefree; rate bucket upstream.
Smokefree.gov traffic research data, from openFDA's /research/tobaccosmokefree.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/research/tobaccosmokefree?search=metric%3A%22Number+of+Completions%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/other/historicaldocument
FDA historical documents (openFDA other/historicaldocument). MCP tool raw_openfda_other_historicaldocument; rate bucket upstream.
FDA historical documents, from openFDA's /other/historicaldocument.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/other/historicaldocument?search=doc_type%3A%22pr%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/other/nsde
Comprehensive NDC SPL data elements (NSDE) (openFDA other/nsde). MCP tool raw_openfda_other_nsde; rate bucket upstream.
Comprehensive NDC SPL data elements (NSDE), from openFDA's /other/nsde.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/other/nsde?search=marketing_category%3A%22NDA%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/other/substance
Substance data (GSRS) (openFDA other/substance). MCP tool raw_openfda_other_substance; rate bucket upstream.
Substance data (GSRS), from openFDA's /other/substance.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/other/substance?search=unii%3A%2253AXN4NNHX%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/other/unii
UNII substance names (openFDA other/unii). MCP tool raw_openfda_other_unii; rate bucket upstream.
UNII substance names, from openFDA's /other/unii.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/other/unii?search=substance_name%3A%22semaglutide%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/openfda/transparency/crl
Complete Response Letters (openFDA transparency/crl). MCP tool raw_openfda_transparency_crl; rate bucket upstream.
Complete Response Letters, from openFDA's /transparency/crl.json, unmodified. search, count, limit, skip and sort work as openFDA documents them (https://open.fda.gov/apis/query-parameters/). A search with no matches returns 200 with an empty results array and a note, where openFDA itself answers 404 NOT_FOUND.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search | string | openFDA search expression over the dataset's own fields, e.g. openfda.brand_name:"ozempic" AND serious:1. A + reads as a space, as in an openFDA URL. | ||
count | string | Field to count unique values of, e.g. receivedate or patient.reaction.reactionmeddrapt.exact; openFDA then returns { term, count } rows instead of records. | ||
limit | integer (1–1000) | Records (or count terms) to return: openFDA defaults to 1, at most 1000. | ||
skip | integer (0–25000) | Records to skip before returning results, at most 25000. | ||
sort | string | Field and direction, e.g. receivedate:desc. |
curl -s "https://www.fdagent.app/api/v1/raw/openfda/transparency/crl?search=company_name%3A%22scholar+rock%22&limit=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"ClinicalTrials.gov
GET /raw/clinicaltrials/studies
Search ClinicalTrials.gov studies (API v2 /studies). MCP tool raw_clinicaltrials_studies; rate bucket upstream.
ClinicalTrials.gov API v2 /studies, unmodified: query., filter., fields, sort, countTotal, pageSize and pageToken work as the API documents them (https://clinicaltrials.gov/data-api/api). Page with the response's nextPageToken.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query.cond | string | Conditions or disease query (Essie expression syntax), e.g. lung cancer. | ||
query.term | string | Other terms query, e.g. AREA[LastUpdatePostDate]RANGE[2023-01-15,MAX]. | ||
query.locn | string | Location terms query. | ||
query.titles | string | Title and acronym query. | ||
query.intr | string | Intervention or treatment query. | ||
query.outc | string | Outcome measure query. | ||
query.spons | string | Sponsor or collaborator query. | ||
query.lead | string | Lead sponsor name query. | ||
query.id | string | Study IDs query: NCT ID, organization study ID or secondary IDs. | ||
query.patient | string | Patient-facing search, as on the ClinicalTrials.gov website. | ||
filter.overallStatus | string | Comma-separated overall statuses, e.g. RECRUITING,NOT_YET_RECRUITING. | ||
filter.geo | string | Geo filter, e.g. distance(39.0035707,-77.1013313,50mi). | ||
filter.ids | string | Comma-separated NCT IDs to restrict to. | ||
filter.advanced | string | Essie expression filter, e.g. AREA[StartDate]2022. | ||
filter.synonyms | string | Comma-separated area:synonym_id pairs. | ||
aggFilters | string | Aggregation filters, e.g. results:with,status:com. | ||
geoDecay | string | Proximity ranking for filter.geo, e.g. func:exp,scale:300mi,offset:10mi,decay:0.5. | ||
fields | string | Comma-separated fields or pieces to return, e.g. NCTId,BriefTitle,OverallStatus; all fields when omitted. | ||
markupFormat | markdown, legacy | Format of markup fields: markdown (default) or legacy. | ||
sort | string | Up to two comma-separated sort fields, each with :asc or :desc, e.g. LastUpdatePostDate:desc. | ||
countTotal | boolean | Include totalCount with the first page. | ||
pageSize | integer (1–1000) | Studies per page: 10 by default, at most 1000. | ||
pageToken | string | The nextPageToken of the previous page. |
curl -s "https://www.fdagent.app/api/v1/raw/clinicaltrials/studies?query.cond=obesity&query.intr=semaglutide&pageSize=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/clinicaltrials/studies/{nctId}
One ClinicalTrials.gov study by NCT ID (API v2 /studies/{nctId}). MCP tool raw_clinicaltrials_study; rate bucket upstream.
ClinicalTrials.gov API v2 /studies/{nctId}, unmodified. fields narrows the record as the API documents it.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
nctId | string | yes | NCT number, e.g. NCT04379596. | |
fields | string | Comma-separated fields or pieces to return, e.g. NCTId,BriefTitle,OverallStatus; all fields when omitted. | ||
markupFormat | markdown, legacy | Format of markup fields: markdown (default) or legacy. |
curl -s "https://www.fdagent.app/api/v1/raw/clinicaltrials/studies/NCT04379596" \
-H "Authorization: Bearer $FDAGENT_API_KEY"AccessGUDID
GET /raw/gudid/devices/lookup
One AccessGUDID device record by DI, UDI or record key. MCP tool raw_gudid_device_lookup; rate bucket upstream.
AccessGUDID /devices/lookup.json, unmodified. Give exactly one of di, udi or record_key. AccessGUDID has no search API; search device identifiers with raw_openfda_device_udi.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
di | string | Device identifier (primary DI), e.g. 08717648200274. | ||
udi | string | A full UDI string, e.g. (01)08717648200274(17)141120(10)7654321D. | ||
record_key | string | Public device record key. |
curl -s "https://www.fdagent.app/api/v1/raw/gudid/devices/lookup?di=08717648200274" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/gudid/devices/history
An AccessGUDID device record's version history. MCP tool raw_gudid_device_history; rate bucket upstream.
AccessGUDID /devices/history.json, unmodified: every published version of one device record. Give exactly one of di, udi or record_key.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
di | string | Device identifier (primary DI), e.g. 08717648200274. | ||
udi | string | A full UDI string, e.g. (01)08717648200274(17)141120(10)7654321D. | ||
record_key | string | Public device record key. |
curl -s "https://www.fdagent.app/api/v1/raw/gudid/devices/history?di=08717648200274" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/gudid/parse_udi
Parse a UDI into its DI and production identifiers (AccessGUDID). MCP tool raw_gudid_parse_udi; rate bucket upstream.
AccessGUDID /parse_udi.json, unmodified: splits a GS1, HIBCC or ICCBBA UDI into DI, lot, serial number and dates.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
udi | string | yes | The full UDI string, e.g. (01)08717648200274(17)141120(10)7654321D. |
curl -s "https://www.fdagent.app/api/v1/raw/gudid/parse_udi?udi=%2801%2908717648200274%2817%29141120%2810%297654321D" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/gudid/devices/implantable/list
Implantable devices in AccessGUDID, paged. MCP tool raw_gudid_implantable_list; rate bucket upstream.
AccessGUDID /devices/implantable/list.json, unmodified: devices that are implantable or accessories to an implant, optionally limited to record versions dated between from_date and to_date.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer (1–) | Page number, from 1. | ||
per_page | integer (1–100) | Devices per page: 100 by default, at most 100. | ||
from_date | string | Earliest record version date, inclusive: YYYY-MM-DD or YYYYMMDD. | ||
to_date | string | Latest record version date, inclusive: YYYY-MM-DD or YYYYMMDD. |
curl -s "https://www.fdagent.app/api/v1/raw/gudid/devices/implantable/list?from_date=2024-01-01&to_date=2024-01-02&per_page=10" \
-H "Authorization: Bearer $FDAGENT_API_KEY"PubMed E-utilities
GET /raw/pubmed/esearch
Search PubMed or PMC for UIDs (E-utilities ESearch). MCP tool raw_pubmed_esearch; rate bucket upstream.
NCBI E-utilities esearch.fcgi with retmode=json, unmodified: the UIDs matching an Entrez query, with count and query translation (https://www.ncbi.nlm.nih.gov/books/NBK25499/). NCBI reports some errors inside a 200 response, as an ERROR field.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
db | pubmed, pmc | pubmed | Entrez database: pubmed (citations) or pmc (PubMed Central articles). | |
term | string | yes | Entrez query, e.g. semaglutide[tiab] AND randomized controlled trial[pt]. | |
retstart | integer (0–9998) | Index of the first UID to return. | ||
retmax | integer (0–9999) | UIDs to return: 20 by default. | ||
sort | string | pubmed: relevance, pub_date, Author, JournalName; pmc: the PMC sort orders. | ||
field | string | Limit the whole term to one search field, e.g. tiab. | ||
datetype | pdat, edat, mdat | Date the date filters apply to: publication, Entrez or modification. | ||
mindate | string | Start of the date range: YYYY, YYYY/MM or YYYY/MM/DD. | ||
maxdate | string | End of the date range; NCBI needs both bounds. | ||
reldate | integer (1–) | Only the last N days. |
curl -s "https://www.fdagent.app/api/v1/raw/pubmed/esearch?term=semaglutide%5Btiab%5D+AND+randomized+controlled+trial%5Bpt%5D&retmax=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/pubmed/esummary
Document summaries for PubMed or PMC UIDs (E-utilities ESummary). MCP tool raw_pubmed_esummary; rate bucket upstream.
NCBI E-utilities esummary.fcgi with retmode=json, unmodified: title, authors, journal and dates for each UID.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
db | pubmed, pmc | pubmed | Entrez database: pubmed (citations) or pmc (PubMed Central articles). | |
id | string | yes | Comma-separated UIDs, at most 200: PMIDs for pubmed, PMC ids (PMC prefix optional) for pmc. | |
retstart | integer (0–) | Index of the first summary. | ||
retmax | integer (1–200) | Summaries to return. |
curl -s "https://www.fdagent.app/api/v1/raw/pubmed/esummary?id=38581739%2C37952131" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/pubmed/efetch
Full records for PubMed or PMC UIDs (E-utilities EFetch). MCP tool raw_pubmed_efetch; rate bucket upstream.
NCBI E-utilities efetch.fcgi, unmodified. EFetch answers in XML or plain text, never JSON, so data is the response text and meta.contentType is NCBI's content type. citations has one entry per requested UID.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
db | pubmed, pmc | pubmed | Entrez database: pubmed (citations) or pmc (PubMed Central articles). | |
id | string | yes | Comma-separated UIDs, at most 200: PMIDs for pubmed, PMC ids (PMC prefix optional) for pmc. | |
rettype | xml, abstract, medline, uilist | Record format: xml (default), abstract or medline (with retmode=text), uilist. | ||
retmode | xml, text | xml (default) or text. |
curl -s "https://www.fdagent.app/api/v1/raw/pubmed/efetch?id=38581739" \
-H "Authorization: Bearer $FDAGENT_API_KEY"CMS CLIA
GET /raw/cms/clia/labs
CLIA laboratories from the CMS Provider of Services file (data.cms.gov). MCP tool raw_cms_clia_labs; rate bucket upstream.
Rows of the data.cms.gov Provider of Services File - Clinical Laboratories dataset (the one the fdagent CLI uses for clia labs), unmodified, through the data.cms.gov data API: filter, keyword, column, sort, size and offset work as that API documents them (https://data.cms.gov/api-docs).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
filter | string | data.cms.gov filters as a query string, e.g. filter[STATE_CD]=VT&filter[FAC_NAME][value]=QUEST&filter[FAC_NAME][operator]=CONTAINS (URL-encode it when it goes in a REST query string). Only filter[...] keys are accepted. | ||
keyword | string | Keyword matched against every column. | ||
column | string | Comma-separated columns to return, e.g. PRVDR_NUM,FAC_NAME,STATE_CD. | ||
sort | string | Column to sort by; prefix with - for descending, e.g. -CRTFCTN_DT. | ||
size | integer (1–5000) | Rows to return: data.cms.gov defaults to 1000; at most 5000 here. | ||
offset | integer (0–) | Rows to skip. |
curl -s "https://www.fdagent.app/api/v1/raw/cms/clia/labs?filter=filter%5BSTATE_CD%5D%3DVT&size=5" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/cms/clia/labs/stats
Row counts for a CLIA laboratories query (data.cms.gov). MCP tool raw_cms_clia_labs_stats; rate bucket upstream.
data.cms.gov /data/stats for the CLIA laboratories dataset, unmodified: found_rows for the filter and keyword, and total_rows.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
filter | string | data.cms.gov filters as a query string, e.g. filter[STATE_CD]=VT&filter[FAC_NAME][value]=QUEST&filter[FAC_NAME][operator]=CONTAINS (URL-encode it when it goes in a REST query string). Only filter[...] keys are accepted. | ||
keyword | string | Keyword matched against every column. |
curl -s "https://www.fdagent.app/api/v1/raw/cms/clia/labs/stats?filter=filter%5BSTATE_CD%5D%3DVT" \
-H "Authorization: Bearer $FDAGENT_API_KEY"SEC EDGAR
GET /raw/sec/search
EDGAR full-text search (efts.sec.gov). MCP tool raw_sec_full_text_search; rate bucket upstream.
SEC EDGAR full-text search (efts.sec.gov/LATEST/search-index), unmodified: filings from 2001 on whose text matches q, 100 hits a page. citations has one entry per hit, pointing at the matched document.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
q | string | yes | Full-text query: phrases in double quotes, AND, OR and NOT, e.g. "complete response letter" AND PDUFA. | |
forms | string | Comma-separated form types, e.g. 8-K,10-Q. | ||
entityName | string | Company name, ticker or CIK filter. | ||
ciks | string | Comma-separated 10-digit CIKs. | ||
dateRange | all, 10y, 5y, 1y, 30d, custom | Filing date window; custom uses startdt and enddt. | ||
startdt | string | Filed on or after, YYYY-MM-DD (dateRange=custom). | ||
enddt | string | Filed on or before, YYYY-MM-DD (dateRange=custom). | ||
from | integer (0–9900) | Offset into the hits, in steps of 100. |
curl -s "https://www.fdagent.app/api/v1/raw/sec/search?q=%22complete+response+letter%22&forms=8-K" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/sec/submissions/{cik}
A company's EDGAR filing history (data.sec.gov submissions). MCP tool raw_sec_submissions; rate bucket upstream.
data.sec.gov/submissions/CIK##########.json, unmodified: the filer profile and its most recent filings, with links to older filing files.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cik | string | yes | Central Index Key, with or without leading zeros, e.g. 320193. |
curl -s "https://www.fdagent.app/api/v1/raw/sec/submissions/320193" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /raw/sec/companyfacts/{cik}
A company's XBRL financial facts (data.sec.gov companyfacts). MCP tool raw_sec_company_facts; rate bucket upstream.
data.sec.gov/api/xbrl/companyfacts/CIK##########.json, unmodified: every XBRL fact the company has reported. Large for big filers (several MB).
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cik | string | yes | Central Index Key, with or without leading zeros, e.g. 320193. |
curl -s "https://www.fdagent.app/api/v1/raw/sec/companyfacts/320193" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Ingested data
Data endpoints read the datasets FDAgent ingests into its own database: FDA inspections with their Form 483 PDF links, raw OCR text and parsed observations; Form 483 observations (FDA-published and parsed from PDFs, told apart by provenance); the reading-room 483 PDF index; warning letters with full text; compliance actions; the Orange Book and Purple Book; drug establishment registrations from DRLS; FDA import alerts with their firm entries, and import refusals; the FDA debarment lists and clinical investigator disqualification proceedings; and FDAgent's company entity graph with every link's evidence and review state. Only exact identifiers link these list records to a facility: an import refusal by the FEI FDA recorded on it, an import alert entry only when FDA printed the firm's own FEI with it (matchBasis fei_printed_with_firm). Other alert entries, debarments and clinical investigators are matched by name only, never confirmed by FEI. A row found through a name filter carries possibleMatch: true: a possible match to review, never the facility's, company's or person's record, to cite as "Possible match: review" with its FDA source link. Start at GET /data/catalog, which lists each dataset's fields, filters, source, coverage dates and last refresh. Drug shortages are not ingested; use GET /tools/drugs/shortages.
Lists page with an opaque cursor: limit up to 100, and send page.nextCursor back as cursor with the same filters until it is null. Each filter runs on one database index, so filters that don't share an index are rejected rather than scanned; each parameter says which index it uses. Every row carries _citation with the FDAgent row id, the FDA identifiers it holds, the canonical FDA URL when stored, its provenance (for example fda_api or 483_pdf_parsed), and when FDAgent ingested and last updated it. 483 search spends the upstream allowance because it calls the embedding service; the rest spend data.
Catalog
GET /data/catalog
Every ingested dataset: fields, source, coverage and freshness. MCP tool data_catalog; rate bucket data.
The datasets FDAgent ingests and serves under /data: what each holds, its endpoints (with their own fields when an endpoint's rows differ from the dataset's, such as import alert firm entries), fields (with the filters and sort each list supports), upstream source, coverage dates (min and max of the main date field, read from the ends of its index; the Purple Book's approval dates are text, so they are parsed from every row), row count where FDAgent maintains one, and when it was last refreshed (from each ingest job's run record). Drug shortages are not ingested; use GET /tools/drugs/shortages.
curl -s "https://www.fdagent.app/api/v1/data/catalog" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Inspections
GET /data/inspections
FDA inspections. MCP tool data_inspections; rate bucket data.
One row per FDA inspection from the FDA Data Dashboard, with the Form 483 PDF link, the raw OCR text of the 483 (form483Content) and its parsed observations (form483Parsed) where FDAgent has them. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fdaInspectionId | string | FDA's inspection id: exact match on fdaInspectionId as stored (index by_fda_inspection_id). | ||
fei | string | FDA Establishment Identifier: exact match on fei as stored (index by_fei_and_date). | ||
firm | string | Firm name as FDA lists it: exact match on firmName as stored (index by_firm_and_date). | ||
classification | OAI, VAI, NAI, Pending | Outcome: OAI, VAI, NAI or Pending: exact match on classification as stored (index by_classification). | ||
productType | string | Product type, e.g. Drugs, Devices, Biologics: exact match on productType as stored (index by_product_type). | ||
programArea | string | FDA program area: exact match on programArea as stored (index by_program_area). | ||
since | string | Only rows with inspectionEndTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_end_date with no filter, or with fei, firm, classification, productType, programArea. | ||
until | string | Only rows with inspectionEndTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_end_date with no filter, or with fei, firm, classification, productType, programArea. | ||
order | asc, desc | desc | Sort direction by inspectionEndTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/inspections?fei=3002807522&since=2020-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/inspections/{id}
One FDA inspection with its 483. MCP tool data_inspection; rate bucket data.
The full inspection row: the Form 483 PDF link (form483Url), the raw OCR text (form483Content), the parsed observations (form483Parsed) and up to 200 observation rows from the 483 observations dataset. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/inspections/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Form 483 observations
GET /data/483/observations
Form 483 observations and citations. MCP tool data_483_observations; rate bucket data.
Form 483 observations and citations: FDA-published citations from the Data Dashboard (source fda_api) and observations FDAgent parsed from 483 PDFs (source 483_pdf_parsed, ids parsed::). Parsed rows are validated against the PDF's OCR text and never rewritten. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fdaInspectionId | string | FDA's inspection id: exact match on fdaInspectionId as stored (index by_fda_inspection_id). | ||
inspectionId | string | FDAgent inspection row id (parsed rows): exact match on inspectionId as stored (index by_inspection). | ||
fei | string | FDA Establishment Identifier: exact match on fei as stored (index by_fei). | ||
programArea | string | FDA program area: exact match on programArea as stored (index by_program_area). | ||
provenance | string | Provenance: fda_api (FDA-published) or 483_pdf_parsed (parsed by FDAgent): exact match on source as stored (index by_source). | ||
since | string | Only rows with importedAt on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_imported_at with no filter. | ||
until | string | Only rows with importedAt on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_imported_at with no filter. | ||
order | asc, desc | desc | Sort direction by importedAt when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/483/observations?fei=3002807522" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/483/observations/{id}
One Form 483 observation. MCP tool data_483_observation; rate bucket data.
The full observation row with its provenance (fda_api or 483_pdf_parsed) and a summary of its inspection, including the 483 PDF link. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/483/observations/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/483/search
Semantic and keyword search over Form 483 text. MCP tool data_483_search; rate bucket upstream.
Search the text of Form 483 observations and of whole 483 documents (OCR text) with FDAgent's retrieval engine, the one its research agent uses: keyword search on Convex plus semantic search on FDAgent's embedding index, fused, then every hit re-read from the canonical row. Each hit's excerpt is an exact substring of the stored text. Returns up to 20 hits per source and is never exhaustive; meta.search says per source how the search ran and why it may be partial.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | yes | What to look for, up to 1000 characters. | |
scope | all, observations, inspections | all | observations searches individual 483 observations; inspections searches whole 483 documents (OCR text); all searches both. | |
mode | hybrid, keyword, semantic | hybrid | hybrid fuses keyword and semantic ranks. Server configuration can force keyword. | |
fei | string | Only this FDA Establishment Identifier (digits). | ||
since | string | Inspection end date on or after (YYYY-MM-DD). | ||
until | string | Inspection end date on or before (YYYY-MM-DD). | ||
productType | string | Drugs, Devices, Biologics or Veterinary (observations), or the product type label (inspections). | ||
classification | OAI, VAI, NAI, Pending | Inspection classification (scope=inspections only). | ||
cfr | string | CFR reference, e.g. 211.192 (scope=observations only). | ||
provenance | string | Row source, e.g. 483_pdf_parsed or fda_api. |
curl -s "https://www.fdagent.app/api/v1/data/483/search?query=inadequate+investigation+of+out-of-specification+results&scope=observations" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Form 483 PDFs
GET /data/483/pdfs
Form 483 PDFs in the FDA reading room. MCP tool data_483_pdfs; rate bucket data.
Form 483 PDFs listed in FDA's OII FOIA Electronic Reading Room, by FEI and record date, with the PDF link. The OCR text of a matched PDF is on the inspection record (form483Content). Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fei | string | FDA Establishment Identifier: exact match on fei as stored (index by_fei_and_date). | ||
since | string | Only rows with recordDateTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_record_date with no filter, or with fei. | ||
until | string | Only rows with recordDateTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_record_date with no filter, or with fei. | ||
order | asc, desc | desc | Sort direction by recordDateTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/483/pdfs?since=2025-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Warning letters
GET /data/warning-letters
FDA warning letters. MCP tool data_warning_letters; rate bucket data.
Warning letters FDA posts on fda.gov, with metadata and, on the record endpoint, the full letter text (letterContent) and HTML. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
marcsCmsId | string | FDA's letter id (MARCS-CMS): exact match on marcsCmsId as stored (index by_marcs_id). | ||
company | string | Recipient company as FDA lists it: exact match on companyName as stored (index by_company). | ||
issuingOffice | string | Issuing office: exact match on issuingOffice as stored (index by_office_and_date). | ||
productType | string | Product type: exact match on productType as stored (index by_product_type_and_date). | ||
since | string | Only rows with issueDateTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_issue_timestamp with no filter, or with issuingOffice and/or productType. | ||
until | string | Only rows with issueDateTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_issue_timestamp with no filter, or with issuingOffice and/or productType. | ||
order | asc, desc | desc | Sort direction by issueDateTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/warning-letters?productType=Drugs&since=2025-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/warning-letters/{id}
One warning letter with its full text. MCP tool data_warning_letter; rate bucket data.
The full warning letter row, with the letter text (letterContent) and HTML. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/warning-letters/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Compliance actions
GET /data/compliance-actions
FDA compliance actions. MCP tool data_compliance_actions; rate bucket data.
Compliance actions from the FDA Data Dashboard (warning letters, injunctions, seizures and others) by firm and FEI. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
caseId | string | FDA's case id: exact match on caseId as stored (index by_case_id). | ||
fei | string | FDA Establishment Identifier: exact match on fei as stored (index by_fei). | ||
firm | string | Firm legal name: exact match on legalName as stored (index by_legal_name). | ||
actionType | string | Action type as published, e.g. Warning Letter, Injunction, Seizure: exact match on actionType as stored (index by_action_type). | ||
productType | string | Product type: exact match on productType as stored (index by_product_type). | ||
center | string | FDA center, e.g. CDER, CDRH: exact match on center as stored (index by_center). | ||
since | string | Only rows with actionTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_action_date with no filter, or with actionType, productType, center. | ||
until | string | Only rows with actionTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_action_date with no filter, or with actionType, productType, center. | ||
order | asc, desc | desc | Sort direction by actionTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/compliance-actions?center=CDER&since=2024-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/compliance-actions/{id}
One compliance action. MCP tool data_compliance_action; rate bucket data.
The full compliance action row. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/compliance-actions/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Orange Book
GET /data/orange-book/products
Orange Book products. MCP tool data_orange_book_products; rate bucket data.
FDA's Approved Drug Products with Therapeutic Equivalence Evaluations: products, and on the record endpoint the product's patents and exclusivities. Names are stored as FDA publishes them (upper case). Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
applType | N, A | Application type: N (NDA) or A (ANDA): exact match on applType as stored (index by_appl). | ||
applNo | string | Application number, zero-padded to six digits: exact match on applNo as stored (index by_appl). | ||
tradeName | string | Trade name: exact match on tradeName as stored (index by_trade_name). | ||
ingredient | string | Active ingredient(s): exact match on ingredient as stored (index by_ingredient). | ||
since | string | Only rows with approvalDateTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_approval_date with no filter. | ||
until | string | Only rows with approvalDateTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_approval_date with no filter. | ||
order | asc, desc | desc | Sort direction by approvalDateTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/orange-book/products?ingredient=ATORVASTATIN+CALCIUM" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/orange-book/products/{id}
One Orange Book product with patents and exclusivities. MCP tool data_orange_book_product; rate bucket data.
The full Orange Book product row with up to 200 of the product's patents and exclusivities. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/orange-book/products/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Purple Book
GET /data/purple-book/products
Purple Book products. MCP tool data_purple_book_products; rate bucket data.
FDA's Purple Book of licensed biological products, biosimilars and interchangeables, and on the record endpoint the reference product's patents. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
blaNumber | string | BLA number: exact match on blaNumber as stored (index by_bla). | ||
applicant | string | Applicant: exact match on applicant as stored (index by_applicant). | ||
proprietaryName | string | Proprietary name: exact match on proprietaryName as stored (index by_proprietary_name). | ||
properName | string | Proper name: exact match on properName as stored (index by_proper_name). | ||
referenceProperName | string | Reference product proper name (biosimilars): exact match on refProductProperName as stored (index by_ref_proper_name). | ||
order | asc, desc | desc | Sort direction in index order (creation time when no filter is given). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/purple-book/products?referenceProperName=adalimumab" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/purple-book/products/{id}
One Purple Book product with patents. MCP tool data_purple_book_product; rate bucket data.
The full Purple Book product row with up to 200 patents listed for its BLA as a reference product. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/purple-book/products/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Drug establishment registrations
GET /data/drug-establishments
Drug establishment registrations (DRLS). MCP tool data_drug_establishments; rate bucket data.
Drug establishments in FDA's Drug Registration and Listing System (DRLS) registration file: one row per establishment with its FEI and DUNS, address, registered operations, registration expiration date, US agent and registrant. Rows FDA's current file lists have registered: true. An establishment that has left the file keeps its last registration data with registered: false, lastSeenAt and deregisteredAt, so rowCount covers both. Establishment contact names and emails are left out. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fei | string | FDA Establishment Identifier: exact match on feiNumber as stored (index by_fei). | ||
firm | string | Establishment name as FDA lists it: exact match on firmName as stored (index by_firm_name). | ||
state | string | State code read from the address, e.g. NJ: exact match on state as stored (index by_country_and_state (with country)). | ||
country | string | Country name, e.g. United States: exact match on country as stored (index by_country). | ||
since | string | Only rows with expirationTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_expiration with no filter. | ||
until | string | Only rows with expirationTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_expiration with no filter. | ||
order | asc, desc | desc | Sort direction by expirationTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/drug-establishments?country=United+States&state=NJ" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/drug-establishments/{id}
One drug establishment registration. MCP tool data_drug_establishment; rate bucket data.
The full registration row, without the establishment contact name and email. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/drug-establishments/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Import alerts
GET /data/import-alerts
FDA import alerts. MCP tool data_import_alerts; rate bucket data.
FDA import alerts FDAgent covers (drug, biologic, device and radiological alerts, and the multi-industry 99-xx alerts) from FDA's import alert pages, and the firm entries on each alert's Red, Green and Yellow lists (/data/import-alerts/entries). Only an entry with matchBasis fei_printed_with_firm carries the firm's own FEI (fei); every other entry is name_only: FDA's firm name, listed address and country, so matching it to a facility or firm by name is a possible match to review, never a fact about it. printedFeis are never links: most belong to shippers and importers. Coverage dates are the entries' Date Published. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
alertNumber | string | FDA's import alert number, e.g. 66-41: exact match on alertNumber as stored (index by_alert_number). | ||
order | asc, desc | desc | Sort direction in index order (creation time when no filter is given). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/import-alerts?alertNumber=66-41" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/import-alerts/entries
Firm entries on FDA import alert lists. MCP tool data_import_alert_entries; rate bucket data.
FDA import alerts FDAgent covers (drug, biologic, device and radiological alerts, and the multi-industry 99-xx alerts) from FDA's import alert pages, and the firm entries on each alert's Red, Green and Yellow lists (/data/import-alerts/entries). Only an entry with matchBasis fei_printed_with_firm carries the firm's own FEI (fei); every other entry is name_only: FDA's firm name, listed address and country, so matching it to a facility or firm by name is a possible match to review, never a fact about it. printedFeis are never links: most belong to shippers and importers. Coverage dates are the entries' Date Published. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entryKey | string | FDAgent's stable key for the entry: alert number, list, firm name, address and occurrence: exact match on entryKey as stored (index by_entry_key). | ||
alertNumber | string | FDA's import alert number, e.g. 66-41: exact match on alertNumber as stored (index by_alert). | ||
list | red, green, yellow | The alert's list the entry is on: red, green or yellow: exact match on list as stored (index by_alert (with alertNumber)). | ||
firm | string | Exact name key match on nameKey (index by_name_key): the firm you give must equal FDA's firm name once both ignore case, spacing and punctuation; nothing fuzzier. A name alone, not confirmed by FEI or any other identifier, so every row it returns is a possible match to review and carries possibleMatch: true, never a fact about the firm or person you named. | ||
fei | string | The listed firm's own FEI, set only when matchBasis is fei_printed_with_firm; the one field that links an entry to a facility. name_only entries have none, so an fei lookup never returns them: exact match on fei as stored (index by_fei). | ||
since | string | Only rows with publishTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_publish_date with no filter. | ||
until | string | Only rows with publishTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_publish_date with no filter. | ||
order | asc, desc | desc | Sort direction by publishTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/import-alerts/entries?alertNumber=66-41&list=red" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/import-alerts/{id}
One FDA import alert. MCP tool data_import_alert; rate bucket data.
The full import alert row: FDA's title, type, reason, charge, page link and how many firm entries each list holds. Its firm entries are at /data/import-alerts/entries?alertNumber=. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/import-alerts/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/import-alerts/entries/{id}
One firm entry on an FDA import alert list. MCP tool data_import_alert_entry; rate bucket data.
The full firm entry with every product FDA lists for it. matchBasis says whether FDA printed the firm's own FEI (fei_printed_with_firm, fei set) or the entry is name_only, which ties to a facility or firm only as a possible match to review, never as a fact; printedFeis are never links. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/import-alerts/entries/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Import refusals
GET /data/import-refusals
FDA import refusals. MCP tool data_import_refusals; rate bucket data.
FDA import refusals of drugs, biologics, devices and radiological products from the FDA Data Dashboard, one row per refused shipment line, with the FEI FDA recorded for the firm, the product, the import division and the charges (FDA's charge id with its OASIS code and FD&C Act section). The FEI on the row is what links a refusal to a facility. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
shipmentId | string | FDA's shipment id for the refused line, e.g. AEK-2208618-4/80003/1: exact match on shipmentId as stored (index by_shipment_id). | ||
fei | string | FDA Establishment Identifier FDA recorded for the firm on the refusal: exact match on fei as stored (index by_fei). | ||
since | string | Only rows with refusalTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_refusal_date with no filter, or with fei. | ||
until | string | Only rows with refusalTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_refusal_date with no filter, or with fei. | ||
order | asc, desc | desc | Sort direction by refusalTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/import-refusals?fei=3003157498&since=2026-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/import-refusals/{id}
One FDA import refusal. MCP tool data_import_refusal; rate bucket data.
The full import refusal row with its charges. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/import-refusals/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Debarment lists
GET /data/debarments
FDA debarment lists. MCP tool data_debarments; rate bucket data.
People and firms on the FDA Debarment Lists under FD&C Act section 306: drug product applications (current and expired) and drug imports, with each Federal Register notice. FDA prints no FEI or other identifier for them, so a row found by a name, exact or not, is a possible match to review (possibleMatch: true), never a fact about the person you named; FDA's note says who a person is not to be confused with. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Exact name key match on nameKey (index by_name_key): the name you give must equal FDA's printed name once both ignore case, spacing and punctuation; nothing fuzzier. A name alone, not confirmed by FEI or any other identifier, so every row it returns is a possible match to review and carries possibleMatch: true, never a fact about the firm or person you named. | ||
since | string | Only rows with effectiveTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_effective_date with no filter. | ||
until | string | Only rows with effectiveTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_effective_date with no filter. | ||
order | asc, desc | desc | Sort direction by effectiveTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/debarments?since=2024-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/debarments/{id}
One FDA debarment list entry. MCP tool data_debarment; rate bucket data.
The full debarment entry with every Federal Register notice and FDA's not-to-be-confused-with note. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/debarments/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Clinical investigator disqualifications
GET /data/clinical-investigators
Clinical investigator disqualification proceedings. MCP tool data_clinical_investigators; rate bucket data.
Clinical investigators in FDA's Clinical Investigators - Disqualification Proceedings database, one row per FDA record with FDA's status as printed (Disqualified, Restricted, Adequate Assurances...) and its letters. People, not facilities: FDA prints no FEI or other identifier, so a row found by a name, exact or not, is a possible match to review (possibleMatch: true), never a fact about the person you named. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fdaRecordId | string | FDA's record id in the database (the id of its detail page): exact match on fdaRecordId as stored (index by_fda_record_id). | ||
name | string | Exact name key match on nameKey (index by_name_key): the name you give must equal FDA's printed name (Last, First, Degree) once both ignore case, spacing and punctuation; nothing fuzzier. A name alone, not confirmed by FEI or any other identifier, so every row it returns is a possible match to review and carries possibleMatch: true, never a fact about the firm or person you named. | ||
since | string | Only rows with statusTimestamp on or after this date (YYYY-MM-DD, UTC). Runs as an index range on by_status_date with no filter. | ||
until | string | Only rows with statusTimestamp on or before this date (YYYY-MM-DD, UTC). Runs as an index range on by_status_date with no filter. | ||
order | asc, desc | desc | Sort direction by statusTimestamp when no filter or a date-ranged filter is given; other filters return rows in index order (newest stored first for desc). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/clinical-investigators?since=2020-01-01" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/clinical-investigators/{id}
One clinical investigator disqualification record. MCP tool data_clinical_investigator; rate bucket data.
The full FDA record with its status, dates and letter links. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/clinical-investigators/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Entity graph
GET /data/entities
Canonical companies. MCP tool data_entities; rate bucket data.
FDAgent's canonical companies and the evidence links that tie FDA identifiers (FEI, DUNS, legal and sponsor names, email domains, subsidiaries) to them. Every link carries its evidence type (source), the evidence text, a confidence, and its review state: only confirmed links resolve; pending links await human review; rejected links are kept as the audit trail. Name similarity never merges on its own. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Canonical company name: exact match on name as stored (index search_name (full-text, relevance order)). | ||
slug | string | Unique lookup key: exact match on slug as stored (index by_slug). | ||
parentId | string | Parent company (subsidiary edge): exact match on parentEntityId as stored (index by_parent). | ||
order | asc, desc | desc | Sort direction in index order (creation time when no filter is given). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/entities?name=Pfizer" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/entity-links
Entity links with provenance and review state. MCP tool data_entity_links; rate bucket data.
FDAgent's canonical companies and the evidence links that tie FDA identifiers (FEI, DUNS, legal and sponsor names, email domains, subsidiaries) to them. Every link carries its evidence type (source), the evidence text, a confidence, and its review state: only confirmed links resolve; pending links await human review; rejected links are kept as the audit trail. Name similarity never merges on its own. Filters run on one index at a time; combining filters that do not share an index is rejected. Every row carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entityId | string | The canonical entity the link points to: exact match on entityId as stored (index by_entity). | ||
linkType | fei, duns, legal_name, sponsor_name, email_domain, lineage | What the value is: exact match on linkType as stored (index by_type_value). | ||
value | string | Normalized identifier (digits for FEI/DUNS, normalized names, lowercase domains): exact match on value as stored (index by_type_value (with linkType)). | ||
status | pending, confirmed, rejected | Review state: pending, confirmed or rejected: exact match on status as stored (index by_status (ordered by createdAt)). | ||
order | asc, desc | desc | Sort direction in index order (creation time when no filter is given). | |
limit | integer (1–100) | 25 | Rows per page. Default 25, at most 100. A page can hold fewer rows when its rows are large; keep paging until page.nextCursor is null. | |
cursor | string | page.nextCursor from the previous page, sent with the same filters. Omit for the first page. |
curl -s "https://www.fdagent.app/api/v1/data/entity-links?status=pending" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/entities/{id}
One company with its links, parent and subsidiaries. MCP tool data_entity; rate bucket data.
The canonical company with up to 200 links (each with evidence type, evidence text, confidence and review state; linksTruncated says when there are more, page them with /data/entity-links?entityId=), its parent and its subsidiaries. Reviewer identities and notes are not exposed. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/entities/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"GET /data/entity-links/{id}
One entity link with its review history. MCP tool data_entity_link; rate bucket data.
The link with its provenance, review state and its append-only review decisions (action, reviewer role, status before and after, evidence, time). Reviewer identities and notes are not exposed. The record carries _citation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id | string | yes | FDAgent row id (_id) |
curl -s "https://www.fdagent.app/api/v1/data/entity-links/%3Cid%3E" \
-H "Authorization: Bearer $FDAGENT_API_KEY"Account
GET /me
The calling key and its recent usage. MCP tool me; rate bucket data.
The API key making the request (name, visible prefix, scope, per-minute limits) and its request and error counts per day and endpoint. A cheap way to check a key works.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
days | integer (1–90) | 7 | Days of usage to return, today included. |
curl -s "https://www.fdagent.app/api/v1/me?days=7" \
-H "Authorization: Bearer $FDAGENT_API_KEY"