{
  "openapi": "3.0.1",
  "info": {
    "title": "FDA 510(k) Clearances Tracker: New Medical Device Approvals",
    "description": "New FDA 510(k) medical device clearances from the official openFDA API. Filter by product code, applicant, device name and date, with a new-since-last-run mode for medtech sales, regulatory and competitive intelligence teams.",
    "version": "0.0",
    "x-build-id": "FxZG5FAFRVgpyyraP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/metal_spinney~fda-510k-clearances/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-metal_spinney-fda-510k-clearances",
        "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/metal_spinney~fda-510k-clearances/runs": {
      "post": {
        "operationId": "runs-sync-metal_spinney-fda-510k-clearances",
        "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/metal_spinney~fda-510k-clearances/run-sync": {
      "post": {
        "operationId": "run-sync-metal_spinney-fda-510k-clearances",
        "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",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "snapshot",
              "diff"
            ],
            "type": "string",
            "description": "Diff mode remembers IDs already returned (named key-value store) and outputs only new ones. Schedule it daily/weekly for alerts.",
            "default": "snapshot"
          },
          "productCodes": {
            "title": "FDA product codes",
            "type": "array",
            "description": "3-letter product codes, e.g. QIH (AI radiology software), LLZ (image processing), DQY, FRO.",
            "items": {
              "type": "string"
            }
          },
          "applicants": {
            "title": "Applicant / company",
            "type": "array",
            "description": "Company name phrase match, e.g. Medtronic, Siemens, GE Healthcare.",
            "items": {
              "type": "string"
            }
          },
          "deviceNameKeywords": {
            "title": "Device name keywords",
            "type": "array",
            "description": "Word/phrase match on device name, e.g. catheter, AI, robot.",
            "items": {
              "type": "string"
            }
          },
          "advisoryCommittees": {
            "title": "Review panel codes",
            "type": "array",
            "description": "e.g. RA (radiology), CV (cardiovascular), OR (orthopedic), NE (neurology), SU (surgery).",
            "items": {
              "type": "string"
            }
          },
          "countryCodes": {
            "title": "Applicant country codes",
            "type": "array",
            "description": "ISO-2, e.g. US, CN, KR, DE.",
            "items": {
              "type": "string"
            }
          },
          "decisionCodes": {
            "title": "Decision codes",
            "type": "array",
            "description": "e.g. SESE (substantially equivalent). Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "clearanceType": {
            "title": "Clearance type",
            "enum": [
              "any",
              "Traditional",
              "Special",
              "Abbreviated",
              "Direct"
            ],
            "type": "string",
            "description": "510(k) pathway (Direct = De Novo).",
            "default": "any"
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Decision date from (YYYY-MM-DD)."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Decision date to."
          },
          "lookbackDays": {
            "title": "Lookback days",
            "minimum": 1,
            "type": "integer",
            "description": "Decision-date window when Date from is empty (diff mode tip: 90, openFDA updates weekly and back-fills).",
            "default": 30
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit.",
            "default": 0
          },
          "maxRowsPerSource": {
            "title": "Max source rows per source",
            "minimum": 0,
            "type": "integer",
            "description": "Per-source row cap (paginated). 0 = no limit. The run status/OUTPUT record flags sources that hit the cap.",
            "default": 5000
          },
          "stateKey": {
            "title": "State key (diff mode)",
            "type": "string",
            "description": "Use a different key per saved search/schedule so their 'seen' lists don't mix.",
            "default": "default"
          },
          "stateStoreName": {
            "title": "State store name (diff mode)",
            "type": "string",
            "description": "Named key-value store holding the seen-ID state. Leave empty for the default."
          },
          "firstRunBehaviour": {
            "title": "First diff run",
            "enum": [
              "emitAll",
              "baselineOnly"
            ],
            "type": "string",
            "description": "What the first diff run (no state yet) returns.",
            "default": "emitAll"
          },
          "apiKey": {
            "title": "openFDA API key (optional)",
            "type": "string",
            "description": "Not required. Keyless = 1,000 requests/day per IP, plenty for this actor."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}