{
  "openapi": "3.0.1",
  "info": {
    "title": "Visa Sponsor Finder: UK Sponsor Register, Canada LMIA & NL IND",
    "description": "Check which employers offer visa sponsorship: search the UK Home Office Sponsor Register (sponsor licence holders on the Skilled Worker and other routes), Canada's positive LMIA employers list and the Netherlands IND recognised sponsors by name or town. Fuzzy name check, new-sponsors feed.",
    "version": "0.1",
    "x-build-id": "6LuhXJnVRekqR5FCB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actorfactory~visa-sponsor-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actorfactory-visa-sponsor-finder",
        "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/actorfactory~visa-sponsor-finder/runs": {
      "post": {
        "operationId": "runs-sync-actorfactory-visa-sponsor-finder",
        "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/actorfactory~visa-sponsor-finder/run-sync": {
      "post": {
        "operationId": "run-sync-actorfactory-visa-sponsor-finder",
        "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": {
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Which official registers to search: uk (Home Office register of licensed Worker and Temporary Worker sponsors), canada (employers with a positive LMIA, from Employment and Social Development Canada open data) and netherlands (IND recognised sponsors for regular labour and highly skilled migrants). Empty = all three.",
            "items": {
              "type": "string",
              "enum": [
                "uk",
                "canada",
                "netherlands"
              ],
              "enumTitles": [
                "United Kingdom",
                "Canada",
                "Netherlands"
              ]
            },
            "default": [
              "uk",
              "canada",
              "netherlands"
            ]
          },
          "names": {
            "title": "Company names to check (fuzzy match)",
            "type": "array",
            "description": "Employers to look up, one per line, for example \"Revolut\" or \"Wise Payments\". Legal suffixes (Ltd, Limited, B.V., Inc) and punctuation are ignored, and small typos still match. Each match gets a match_score between 0 and 1 and the name you searched for in matched_query.",
            "items": {
              "type": "string"
            }
          },
          "minMatchScore": {
            "title": "Minimum match score",
            "minimum": 0.3,
            "maximum": 1,
            "type": "number",
            "description": "Lowest match_score (0.3 to 1, default 0.75) accepted for a name check. 1 means identical after normalisation; 0.7 to 0.95 means every word of your name appears in the organisation name; lower values are typo-level similarity. Raise it for fewer, safer matches.",
            "default": 0.75
          },
          "matchesPerName": {
            "title": "Matches per name and country",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Keep at most this many best matches for each name in each country (1 to 20). Large groups often have several sponsor entities.",
            "default": 3
          },
          "nameContains": {
            "title": "Organisation name contains",
            "type": "string",
            "description": "Word or fragment the organisation name must contain, case-insensitive. Example: \"software\" or \"care\"."
          },
          "town": {
            "title": "Town, city or region contains",
            "type": "string",
            "description": "Town/city or county/province the organisation is listed in. Example: \"Manchester\", \"Ontario\" or \"London\". The Netherlands register has no location, so this filter excludes it."
          },
          "routes": {
            "title": "Route or program stream contains",
            "type": "array",
            "description": "Keep organisations licensed for at least one of these routes (UK, for example \"Skilled Worker\", \"Global Business Mobility\", \"Charity Worker\", \"Creative Worker\") or with a Canadian program stream such as \"High Wage\", \"Low Wage\", \"Global Talent Stream\" or \"Primary Agriculture\". Matches on part of the name.",
            "items": {
              "type": "string"
            }
          },
          "ratings": {
            "title": "UK sponsor rating",
            "type": "array",
            "description": "UK only: A-rated sponsors can issue Certificates of Sponsorship; B-rated sponsors are on an action plan and cannot. Empty = any. Setting this filter excludes Canada and the Netherlands, which have no rating.",
            "items": {
              "type": "string",
              "enum": [
                "A",
                "B"
              ],
              "enumTitles": [
                "A rating",
                "B rating (action plan)"
              ]
            }
          },
          "onlyNew": {
            "title": "New sponsors since my last run only",
            "type": "boolean",
            "description": "Return only organisations that were not in the register the last time you ran this actor with snapshots on. The first run saves a baseline and returns nothing. These rows are billed at the higher new-sponsor price. Schedule the actor weekly for a recruiter lead feed.",
            "default": false
          },
          "saveSnapshot": {
            "title": "Save a snapshot for the next run",
            "type": "boolean",
            "description": "Store the current register in a named storage (visa-sponsor-finder-state) in your account so the next run can flag new sponsors in is_new. Turn off for one-off checks that must not move your baseline.",
            "default": true
          },
          "lmiaQuarters": {
            "title": "Canada: quarters of LMIA data",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many of the most recent quarterly Canadian LMIA files to combine (1 to 8). More quarters list more employers; each quarter adds about 0.5 MB of download.",
            "default": 4
          },
          "maxItems": {
            "title": "Maximum organisations",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many organisations. You are charged per organisation saved.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}