# openFDA Device 510(k) Search: Premarket Clearances (`fecklesspleb/openfda-device-510k-search`) Actor

Search openFDA device 510(k) premarket clearance records by keyword, device name, applicant, product code, advisory committee, clearance type, decision and date. Unofficial, not affiliated with or endorsed by the FDA.

- **URL**: https://apify.com/fecklesspleb/openfda-device-510k-search.md
- **Developed by:** [fecklesspleb](https://apify.com/fecklesspleb) (community)
- **Categories:** Business, Open source, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 510(k) records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## openFDA Device 510(k) Search

Search device 510(k) premarket clearance records in **openFDA**, the U.S. Food and Drug Administration's public API, by keyword, device name, applicant, product code, advisory committee, clearance type, decision description, and a date range on the decision date or the date received. Each result has the 510(k) number, device name, applicant and its city, state and country code, product code, advisory committee, clearance type, decision code and description, dates (ISO), statement or summary flag, third-party and expedited-review flags, the openfda annotation when one is present, and a source URL.

Data provided by the U.S. Food and Drug Administration (https://open.fda.gov). Unofficial, not affiliated with or endorsed by the FDA.

### Disclaimer (verbatim from openFDA)

From https://open.fda.gov/apis/device/510k/, under "Responsible use of the data":

> Do not rely on openFDA to make decisions regarding medical care. Always speak to your health provider about the risks and benefits of FDA-regulated products. We may limit or otherwise restrict your access to the API in line with our Terms of Service

### What you get

| Field | Meaning |
|---|---|
| `recordType` | `item` for a 510(k) record, `status` for a free status row (see below) |
| `k_number` | FDA-assigned premarket notification number |
| `device_name` | Proprietary (trade) name of the cleared device |
| `applicant`, `city`, `state`, `country_code` | Applicant and its city, state and country code (no street address). An applicant can occasionally be an individual |
| `product_code` | Three-letter FDA device product code |
| `advisory_committee`, `advisory_committee_description`, `review_advisory_committee` | Advisory committee code, description, and review panel |
| `clearance_type`, `decision_code`, `decision_description` | Submission method and FDA decision |
| `decision_date`, `date_received` | Dates as YYYY-MM-DD |
| `statement_or_summary`, `third_party_flag`, `expedited_review_flag` | Statement or summary, third-party review, and priority-review flags |
| `openfda` | openFDA's annotation object when present. GMDN fields are removed. |
| `sourceUrl` | openFDA query URL for this 510(k) number |
| `dataSource` | Attribution and the unofficial note |
| `disclaimer` | The required openFDA responsible-use sentences, with the source URL |

The official correspondent name (`contact`), street address fields (`address_1`, `address_2`) and postal or zip codes are not included. E-mail addresses and phone numbers are removed from free-text fields.

### Input

| Field | Default | Notes |
|---|---|---|
| `keyword` | none | Optional text search |
| `deviceName` | none | Device (trade) name |
| `applicant` | none | Applicant / sponsor name |
| `productCode` | none | Three-letter product code |
| `advisoryCommittee` | none | Advisory committee code (for example NE) |
| `clearanceType` | none | For example Traditional, Special or Abbreviated |
| `decisionDescription` | none | For example Substantially Equivalent |
| `dateField` | `decision_date` | Or `date_received`; used for the date range and sort |
| `dateFrom`, `dateTo` | none | Inclusive YYYY-MM-DD range |
| `sort` | `newest` | `newest` or `oldest` |
| `maxItems` | `10` | Up to 25,000 |
| `onlyNew` | `false` | When true, returns only records not seen in previous runs, identified by `k_number` |
| `stateKey` | `default` | Name of the seen-record list used when `onlyNew` is true |
| `apiKey` | none | Your own free openFDA API key (secret). Recommended, see below |

The default input (`{}`) returns about 10 recent 510(k) records, finishes in seconds, costs at most $0.01, and is never empty.

#### Why an openFDA API key helps

A key is optional. openFDA's authentication page says a key is required, but keyless calls are accepted and are limited to 240 requests per minute and 1,000 requests per day per IP address (https://open.fda.gov/apis/authentication/). On Apify, other users can share your IP address, so that daily budget can be used up by someone else. Adding your own free openFDA key raises the daily limit to 120,000 requests per key. There is no team key. The key is stored encrypted, sent only as the `api_key` query parameter, and never logged or saved.

If openFDA answers HTTP 429, the Actor backs off and retries a few times, then stops and writes a free status row telling you to add your own key (when the run was keyless). It does not use a proxy or rotate IP addresses.

### Status rows (free)

The dataset is never empty. When nothing could be saved (no matches, invalid input, openFDA rate limit, robots.txt refusal, the 25,000 skip cap, or a maximum cost per run too low for one record), the run writes one row with `recordType: "status"` and a `message`. Status rows are never charged. Skip them in your code as shown below. Invalid input ends SUCCEEDED with a status row; nothing is requested or charged.

### Pricing

Pay per event: **$0.001 per record** saved ($1 per 1,000). No start fee; status rows are free. The default input saves at most 10 records ($0.01). The run stops at your maximum cost per run.

### Use it from code

Python (apify-client 3.x):

```python
from apify_client import ApifyClient

client = ApifyClient('<YOUR_APIFY_TOKEN>')
run = client.actor('<USERNAME>/openfda-device-510k-search').call(run_input={
    'productCode': 'GWL',
    'maxItems': 100,
})
for item in client.dataset(run.default_dataset_id).iterate_items():
    if item.get('recordType') != 'item':
        print('status:', item.get('message'))
        continue
    print(item['decision_date'], item['k_number'], item['device_name'], item['applicant'])
```

JavaScript (apify-client):

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('<USERNAME>/openfda-device-510k-search').call({
    productCode: 'GWL',
    maxItems: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) {
    if (item.recordType !== 'item') continue; // free status rows
    console.log(item.decision_date, item.k_number, item.device_name, item.applicant);
}
```

### Data source and licence

Data comes from the openFDA device 510(k) endpoint only (`https://api.fda.gov/device/510k.json`). UDI, GMDN and other openFDA endpoints are not used.

openFDA terms (https://open.fda.gov/terms/, fetched 2026-11-13): unless otherwise noted, "the content, data, documentation, code, and related materials on openFDA is public domain and made available with a Creative Commons CC0 1.0 Universal dedication" and "You can copy, modify, distribute, and perform the work, even for commercial purposes, all without asking permission." Attribution is requested, not required. The example citation is: Data provided by the U.S. Food and Drug Administration (https://open.fda.gov). The licence page (https://open.fda.gov/license/) repeats the CC0 dedication and says "When using or citing the work, you should not imply endorsement by the author or the affirmer." This Actor is unofficial and is not affiliated with or endorsed by the FDA. No FDA logos are used.

GMDN content is excluded. The licence page states that GMDN Term Code, Name and Definition are supplied by The GMDN Agency under license and that extracting that content for commercial services requires a license from The GMDN Agency. This Actor drops every GMDN field, including any inside the `openfda` sub-object.

Each row records the source in `dataSource` and the short disclaimer in `disclaimer`.

### Limits

- Paging uses `skip` and `limit`. openFDA documents: "Currently, the largest allowed value for the skip parameter is 25000." (https://open.fda.gov/apis/query-parameters/) and "Using combinations of the skip/limit parameters you can page through a result set that has up to 26,000 hits" (https://open.fda.gov/apis/paging/). When the next page would go past that skip cap, the run stops and writes a free status row. Narrow the search or date range rather than paging further.
- `limit` is at most 1,000 per request (openFDA's documented maximum).
- Keyless runs share the per-IP daily budget; add your own key for reliable use. A 429 is retried with a short backoff, then the run stops (no proxy).
- `api.fda.gov/robots.txt` is checked before the first request. A 4xx response counts as no rules (allowed).

# Changelog

This Actor's version history is a separate document: https://apify.com/fecklesspleb/openfda-device-510k-search/changelog.md

# Actor input Schema

## `keyword` (type: `string`):

Optional. Text matched against openFDA's searchable fields (device name, applicant and others). Leave empty to list recent clearances for the selected filters.

## `deviceName` (type: `string`):

Optional. Only records whose device (trade) name matches this text.

## `applicant` (type: `string`):

Optional. Only records whose applicant (manufacturer of record or sponsor) matches this name.

## `productCode` (type: `string`):

Optional. FDA three-letter device product code (for example GWL).

## `advisoryCommittee` (type: `string`):

Optional. Advisory committee code (for example NE or CV).

## `clearanceType` (type: `string`):

Optional. Submission method, for example Traditional, Special or Abbreviated.

## `decisionDescription` (type: `string`):

Optional. Decision text, for example Substantially Equivalent.

## `dateField` (type: `string`):

Which date the date range and the newest/oldest sort use.

## `dateFrom` (type: `string`):

Optional. Inclusive start of the date range (YYYY-MM-DD).

## `dateTo` (type: `string`):

Optional. Inclusive end of the date range (YYYY-MM-DD).

## `sort` (type: `string`):

Order by the selected date field. Default is newest first.

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

Stop after this many records are saved (up to 25,000). openFDA skip/limit paging allows a skip of at most 25,000 (https://open.fda.gov/apis/query-parameters/).

## `onlyNew` (type: `boolean`):

When true, returns only records not seen in previous runs, identified by k_number and stored in a named key-value store. Off by default. Use stateKey to keep more than one independent list.

## `stateKey` (type: `string`):

Optional. Name of the seen-record list used when onlyNew is true (letters, digits, hyphen and underscore). Default is default.

## `apiKey` (type: `string`):

Your own free openFDA API key (https://open.fda.gov/apis/authentication/). Without it, limits are 240 requests per minute and 1,000 per day per IP address, shared on Apify IPs. With a key, the daily limit is 120,000 requests per key. Stored encrypted, sent only as the api_key query parameter, never logged or saved. There is no team key.

## Actor input object example

```json
{
  "dateField": "decision_date",
  "sort": "newest",
  "maxItems": 10,
  "onlyNew": false
}
```

# Actor output Schema

## `clearances` (type: `string`):

No description

## `summary` (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 = {
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("fecklesspleb/openfda-device-510k-search").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 = { "maxItems": 10 }

# Run the Actor and wait for it to finish
run = client.actor("fecklesspleb/openfda-device-510k-search").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 '{
  "maxItems": 10
}' |
apify call fecklesspleb/openfda-device-510k-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fecklesspleb/openfda-device-510k-search"
        }
    }
}
```

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/rzpoSdztph773ddt0/builds/kOalj3uKJqDRu5Hid/openapi.json
