# FDA PMA Class III Medical Device Approvals Scraper (`groundplanes/openfda-pma-class3-medtech-scraper`) Actor

Scrape official FDA Premarket Approval (PMA) Class III medical device approvals, supplements, sponsor details, and review duration from openFDA. Keyless or with free API key.

- **URL**: https://apify.com/groundplanes/openfda-pma-class3-medtech-scraper.md
- **Developed by:** [Groundplane Labs](https://apify.com/groundplanes) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 approvals

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## FDA Premarket Approval (PMA) Class III Medical Device Approvals Scraper

Extract official FDA Premarket Approval (PMA) Class III medical device approvals, supplements, sponsor details, and review duration from the openFDA REST API (`https://api.fda.gov/device/pma.json`). Keyless, official FDA integration with optional free API key support.

> This actor is an independent product and is not affiliated with, endorsed by, or sponsored by the US Food and Drug Administration (FDA) or the US Department of Health and Human Services (HHS).

### What it does

- **Class III Device Approvals:** Tracks high-risk, life-sustaining, and implantable medical devices subject to full Premarket Approval (PMA) regulation.
- **Originals vs. Supplements:** Distinguishes between new market clearances (Original PMAs) and post-approval modifications (e.g. 30-Day Notices, 180-Day Track Supplements, Panel Track Supplements).
- **Review Timelines:** Calculates exact review duration (`reviewDurationDays`) between FDA receipt date and decision date.
- **Advisory Panels & Decisions:** Filters across 20 FDA advisory committee panels (Cardiovascular, Orthopedic, Neurological, Gastroenterology/Urology, Ophthalmic, etc.) and decision disposition codes (APPR, APCV, OK30, etc.).
- **Drift & Sentinel Protection:** Built with openFDA baseline sentinels; distinguishes between valid zero-match queries and upstream API schema drift.

### Who it's for

- **MedTech Competitive Intelligence:** Monitor competitor PMA clearances, manufacturing change supplements, and approval cycle speeds across therapy areas.
- **Regulatory Affairs Specialists:** Benchmark FDA review durations and supplemental filing pathways for Class III device submissions.
- **Life Sciences Investors & Analysts:** Track milestone FDA decision dates, pipeline product codes, and sponsor portfolio expansions.
- **Medical Device Attorneys & Compliance Teams:** Audit original approval statements, device classifications, and corporate sponsor addresses.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `decisionDateFrom` | string | `90 days before run date` | Earliest decision date (`YYYY-MM-DD` or `YYYYMMDD`). Computed at run time. |
| `decisionDateTo` | string | `Run date` | Latest decision date (`YYYY-MM-DD` or `YYYYMMDD`). Computed at run time. |
| `advisoryCommitteeCodes` | array | `["CV", "OR", "NE", "GU", "OP"]` | Advisory panel codes (CV=Cardio, OR=Ortho, NE=Neuro, GU=Gastro/Uro, OP=Ophthalmic). |
| `decisionCodes` | array | `["APPR", "APCV", "OK30"]` | PMA decision codes (APPR=Approved, APCV=Approvable, OK30=30-Day Notice). |
| `excludeSupplementsOnlyOriginals` | boolean | `false` | When true, returns original PMA filings only, filtering out supplement modifications. |
| `openFdaApiKey` | string (secret) | `""` | Optional free openFDA API key for higher rate limits (240 req/min vs 40 req/min). |
| `maxItems` | integer | `1000` | Maximum PMA records to deliver. |

#### Example input

```json
{
  "advisoryCommitteeCodes": ["CV", "OR", "NE"],
  "decisionCodes": ["APPR", "OK30"],
  "excludeSupplementsOnlyOriginals": false,
  "maxItems": 1000
}
```

### Output

One row per PMA clearance or supplement record.

| Field | Type | Description |
|---|---|---|
| `pmaNumber` | string | Official FDA PMA document identifier (e.g. `P160026`). |
| `supplementNumber` | string or null | Supplement number (e.g. `S074`) or empty for original PMA. |
| `supplementType` | string or null | Type of supplement review track (e.g. `30-Day Notice`, `Normal 180 Day Track`). |
| `applicantName` | string or null | Name of the corporate applicant or device sponsor. |
| `applicantAddress` | object or null | Sponsor business address from public FDA record (`street1`, `city`, `state`, `zip`). |
| `tradeName` | string or null | Commercial / proprietary trade name of the medical device. |
| `genericName` | string or null | Generic / common clinical device description. |
| `advisoryCommittee` | string or null | FDA advisory panel code (e.g. `CV`, `OR`, `NE`). |
| `advisoryCommitteeDescription` | string or null | Full advisory panel name (e.g. `Cardiovascular`). |
| `productCode` | string or null | FDA 3-letter product classification code (e.g. `MKJ`, `NIQ`). |
| `deviceClass` | string or null | Regulatory classification (typically `3` for PMA devices). |
| `dateReceived` | string or null | Date PMA or supplement was officially received by FDA (`YYYY-MM-DD`). |
| `decisionDate` | string | Date FDA rendered disposition decision (`YYYY-MM-DD`). |
| `reviewDurationDays` | integer or null | Elapsed calendar days from received date to decision date. |
| `decisionCode` | string or null | FDA decision disposition code (e.g. `APPR`, `OK30`). |
| `expeditedReviewFlag` | string or null | `Y` if granted expedited review status, otherwise `N`. |
| `aoStatementSummary` | string or null | Official approval order statement summary. |

#### Sample row (real, live openFDA data)

```json
{
  "pmaNumber": "P160026",
  "supplementNumber": "S074",
  "supplementType": "30-Day Notice",
  "applicantName": "Physio-Control, Inc.",
  "applicantAddress": {
    "street1": "11811 Willows Rd. NE",
    "city": "Redmond",
    "state": "WA",
    "zip": "98052"
  },
  "tradeName": "LIFEPAK 1000 DEFIBRILLATOR, LIFEPAK 20 DEFIBRILLATOR/ MONITOR, LIFEPAK 20E DEFIBRILLATOR/ MONITOR, LIFEPAK 15 MONITOR/DE",
  "genericName": "Automated external defibrillators (non-wearable)",
  "advisoryCommittee": "CV",
  "advisoryCommitteeDescription": "Cardiovascular",
  "productCode": "MKJ",
  "deviceClass": "3",
  "dateReceived": "2026-09-02",
  "decisionDate": "2026-09-24",
  "reviewDurationDays": 22,
  "decisionCode": "OK30",
  "expeditedReviewFlag": "N",
  "aoStatementSummary": "implementation of an automated inspection process"
}
```

### Source and update cadence

The source is the official openFDA Premarket Approval API (`https://api.fda.gov/device/pma.json`). openFDA updates this dataset **monthly**, so the newest FDA decisions can lag the run date by several weeks; this is not real-time data. Each run first checks a trailing 90-day baseline query: if the baseline itself returns nothing, the run fails loudly as possible upstream drift instead of reporting a clean zero.

### Decision codes: two corrections from live verification (2026-11-01)

- `S30D` is **not** an openFDA PMA decision code: it matches zero records in the entire dataset. The 30-Day Notice decision code is `OK30` (28,000 records all-time), and `OK30` is the default in this actor. Earlier drafts of this actor listed `S30D`; do not use it.
- `APCV` (Approvable) is a real but legacy code: only 6 records all-time and none in recent years. It stays in the defaults for completeness and normally contributes no rows.

### Approval order PDF field: dropped, by design

This actor does **not** output an `approvalOrderPdfUrl` field. The constructed CDRH approval-order PDF URL pattern was probed at build time and the URLs returned HTTP 400 from Akamai bot protection, so the field was dropped rather than shipping constructed links that may not resolve (per the spec build note).

### Canary input (labeled)

```json
{
  "advisoryCommitteeCodes": ["CV"],
  "decisionCodes": ["APPR"],
  "maxItems": 5
}
```

A healthy canary run ends `Complete` (or a `PARTIAL` that names its reason) with a small number of Cardiovascular PMA approvals from the trailing 90 days.

### Troubleshooting

- **Zero matches:** a narrow filter with no matching records ends `Complete: 0 rows matched buyer criteria.` That is a valid result, not an error. Widen the date window or the committee / decision lists.
- **PARTIAL: maxItems limit reached:** you asked for fewer rows than matched. Raise `maxItems` to get the rest. This PARTIAL is caused by your limit, not by the source.
- **PARTIAL or failure naming date_received or schema drift:** the openFDA response shape changed. If this keeps happening, please open an issue on this actor's Issues tab and we'll fix it fast.
- **Rate limits:** keyless runs share openFDA's lower keyless limits. Add a free openFDA API key in the `openFdaApiKey` secret input for higher limits. The key is never logged or stored.
- **Missing recent decisions:** the dataset updates monthly (see above). A decision made in the last few weeks may not be in openFDA yet.

### Changelog

- **0.1.1 (2026-11-01, review fixes):** default decision codes corrected: `S30D` (nonexistent in openFDA, zero records all-time) replaced with `OK30`, the real 30-Day Notice code, in the code defaults, input schema, and example input. A run stopped by `maxItems` now ends PARTIAL naming the cap and the matched total, instead of a truncated Complete. Records whose `date_received` is present but unparseable (or inconsistent with the decision date) are now counted and reported as a source-caused PARTIAL with `dateReceived` and `reviewDurationDays` null for those rows, instead of being silently nulled. README gained the source cadence, decision-code corrections, the approval-order PDF disclosure, a labeled canary, and this Troubleshooting section.
- **0.1.0 (2026-11-01):** initial build.

# Actor input Schema

## `advisoryCommitteeCodes` (type: `array`):

Filter by FDA advisory committee panel codes (e.g. CV=Cardiovascular, OR=Orthopedic, NE=Neurological, GU=Gastroenterology/Urology, OP=Ophthalmic). Empty array queries all panels.

## `decisionCodes` (type: `array`):

Filter by PMA decision codes (APPR=Approved, APCV=Approvable (legacy, rare), OK30=30-Day Notice). Empty array queries all decisions.

## `decisionDateFrom` (type: `string`):

Earliest PMA decision date (YYYY-MM-DD or YYYYMMDD). Defaults to 90 days before run date.

## `decisionDateTo` (type: `string`):

Latest PMA decision date (YYYY-MM-DD or YYYYMMDD). Defaults to run date.

## `excludeSupplementsOnlyOriginals` (type: `boolean`):

When true, filters for original PMA approvals only (excluding supplement modifications).

## `maxItems` (type: `integer`):

Maximum number of PMA records to return.

## `openFdaApiKey` (type: `string`):

Optional openFDA API key for higher rate limits (240 requests/min vs 40/min). Keyless runs are supported.

## Actor input object example

```json
{
  "advisoryCommitteeCodes": [
    "CV",
    "OR",
    "NE",
    "GU",
    "OP"
  ],
  "decisionCodes": [
    "APPR",
    "APCV",
    "OK30"
  ],
  "excludeSupplementsOnlyOriginals": false,
  "maxItems": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("groundplanes/openfda-pma-class3-medtech-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("groundplanes/openfda-pma-class3-medtech-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call groundplanes/openfda-pma-class3-medtech-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,groundplanes/openfda-pma-class3-medtech-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6sHVh4Ez7dHFb7Gsr/builds/SFxcXnAxAurkuznvy/openapi.json
