{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Visa Sponsor Register Scraper & API — Licensed Sponsor Leads",
    "description": "All UK licensed visa sponsors from the Home Office register: organisation, town, rating and routes, plus free Companies House number, status, SIC and postcode. Filter by town or route, check your list, or get only new sponsors daily or weekly via Apify, n8n, Make or Zapier. Unmatched names are free.",
    "version": "1.0",
    "x-build-id": "AnfLjC7e4FEsMFGYJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fermaja~uk-visa-sponsor-register-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fermaja-uk-visa-sponsor-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/fermaja~uk-visa-sponsor-register-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fermaja-uk-visa-sponsor-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/fermaja~uk-visa-sponsor-register-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fermaja-uk-visa-sponsor-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",
        "properties": {
          "towns": {
            "title": "Towns or counties",
            "type": "array",
            "description": "Keep sponsors in these towns, cities or counties as written on the register, e.g. London, Manchester, Cambridge, Surrey. One per line or comma-separated. Empty = the whole UK.",
            "items": {
              "type": "string"
            }
          },
          "routes": {
            "title": "Visa routes",
            "type": "array",
            "description": "Skilled Worker, Senior or Specialist Worker (Global Business Mobility), Graduate Trainee, Scale-up, Creative Worker, Charity Worker, Religious Worker, Seasonal Worker, International Sportsperson... Short words work too (skilled, GBM, tier 2, creative). Empty = every route.",
            "items": {
              "type": "string"
            }
          },
          "nameContains": {
            "title": "Organisation name contains",
            "type": "array",
            "description": "Keep organisations whose name contains any of these words, e.g. care, consulting, restaurant, software. Empty = any name.",
            "items": {
              "type": "string"
            }
          },
          "ratings": {
            "title": "Ratings",
            "type": "array",
            "description": "A, B, Premium, SME+ or Provisional. Empty = every rating (almost all sponsors are A-rated).",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many sponsors (A to Z). 0 = all matches, up to 150,000 per run.",
            "default": 100
          },
          "organisationNames": {
            "title": "Check these organisations (optional)",
            "type": "array",
            "description": "Company names to check against the register, one per line (Ltd/Limited, capitals and \"&\"/\"and\" do not matter). Each name returns its licence details, or a free row with onRegister=false. Leave empty to list sponsors with the filters above.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Dataset ID with company names (optional)",
            "type": "string",
            "description": "Read the company names from a previous Apify run's dataset, e.g. {{ $json.defaultDatasetId }} in n8n. Paste the bare dataset ID (like iJYjy6A6uQqdnz5Fe), not the Console URL: Apify rejects a URL here before the run starts."
          },
          "datasetField": {
            "title": "Dataset column with the company name",
            "type": "string",
            "description": "Column that holds the company name, e.g. companyName, title or name. If it is empty, common name columns are tried.",
            "default": "companyName"
          },
          "enrichWithCompaniesHouse": {
            "title": "Add Companies House details (free)",
            "type": "boolean",
            "description": "Adds company number, status, type, incorporation date, SIC codes, registered address and postcode from Companies House when a company with exactly the same name exists. Included in the price, for the first 1,000 sponsors of a run.",
            "default": true
          },
          "onlyNew": {
            "title": "Only sponsors added since the last run (monitor mode)",
            "type": "boolean",
            "description": "For daily or weekly schedules. The first run returns up to Max results and remembers every matching sponsor; later runs return only organisations newly added to the register, so you pay only for new sponsors.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor ID",
            "type": "string",
            "description": "Optional name for the monitor memory, e.g. \"london-skilled\". Empty = one memory per filter set."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: gov.uk and Companies House answer plain requests. Used only if Companies House rate-limits.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}