{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Dentist & Dental Professional Register Scraper",
    "description": "Verify UK dental professionals against the General Dental Council's official register (olr.gdc-uk.org). Search by name/town/register type or look up exact GDC registration numbers to get registration status, registrant type, qualifications, specialties and DCP titles.",
    "version": "1.0",
    "x-build-id": "sbuDPejVLRg0whazG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~uk-dentist-register-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-uk-dentist-register-scraper",
        "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/crawlerbros~uk-dentist-register-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-uk-dentist-register-scraper",
        "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/crawlerbros~uk-dentist-register-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-uk-dentist-register-scraper",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byRegistrationNumbers"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "registerType": {
            "title": "Register (mode=search)",
            "enum": [
              "all",
              "dentists",
              "specialistLists",
              "dcp",
              "temporaryRegistrantDentist",
              "visitingPractitionerDentist",
              "visitingPractitionerDcp"
            ],
            "type": "string",
            "description": "Which register to search. 'Specialist Lists' searches the same Dentists register but is intended to be combined with the Specialty filter below.",
            "default": "all"
          },
          "firstName": {
            "title": "Forename (mode=search)",
            "type": "string",
            "description": "Forename to search for. Matches anywhere in the registrant's forenames."
          },
          "surname": {
            "title": "Surname (mode=search)",
            "type": "string",
            "description": "Surname to search for."
          },
          "town": {
            "title": "Town (mode=search)",
            "type": "string",
            "description": "Practice/registered town to search for. Can be combined with forename/surname or used alone."
          },
          "firstNameSoundsLike": {
            "title": "Forename sounds like",
            "type": "boolean",
            "description": "Phonetic match on forename (catches spelling variants, e.g. 'Steven'/'Stephen').",
            "default": false
          },
          "surnameSoundsLike": {
            "title": "Surname sounds like",
            "type": "boolean",
            "description": "Phonetic match on surname (catches spelling variants, e.g. 'Smith'/'Smyth').",
            "default": false
          },
          "includeErasedRegistrants": {
            "title": "Include erased registrants",
            "type": "boolean",
            "description": "Also include registrants who have been erased/removed from the register.",
            "default": false
          },
          "dcpTitle": {
            "title": "DCP title filter (mode=search)",
            "enum": [
              "",
              "Clinical Dental Technician",
              "Dental Hygienist",
              "Dental Nurse",
              "Dental Technician",
              "Dental Therapist",
              "Orthodontic Therapist"
            ],
            "type": "string",
            "description": "Restrict to a specific Dental Care Professional title. Works with any Register selection (results are narrowed to registrants holding this title).",
            "default": ""
          },
          "specialty": {
            "title": "Specialty filter (mode=search)",
            "enum": [
              "",
              "Dental and Maxillofacial Radiology",
              "Dental Public Health",
              "Endodontics",
              "Oral Medicine",
              "Oral Microbiology",
              "Oral and Maxillofacial Pathology",
              "Orthodontics",
              "Oral Surgery",
              "Paediatric Dentistry",
              "Periodontics",
              "Prosthodontics",
              "Restorative Dentistry",
              "Special Care Dentistry"
            ],
            "type": "string",
            "description": "Restrict to dentists holding a specific GDC specialist-list specialty.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by (mode=search)",
            "enum": [
              "surname",
              "firstName",
              "registrationNumber",
              "status",
              "registrantType"
            ],
            "type": "string",
            "description": "Field to sort results by.",
            "default": "surname"
          },
          "sortAscending": {
            "title": "Sort ascending",
            "type": "boolean",
            "description": "Sort A-Z / low-high. Turn off for Z-A / high-low.",
            "default": true
          },
          "registrationNumbers": {
            "title": "Registration numbers (mode=byRegistrationNumbers)",
            "type": "array",
            "description": "Exact GDC registration numbers to look up, e.g. `60065`.",
            "default": [
              "60065"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "Hard cap on emitted records. The GDC register itself refuses any single search that matches more than 250 registrants ('Too Many Results') — narrow your Forename/Surname/Town/filters if you hit that.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}