{
  "openapi": "3.0.1",
  "info": {
    "title": "PracticeLink Jobs Scraper: Physician Salary, Visa & Recruiters",
    "description": "Scrape PracticeLink physician and healthcare jobs by profession, specialty and state. Get salary ranges, J-1 and H-1B visa flags, benefits and the recruiter name and phone. Filter by salary, visa sponsorship or employer, and monitor new postings on a schedule.",
    "version": "0.1",
    "x-build-id": "A8AeIRJ8OyUg5p0jE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~practicelink-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-practicelink-jobs-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/getascraper~practicelink-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-practicelink-jobs-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/getascraper~practicelink-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-practicelink-jobs-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",
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "PracticeLink search result pages or single job pages copied from your browser, for example a jobboard/jobsearchresults link or a /jobs/<id>/... job page. When set, the filters below are ignored and these pages are scraped directly.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchTerm": {
            "title": "Keyword",
            "type": "string",
            "description": "Free-text keyword to search, such as a specialty, employer or town. Leave empty to rely on the profession, specialty and state filters instead.",
            "default": ""
          },
          "professions": {
            "title": "Professions",
            "type": "array",
            "description": "One or more professions to include, such as Physician, Nurse Practitioner, Physician Assistant, CRNA or Dentist. Empty means every profession. PracticeLink lists 63 professions.",
            "items": {
              "type": "string"
            }
          },
          "specialties": {
            "title": "Specialties",
            "type": "array",
            "description": "One or more specialties to include, such as Cardiology, Family Medicine or Hospitalist. Empty means every specialty. PracticeLink lists 194 specialties.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "US states or territories to include, by full name (Texas) or code (TX). Empty means everywhere.",
            "items": {
              "type": "string"
            }
          },
          "near": {
            "title": "Closest to",
            "type": "string",
            "description": "A city, place or ZIP code. Results come nearest first; this orders the search rather than narrowing it, so pair it with Maximum jobs or Sort by distance.",
            "default": ""
          },
          "recruitmentType": {
            "title": "Posted by",
            "enum": [
              "both",
              "employer",
              "searchFirm"
            ],
            "type": "string",
            "description": "Keep jobs posted directly by employers, by search firms, or both.",
            "default": "both"
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Keep only jobs verified within this many days. 0 keeps all. Unlike a plain newest-first sort, this drops older postings so a scheduled run returns a clean recency window.",
            "default": 0
          },
          "minSalary": {
            "title": "Minimum salary (USD / year)",
            "minimum": 0,
            "maximum": 2000000,
            "type": "integer",
            "description": "Keep only jobs whose published salary range reaches at least this yearly amount. Jobs without a published salary are kept unless Require published salary is on. 0 applies no salary floor.",
            "default": 0
          },
          "requireSalary": {
            "title": "Require published salary",
            "type": "boolean",
            "description": "Keep only jobs that publish a salary range. Off keeps jobs with no salary too.",
            "default": false
          },
          "visaSponsorship": {
            "title": "Visa sponsorship",
            "enum": [
              "any",
              "anySponsorship",
              "j1",
              "h1b",
              "immigrationAssistance"
            ],
            "type": "string",
            "description": "For international medical graduates: keep only jobs that accept the chosen visa or offer immigration help. PracticeLink shows these flags but does not let you filter by them.",
            "default": "any"
          },
          "requireLoanAssistance": {
            "title": "Only jobs with loan assistance",
            "type": "boolean",
            "description": "Keep only jobs that offer student-loan repayment or assistance.",
            "default": false
          },
          "requireTelemedicine": {
            "title": "Only telemedicine jobs",
            "type": "boolean",
            "description": "Keep only jobs flagged as offering telemedicine.",
            "default": false
          },
          "requireAcademic": {
            "title": "Only academic jobs",
            "type": "boolean",
            "description": "Keep only jobs flagged as an academic opportunity.",
            "default": false
          },
          "employerNameContains": {
            "title": "Employer name contains",
            "type": "string",
            "description": "Keep only jobs whose employer or facility name contains this text, case-insensitive. Useful for tracking a single health system across specialties and states.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest",
              "distance"
            ],
            "type": "string",
            "description": "Order of results on PracticeLink before the limit is applied.",
            "default": "newest"
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name this monitor to track new postings across scheduled runs. The scraper remembers the jobs it has already returned under this name and, on later runs with the same filters, returns only postings it has not seen before (each marked newSinceLastRun). Leave empty for a normal one-off run that returns everything.",
            "default": ""
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional HTTPS endpoint. The jobs delivered in a run are POSTed here as JSON, so Make, Zapier, Slack or your own service can act on new openings.",
            "default": ""
          },
          "notifyOnlyChanges": {
            "title": "Webhook only sends new postings",
            "type": "boolean",
            "description": "When a monitor name is set, send only the postings that are new since the last run to the webhook, instead of every delivered posting.",
            "default": false
          },
          "includeDetails": {
            "title": "Include full job details",
            "type": "boolean",
            "description": "Open each job page for its full description, salary range, visa and loan flags, requirements, posting dates and recruiter name and phone. Off (default) returns only the faster, cheaper search-result fields. Salary, visa and benefit filters that need the detail page only apply when this is on.",
            "default": false
          },
          "descriptionFormat": {
            "title": "Description format",
            "enum": [
              "text",
              "html",
              "both"
            ],
            "type": "string",
            "description": "How to return the job description when full details are on: plain text, original HTML, or both.",
            "default": "text"
          },
          "maxItems": {
            "title": "Maximum jobs",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after collecting this many jobs. Keep it modest for quick, low-cost runs and raise it for a full export.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "PracticeLink is behind a Cloudflare challenge, so a capable proxy is required. The default routes requests through Apify Proxy, which the scraper sends via the unblocking pool. Leave the default unless you know you need a specific group.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}