# Device adverse events: malfunctions

**Use case:** 

MAUDE reports classified as device malfunctions — the largest category and the earliest failure signal.

## Input

```json
{
  "dataset": "device-adverse-events",
  "searchTerm": "insulin",
  "firmName": "Medtronic",
  "maxRecords": 400,
  "sortBy": "newest",
  "lastNDays": 90,
  "dateFrom": "2026-01-01",
  "dateTo": "2026-12-31",
  "classification": "Class I",
  "recallStatus": "Ongoing",
  "state": "CA",
  "country": "United States",
  "seriousOnly": true,
  "deathsOnly": true,
  "reaction": "ANAPHYLACTIC REACTION",
  "searchQuery": "event_type:\"Malfunction\"",
  "apiKey": "***"
}
```

## Output

```json
{
  "recordId": {
    "label": "Record ID",
    "format": "string"
  },
  "primaryDate": {
    "label": "Primary date",
    "format": "string"
  },
  "serious": {
    "label": "Serious",
    "format": "boolean"
  },
  "seriousnessDeath": {
    "label": "Death",
    "format": "boolean"
  },
  "reactions": {
    "label": "Reactions",
    "format": "array"
  },
  "medicinalProducts": {
    "label": "Medicinal products",
    "format": "array"
  },
  "deviceBrandNames": {
    "label": "Device brand names",
    "format": "array"
  },
  "eventType": {
    "label": "Event type",
    "format": "string"
  },
  "patientSex": {
    "label": "Patient sex",
    "format": "string"
  },
  "patientOnsetAge": {
    "label": "Patient age at onset",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [openFDA Scraper · Drug Events, Recalls, Labels & Devices](https://apify.com/reapx/openfda-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/reapx/openfda-scraper) to learn more, explore other use cases, and run it yourself.