{
  "openapi": "3.0.1",
  "info": {
    "title": "EUDAMED Medical Device Lookup – UDI, SRN, Class",
    "description": "EUDAMED lookup for medtech regulatory affairs and procurement: find EU medical devices by UDI-DI, manufacturer SRN, product name, risk class or EMDN code, with manufacturer, authorised representative, status, registration date and notified-body certificates. Monitor mode reports new registrations.",
    "version": "0.1",
    "x-build-id": "m3maofd2tRA0bLINu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lwsdjfls~eudamed-device-lookup/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lwsdjfls-eudamed-device-lookup",
        "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/lwsdjfls~eudamed-device-lookup/runs": {
      "post": {
        "operationId": "runs-sync-lwsdjfls-eudamed-device-lookup",
        "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/lwsdjfls~eudamed-device-lookup/run-sync": {
      "post": {
        "operationId": "run-sync-lwsdjfls-eudamed-device-lookup",
        "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": [
              "lookup",
              "monitor"
            ],
            "type": "string",
            "description": "Lookup: every device is delivered on every run with its current record. Monitor: the first run delivers every device as a baseline, charged like a lookup; later runs deliver only new devices and changes for the same searches (schedule it).",
            "default": "lookup"
          },
          "udiDis": {
            "title": "UDI-DIs",
            "maxItems": 10000,
            "type": "array",
            "description": "Device identifiers, one per line: GS1 (14 digits, check-digit validated), HIBCC (+…), ICCBBA (=…) or IFA.",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "basicUdiDis": {
            "title": "Basic UDI-DIs",
            "maxItems": 1000,
            "type": "array",
            "description": "Device group identifiers; every UDI-DI registered under the group is delivered.",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "manufacturerSrns": {
            "title": "Manufacturer SRNs",
            "maxItems": 1000,
            "type": "array",
            "description": "Single Registration Numbers (XX-MF-000000000). Delivers the manufacturer record (free) with its certificates, and every device registered under the SRN, newest first.",
            "items": {
              "type": "string",
              "maxLength": 30
            },
            "default": []
          },
          "productNames": {
            "title": "Product names",
            "maxItems": 200,
            "type": "array",
            "description": "Trade-name searches (contains). Combine with a risk class, EMDN code or legislation to narrow them; results are newest first.",
            "items": {
              "type": "string",
              "maxLength": 200
            },
            "default": []
          },
          "riskClasses": {
            "title": "Risk classes",
            "maxItems": 8,
            "type": "array",
            "description": "Newest devices of a risk class (MDR I, IIa, IIb, III; IVDR A, B, C, D). Narrow with EMDN codes or legislation; in monitor mode this is the feed of new registrations in the class.",
            "items": {
              "type": "string",
              "enum": [
                "class-i",
                "class-iia",
                "class-iib",
                "class-iii",
                "class-a",
                "class-b",
                "class-c",
                "class-d"
              ],
              "enumTitles": [
                "Class I (MDR/MDD)",
                "Class IIa",
                "Class IIb",
                "Class III",
                "Class A (IVDR)",
                "Class B",
                "Class C",
                "Class D"
              ]
            },
            "default": []
          },
          "emdnCodes": {
            "title": "EMDN codes",
            "maxItems": 50,
            "type": "array",
            "description": "European Medical Device Nomenclature codes or prefixes (P = implantable prosthetics, P07 = vascular implants and stents, A060204 = drainage kits). Combined with every product name and risk class above; on their own, a search per code.",
            "items": {
              "type": "string",
              "maxLength": 20
            },
            "default": []
          },
          "legislation": {
            "title": "Legislation",
            "enum": [
              "any",
              "mdr",
              "ivdr",
              "mdd",
              "aimdd",
              "ivdd"
            ],
            "type": "string",
            "description": "Restrict searches to devices registered under one legislation. In monitor mode, changing it on an existing watch starts a new baseline for its searches, charged per device.",
            "default": "any"
          },
          "onlyOnTheMarket": {
            "title": "Only devices on the EU market",
            "type": "boolean",
            "description": "Skip devices marked as no longer placed on the EU market or not intended for it. In monitor mode, changing it on an existing watch starts a new baseline for its searches, charged per device.",
            "default": false
          },
          "includeManufacturerCertificates": {
            "title": "Include manufacturer certificates",
            "type": "boolean",
            "description": "Adds the notified-body certificates issued to each manufacturer SRN (up to 300) to the manufacturer record.",
            "default": true
          },
          "maxDevicesPerSearch": {
            "title": "Maximum devices per search",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Cap per product name, risk class, EMDN code, Basic UDI-DI or manufacturer, newest first. In monitor mode it must exceed the number of new registrations between two runs (class III gains a few hundred a day).",
            "default": 100
          },
          "maxDevicesPerRun": {
            "title": "Maximum devices per run",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Caps the charged device records in one run, baseline records of a monitor included. Watched devices read again do not count; at most 50,000 of those are read per run.",
            "default": 500
          },
          "maxChangesPerRun": {
            "title": "Maximum changes per run",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Monitor mode: caps the charged changes ($0.50 each) in one run. Changes above the cap are not lost; the next run delivers them.",
            "default": 200
          },
          "maxConcurrency": {
            "title": "Parallel lookups",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Searches and lookups running at the same time. Requests to EUDAMED are paced at 8 per second regardless.",
            "default": 4
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Receives a POST with a summary after each run that delivered new devices or changes. Must be a public http(s) address; redirects are not followed. Stored encrypted, because webhook URLs often carry a token."
          },
          "stateKey": {
            "title": "State key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "type": "string",
            "description": "Separates independent monitors. Defaults to the task ID, so each saved task keeps its own baseline; a new key starts a new baseline, charged per device."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}