{
  "openapi": "3.0.1",
  "info": {
    "title": "FDA Medical Device Recalls",
    "description": "Search public U.S. FDA medical-device recalls by phrase, firm, class, status, area, or date. Get structured recall evidence with lifecycle dates, risk context, and official source links.",
    "version": "0.0",
    "x-build-id": "zvofykZoMQQlXnUO6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maximedupre~fda-medical-device-recalls/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maximedupre-fda-medical-device-recalls",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/maximedupre~fda-medical-device-recalls/runs": {
      "post": {
        "operationId": "runs-sync-maximedupre-fda-medical-device-recalls",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/maximedupre~fda-medical-device-recalls/run-sync": {
      "post": {
        "operationId": "run-sync-maximedupre-fda-medical-device-recalls",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "searchQuery"
        ],
        "properties": {
          "searchQuery": {
            "title": "Search phrase",
            "minLength": 1,
            "type": "string",
            "description": "Enter one device, product, or recall-reason phrase. Run a separate search for another phrase."
          },
          "recallingFirms": {
            "title": "Recalling firms",
            "type": "array",
            "description": "Optional. Enter one or more recalling firms to filter the results.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "recallClasses": {
            "title": "Recall classes",
            "type": "array",
            "description": "Optional. Choose one or more FDA recall classes. Leave empty to include all classes.",
            "items": {
              "type": "string",
              "enum": [
                "Class I",
                "Class II",
                "Class III"
              ],
              "enumTitles": [
                "Class I",
                "Class II",
                "Class III"
              ]
            }
          },
          "recallStatuses": {
            "title": "Recall statuses",
            "type": "array",
            "description": "Optional. Choose one or more recall statuses. Leave empty to include all statuses.",
            "items": {
              "type": "string",
              "enum": [
                "Ongoing",
                "Completed",
                "Terminated"
              ],
              "enumTitles": [
                "Ongoing",
                "Completed",
                "Terminated"
              ]
            }
          },
          "distributionAreas": {
            "title": "Distribution areas",
            "type": "array",
            "description": "Optional. Enter one or more states, regions, or distribution terms to filter by geography.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "startDate": {
            "title": "Start date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional. Include recalls on or after this calendar date. Use YYYY-MM-DD."
          },
          "endDate": {
            "title": "End date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional. Include recalls on or before this calendar date. Use YYYY-MM-DD."
          },
          "maxItems": {
            "title": "Maximum recalls",
            "minimum": 1,
            "type": "integer",
            "description": "Optional. Stop after this many matching recalls. If you leave it blank, the Actor continues until the FDA source is exhausted."
          },
          "groupBy": {
            "title": "Group results by",
            "enum": [
              "recallClass",
              "recallStatus",
              "riskTier",
              "activity",
              "failureMode",
              "recallingFirm"
            ],
            "type": "string",
            "description": "Optional. Choose one dimension for counts, ranks, and shares. Leave blank for no grouped breakdown."
          },
          "deviceInventory": {
            "title": "Device inventory",
            "minItems": 1,
            "type": "array",
            "description": "Optional. Add devices to compare with matching recalls. A match is a review signal, not proof that a model, lot, serial number, or patient is affected.",
            "items": {
              "type": "object",
              "properties": {
                "deviceName": {
                  "title": "Device name",
                  "type": "string",
                  "description": "Name or product description for this inventory item.",
                  "editor": "textfield",
                  "minLength": 1
                },
                "manufacturer": {
                  "title": "Manufacturer",
                  "type": "string",
                  "description": "Manufacturer name, if known.",
                  "editor": "textfield",
                  "minLength": 1
                },
                "model": {
                  "title": "Model",
                  "type": "string",
                  "description": "Model or catalog model, if known.",
                  "editor": "textfield",
                  "minLength": 1
                },
                "catalogNumber": {
                  "title": "Catalog number",
                  "type": "string",
                  "description": "Catalog or product number, if known.",
                  "editor": "textfield",
                  "minLength": 1
                },
                "lotNumber": {
                  "title": "Lot number",
                  "type": "string",
                  "description": "Lot or batch number, if known.",
                  "editor": "textfield",
                  "minLength": 1
                },
                "serialNumber": {
                  "title": "Serial number",
                  "type": "string",
                  "description": "Serial number, if known.",
                  "editor": "textfield",
                  "minLength": 1
                }
              },
              "required": [
                "deviceName"
              ]
            }
          },
          "trackChanges": {
            "title": "Track changes",
            "type": "boolean",
            "description": "Optional. Compare this search with earlier runs that use the same search settings and report new or unchanged records with prior status, classification, and risk context."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}