{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Visa Sponsor Register (Skilled Worker Licence Check)",
    "description": "UK Home Office register of licensed visa sponsors: every Skilled Worker and Temporary Worker sponsor with its routes and A/B rating, filtered by town or route, a check of your company names, sponsors added or removed since the last run, Companies House data. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "WERitJrJa9xUJdZJ8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~uk-visa-sponsor-register/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-uk-visa-sponsor-register",
        "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/steadyscrape~uk-visa-sponsor-register/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-uk-visa-sponsor-register",
        "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/steadyscrape~uk-visa-sponsor-register/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-uk-visa-sponsor-register",
        "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": {
          "places": {
            "title": "Towns or counties",
            "type": "array",
            "description": "Keep sponsors whose town or county on the register is one of these, e.g. <code>London</code>, <code>Manchester</code>, <code>Cambridgeshire</code>, <code>Glasgow</code>. Case and spacing do not matter, and each part of a town written with commas counts (\"Croydon, London\" is in London), but the register spells places as each sponsor wrote them (\"Cambs\", \"Greater London\" are their own values). Leave empty for the whole of the UK.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "routes": {
            "title": "Visa routes",
            "type": "array",
            "description": "Keep sponsors licensed for any of these routes, e.g. Skilled Worker, Senior or Specialist Worker, Scale-up, Creative Worker. Empty keeps every route.",
            "items": {
              "type": "string",
              "enum": [
                "Skilled Worker",
                "Global Business Mobility: Senior or Specialist Worker",
                "Global Business Mobility: Graduate Trainee",
                "Global Business Mobility: UK Expansion Worker",
                "Global Business Mobility: Service Supplier",
                "Global Business Mobility: Secondment Worker",
                "Scale-up",
                "Creative Worker",
                "Charity Worker",
                "Religious Worker",
                "International Sportsperson",
                "Government Authorised Exchange",
                "International Agreement",
                "Seasonal Worker",
                "Tier 2 Ministers of Religion",
                "Tier 2 General",
                "Intra-company Routes",
                "Intra Company Transfers (ICT)"
              ],
              "enumTitles": [
                "Skilled Worker",
                "Global Business Mobility: Senior or Specialist Worker",
                "Global Business Mobility: Graduate Trainee",
                "Global Business Mobility: UK Expansion Worker",
                "Global Business Mobility: Service Supplier",
                "Global Business Mobility: Secondment Worker",
                "Scale-up",
                "Creative Worker",
                "Charity Worker",
                "Religious Worker",
                "International Sportsperson",
                "Government Authorised Exchange",
                "International Agreement",
                "Seasonal Worker",
                "Tier 2 Ministers of Religion",
                "Tier 2 General",
                "Intra-company Routes",
                "Intra Company Transfers (ICT)"
              ]
            },
            "default": []
          },
          "ratings": {
            "title": "Licence ratings",
            "type": "array",
            "description": "Keep sponsors whose licence has one of these ratings. With routes chosen, the rating of the licence holding that route counts: B and Skilled Worker keeps sponsors whose Skilled Worker licence is B-rated.",
            "items": {
              "type": "string",
              "enum": [
                "A",
                "B",
                "A (Premium)",
                "A (SME+)",
                "UK Expansion Worker: Provisional"
              ],
              "enumTitles": [
                "A",
                "B (downgraded: the sponsor must follow an action plan)",
                "A (Premium)",
                "A (SME+)",
                "Provisional (UK Expansion Worker)"
              ]
            },
            "default": []
          },
          "licenceTypes": {
            "title": "Licence types",
            "type": "array",
            "description": "Worker (long-term routes such as Skilled Worker) or Temporary Worker (Creative, Charity, Religious, Government Authorised Exchange…).",
            "items": {
              "type": "string",
              "enum": [
                "Worker",
                "Temporary Worker"
              ],
              "enumTitles": [
                "Worker",
                "Temporary Worker"
              ]
            },
            "default": []
          },
          "nameContains": {
            "title": "Name contains",
            "type": "array",
            "description": "Keep sponsors whose name contains any of these words or phrases, e.g. <code>care</code>, <code>NHS</code>, <code>university</code>, <code>pharma</code>. Case and punctuation do not matter.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names to check",
            "type": "array",
            "description": "Check whether each of these organisations holds a sponsor licence, e.g. <code>Deliveroo</code>, <code>Avon Cosmetics Ltd</code>, <code>University of Oxford</code>. Matched on the legal name and the trading name (after \"T/A\"), with case, punctuation, \"Ltd\"/\"Limited\"/\"PLC\" and a leading \"The\" set aside. Each matched sponsor is one row; a name not found, or one that could be several sponsors, is a free row with the closest names. The filters above narrow the register the names are checked against.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "fuzzyMatching": {
            "title": "Also match close spellings",
            "type": "boolean",
            "description": "On by default: a name one or two letters off a single register name (\"Gogle UK\" for Google (UK) Limited) matches with its score, and a name that only one register name starts with matches too. Close spellings of two different names are never guessed.",
            "default": true
          },
          "onlyChanges": {
            "title": "Only changes since the last run",
            "type": "boolean",
            "description": "For scheduled runs: deliver only the sponsors added to, removed from or changed on (rating, routes, licences) the filtered register since the last run with the same filters. The first run saves the register as a baseline and is free. Not with company names.",
            "default": false
          },
          "includeCompanyDetails": {
            "title": "Add Companies House details",
            "type": "boolean",
            "description": "Match each sponsor to its Companies House record: company number, status, type, incorporation date, registered office address, SIC codes, and when accounts and the confirmation statement are due (charged as sponsor-with-company). A sponsor that is not a company, or whose name several companies share, is delivered without one at the sponsor price. About one sponsor a second.",
            "default": false
          },
          "maxResults": {
            "title": "Max sponsors",
            "minimum": 0,
            "type": "integer",
            "description": "How many sponsors (or changes) a run delivers at most; 0 for all of them. The register lists about 128,000 organisations.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}