{
  "openapi": "3.0.1",
  "info": {
    "title": "JobServe Real-Time Data | Live UK & US Jobs",
    "description": "Live JobServe job market intelligence: keyword job search across the UK and US, full job details, company hiring activity, and URL collection. Checkbox features — enable only what you need. Structured JSON streamed to your dataset in real time.",
    "version": "0.0",
    "x-build-id": "KTmAmOIstBUtdO5y8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2b_leads~JobServe-Real-Time-Data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2b_leads-JobServe-Real-Time-Data",
        "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/b2b_leads~JobServe-Real-Time-Data/runs": {
      "post": {
        "operationId": "runs-sync-b2b_leads-JobServe-Real-Time-Data",
        "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/b2b_leads~JobServe-Real-Time-Data/run-sync": {
      "post": {
        "operationId": "run-sync-b2b_leads-JobServe-Real-Time-Data",
        "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": {
          "country": {
            "title": "Market region",
            "enum": [
              "GB",
              "US"
            ],
            "type": "string",
            "description": "JobServe market to search. Affects listings and the recommended proxy country.",
            "default": "GB"
          },
          "enableJobSearch": {
            "title": "Job Search",
            "type": "boolean",
            "description": "Live keyword search across JobServe — IT, engineering, finance, sales and more. On by default and prefilled so you can click Start and get results in seconds.",
            "default": true
          },
          "jobKeywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "One or more search terms, e.g. \"python developer\", \"data engineer\", \"project manager\". Required when Job Search is on (unless Job title is set).",
            "default": [
              "python developer",
              "data engineer"
            ],
            "items": {
              "type": "string"
            }
          },
          "jobTitle": {
            "title": "Job title filter (optional)",
            "type": "string",
            "description": "Narrow results to a specific title, e.g. \"Senior Java Developer\".",
            "default": ""
          },
          "jobLocation": {
            "title": "Location (optional)",
            "type": "string",
            "description": "City or region, e.g. \"London\", \"Manchester\", \"New York\". Leave empty to search nationwide.",
            "default": "London"
          },
          "jobType": {
            "title": "Job type",
            "enum": [
              "any",
              "permanent",
              "contract"
            ],
            "type": "string",
            "description": "Filter by contract type.",
            "default": "any"
          },
          "jobDaysBack": {
            "title": "Posted within",
            "enum": [
              "1",
              "2",
              "3",
              "7"
            ],
            "type": "string",
            "description": "Only include jobs posted within this window.",
            "default": "7"
          },
          "radiusMiles": {
            "title": "Search radius (miles)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Distance around the location (1–100). Snapped to the closest option the site offers. Ignored without a location.",
            "default": 50
          },
          "remoteOnly": {
            "title": "Remote working only",
            "type": "boolean",
            "description": "Only include jobs flagged with remote working.",
            "default": false
          },
          "jobsPerQuery": {
            "title": "Max jobs per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum jobs to return for each keyword (1–200). Default 10 — perfect for instant demo runs.",
            "default": 10
          },
          "fetchJobDetails": {
            "title": "Enrich with full job details",
            "type": "boolean",
            "description": "When on, each search result stays ONE row (detailsFetched=true) but is enriched with the full job description and posting details. Adds a little extra time per job. When off, you get fast search cards with title, company, location, salary, and snippet. Every discovered job is always saved — never filtered out.",
            "default": false
          },
          "enableJobDetails": {
            "title": "Job Details",
            "type": "boolean",
            "description": "Fetch the full record for specific JobServe jobs by URL or job ID.",
            "default": false
          },
          "jobIds": {
            "title": "Job IDs (optional)",
            "type": "array",
            "description": "JobServe job IDs (the code in jobid= links), e.g. A3C06B862BE0587BFF.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "jobUrls": {
            "title": "Job URLs (optional)",
            "type": "array",
            "description": "Full JobServe job URLs (detail pages or jobid links).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "enableCompanyJobs": {
            "title": "Company Jobs",
            "type": "boolean",
            "description": "Track what a specific employer or agency is hiring for right now — keyword-matched hiring activity per company name.",
            "default": false
          },
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Employer or agency names to track, e.g. \"GCS\", \"Accenture\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "jobsPerCompany": {
            "title": "Max jobs per company",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum jobs to collect per company (1–200).",
            "default": 10
          },
          "enableScrapeByUrl": {
            "title": "Scrape By URL",
            "type": "boolean",
            "description": "Paste any JobServe URL — a job detail page or a shared search-results page.",
            "default": false
          },
          "scrapeUrls": {
            "title": "JobServe URLs",
            "type": "array",
            "description": "Any JobServe job or search-results URL.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. Every record is always saved to the run dataset — this webhook is an ADDITIONAL real-time push. Each new row is also POSTed to this URL (Slack, Discord, Zapier, Make, n8n, custom hiring bot).",
            "default": ""
          },
          "webhookFormat": {
            "title": "Webhook format",
            "enum": [
              "json",
              "slack"
            ],
            "type": "string",
            "description": "json = full record object; slack = Slack-friendly message payload.",
            "default": "json"
          },
          "proxyConfiguration": {
            "title": "Proxy settings",
            "type": "object",
            "description": "Residential proxy recommended. Match the country to the Market region above (GB by default).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "GB"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}