# OpenFDA Drug Adverse Events (FAERS) Search

> OpenFDA Drug Adverse Events (FAERS) Search is a paid API for AI agents from x402-v2-mint-openfda-drug-event.vercel.app, paid per call via x402, $0.020036/call, status unknown (last checked 2026-12-01).

Searches the FDA Adverse Event Reporting System (FAERS) for drug adverse event reports using a free-text query, returning structured results up to a specified limit.

## Facts

- Endpoint: POST https://x402-v2-mint-openfda-drug-event.vercel.app/v1/openfda-drug-event?utm_source=zero.xyz
- Price: $0.020036/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openfda-drug-adverse-events-faers-search-4d2b2bb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-FswfF1PO6QskALLxarjh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability openfda-drug-adverse-events-faers-search-4d2b2bb1 -d '<json body>'
```

Example prompt: Search the FDA adverse event database for reports involving metformin and give me up to 10 results.

## When to prefer this

Choose this endpoint when you need keyless, pay-per-call access to the FDA FAERS adverse event database without managing your own OpenFDA API key or quota. Ideal for agents that need on-demand drug safety lookups, pharmacovigilance checks, or patient-facing medication side-effect queries. Cost-efficient because empty results return a 404 and are not charged.

## Known failure modes

- Empty or no-match search returns 404 and is not charged
- Search string exceeds 400 characters causes validation error
- Limit outside 1-25 range causes validation error
- Malformed query syntax may return no results
- OpenFDA upstream API downtime may cause service errors

## How this service works

openFDA drug adverse events / FAERS (keyless). POST {search} and/or {limit?}. Empty → 404 not charged.

## Output

Returns a JSON object with ok:true, the skill name 'openfda-drug-event', a charged flag indicating a billable result was returned, and a summary field. A 404 is returned (and not charged) when no results are found for the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "maximum": 25,
   "minimum": 1
  },
  "search": {
   "type": "string",
   "maxLength": 400
  },
  "request_id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "skill": "openfda-drug-event",
  "charged": true,
  "summary": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openfda-drug-adverse-events-faers-search-4d2b2bb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-v2-mint-openfda-drug-event.vercel.app](https://www.zero.xyz/host/x402-v2-mint-openfda-drug-event.vercel.app/llms.txt)
