{
  "openapi": "3.0.1",
  "info": {
    "title": "SSC Recruitment Jobs Search Scraper",
    "description": "Extract rich official SSC recruitment notices, exam metadata, dates, and downloadable documents.",
    "version": "2.1",
    "x-build-id": "a29K8RcbMkyS2CjWw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jobsapi~ssc-recruitment-jobs-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jobsapi-ssc-recruitment-jobs-search-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/jobsapi~ssc-recruitment-jobs-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jobsapi-ssc-recruitment-jobs-search-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/jobsapi~ssc-recruitment-jobs-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jobsapi-ssc-recruitment-jobs-search-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": {
          "mode": {
            "title": "Run mode",
            "enum": [
              "search",
              "searchMultiple",
              "single",
              "multiple",
              "startUrls"
            ],
            "type": "string",
            "description": "Use search for one keyword, searchMultiple for several keywords, single/multiple for notice IDs, or startUrls for official API/notice-board URLs.",
            "default": "search"
          },
          "query": {
            "title": "Search keyword",
            "type": "string",
            "description": "Keyword or phrase matched against notice and exam metadata. Generic recruitment returns current notices.",
            "default": "recruitment"
          },
          "queries": {
            "title": "Search keywords",
            "type": "array",
            "description": "At least two keywords for searchMultiple mode; the global maxItems cap applies to the whole run.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Legacy keywords",
            "type": "array",
            "description": "Backward-compatible alias for queries.",
            "items": {
              "type": "string"
            }
          },
          "noticeId": {
            "title": "One notice ID",
            "type": "string",
            "description": "One public SSC notice identifier for single mode."
          },
          "noticeIds": {
            "title": "Notice IDs",
            "type": "array",
            "description": "Public SSC notice identifiers for multiple mode.",
            "items": {
              "type": "string"
            }
          },
          "startUrl": {
            "title": "Legacy start URL",
            "type": "string",
            "description": "Official SSC notice-board page or notice-board API URL."
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Official ssc.gov.in notice-board page or notice-board API URLs.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "title": "SSC URL",
                  "description": "Official HTTPS ssc.gov.in notice-board or notice API URL.",
                  "type": "string"
                }
              },
              "required": [
                "url"
              ]
            }
          },
          "maxItems": {
            "title": "Maximum notices",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum complete notices emitted for the run, or requested IDs for ID modes.",
            "default": 3
          },
          "maxPages": {
            "title": "Maximum notice pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum official notice API pages to inspect per query or start URL.",
            "default": 1
          },
          "maxRequests": {
            "title": "Maximum total requests",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Safety cap covering exam catalog and notice API requests."
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 5,
            "maximum": 90,
            "type": "integer",
            "description": "Maximum seconds for one public API request.",
            "default": 30
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Responsible pacing delay between public API requests.",
            "default": 100
          },
          "language": {
            "title": "Notice language",
            "type": "string",
            "description": "Language parameter sent to the official notice API.",
            "default": "english"
          },
          "contentType": {
            "title": "Content type",
            "type": "string",
            "description": "Official SSC notice API content type.",
            "default": "notice-boards"
          },
          "includeAttachments": {
            "title": "Require attachments",
            "type": "boolean",
            "description": "Request notices with official document attachments.",
            "default": true
          },
          "includeRaw": {
            "title": "Include safe raw notice fields",
            "type": "boolean",
            "description": "Keep a small allowlisted copy of source notice metadata.",
            "default": true
          },
          "userAgent": {
            "title": "User agent",
            "type": "string",
            "description": "Ordinary browser-compatible user agent for official public requests.",
            "default": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/131.0.0.0 Safari/537.36"
          },
          "maxRetries": {
            "title": "Retries",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Maximum retries for transient network, rate-limit, and server errors.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}