faers_raw_search
Run arbitrary Lucene queries against the FAERS drug adverse event endpoint, with automatic validation of quotes, parentheses, and syntax before execution.
Instructions
Escape hatch: run an arbitrary Lucene query against the FAERS endpoint.
The query is checked for balanced quotes and parentheses and for the "+AND+" mistake before being sent; the same compact projection and ceilings apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Return complete records rather than compact cards. | |
| skip | No | Pagination offset (openFDA ceiling 25000). | |
| sort | No | e.g. 'receivedate:desc'. | |
| count | No | Field to aggregate by. When set, results are {term, count} rows instead of records. | |
| limit | No | Records or count rows to return. | |
| search | Yes | Raw Lucene query, e.g. 'patient.patientsex:2 AND serious:1'. Join clauses with spaces (" AND ", " OR "), never "+AND+". | |
| drug_name | No | Optional substance to annotate on each returned card as suspect_verified (true when carried in a suspect role on that record). Annotates only; does not filter. Use faers_search_cases with role_basis='suspect_verified' to filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||