{
  "openapi": "3.0.1",
  "info": {
    "title": "Emploitic Scraper (emploitic.com)",
    "description": "Scrape Emploitic, Algeria's main job board: offers with full descriptions, the company directory, company profiles and job boards, or a single offer. Eight filter families, 58 wilayas, two dataset views.",
    "version": "0.0",
    "x-build-id": "6BZE3UjzQ3QAODkSR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hamza325~emploitic-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hamza325-emploitic-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/hamza325~emploitic-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hamza325-emploitic-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/hamza325~emploitic-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hamza325-emploitic-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": {
          "pageUrl": {
            "title": "URL",
            "type": "string",
            "description": "Paste any Emploitic URL straight from the browser's address bar — this one field is enough. The Actor detects what the link points at and runs the matching task: a search page (`/fr/offres-d-emploi?search=design&workMode=remote`) searches offers, applying every filter and the page number the link carries; the company directory (`/fr/entreprises`) lists companies; a company board (`/fr/entreprises/<alias>/offres-d-emploi`) lists that company's offers; a company profile (`/fr/entreprises/<alias>/presentation`) fetches that company's profile; an offer link (`/offres-d-emploi/<sector>/<slug>` or `/entreprises/<alias>/offres-d-emploi/<slug>`) fetches that offer. Browse indexes (`/offres-d-emploi/region`, `/secteur`, `/fonction`, `/mots-cles/...`) are lists of links, not results: follow one of their links and paste that instead."
          },
          "maxItems": {
            "title": "Maximum rows",
            "minimum": 0,
            "maximum": 5000000,
            "type": "integer",
            "description": "Row cap for the whole run, across every page. 0 means no cap.",
            "default": 200
          },
          "q": {
            "title": "Keyword",
            "type": "string",
            "description": "Words the offer's title or tags must contain. Narrows the pasted link's search when set."
          },
          "sector": {
            "title": "Sector",
            "type": "string",
            "description": "Sector label, e.g. `Informatique, Télécom, Internet`, or its 40-hex id."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Wilaya of the job, e.g. `Alger` or `Oran` (the site filters by wilaya), or a 40-hex location id from a previous run."
          },
          "profession": {
            "title": "Profession",
            "type": "string",
            "description": "Profession label, e.g. `Comptabilité, Finance`."
          },
          "workMode": {
            "title": "Work mode",
            "enum": [
              "onsite",
              "remote",
              "hybrid"
            ],
            "type": "string",
            "description": "`onsite`, `remote` or `hybrid`."
          },
          "contractType": {
            "title": "Contract type",
            "type": "string",
            "description": "Contract type label, e.g. `CDI`, `CDD Ou Mission`."
          },
          "jobLevel": {
            "title": "Job level",
            "type": "string",
            "description": "Seniority label, e.g. `Confirmé / Expérimenté`."
          },
          "educationLevel": {
            "title": "Education level",
            "type": "string",
            "description": "Diploma label, e.g. `Bac+5 et plus`."
          },
          "experienceYears": {
            "title": "Experience",
            "type": "string",
            "description": "Experience band label, e.g. `3 À 5 Ans`."
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Newest (`desc`) or oldest (`asc`) first.",
            "default": "desc"
          },
          "maxPagesPerQuery": {
            "title": "Maximum pages per list",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop each list after this many result pages. 0 = page to the end of the result set.",
            "default": 0
          },
          "pageSize": {
            "title": "Rows per page",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many rows the site returns per page.",
            "default": 20
          },
          "startPage": {
            "title": "Starting page",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "First result page to fetch. A `page` parameter in a pasted URL sets it in auto mode; use it to resume a run or start mid-list.",
            "default": 1
          },
          "requestDelayMs": {
            "title": "Delay between pages (ms)",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Pause between two page requests.",
            "default": 700
          },
          "maxRequestRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How many times a failed request is retried before it is given up on.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy to rotate egress through. Leave empty for direct access."
          },
          "debugIncludeRaw": {
            "title": "Debug: include raw source record",
            "type": "boolean",
            "description": "Add the source record to every row, for debugging.",
            "default": false
          },
          "startMode": {
            "title": "What to scrape",
            "enum": [
              "auto",
              "jobsSearch",
              "companies",
              "companyJobs",
              "companyDetail",
              "jobDetail"
            ],
            "type": "string",
            "description": "Task selector. `auto` detects the task from the pasted URL and covers all five explicit modes; `jobsSearch` searches offers, `companies` lists the directory, `companyJobs` one company's board, `companyDetail` one company's profile, `jobDetail` one offer.",
            "default": "auto"
          },
          "companyAlias": {
            "title": "Company alias",
            "type": "string",
            "description": "Company alias, e.g. `yassir`. Used by `companyJobs` and `companyDetail` when no URL is pasted; in a search it scopes the results to that employer (the same thing a `?company=` link does)."
          },
          "companySearch": {
            "title": "Company name search",
            "type": "string",
            "description": "Company-name search for the directory (`companies` mode without a URL)."
          },
          "companySector": {
            "title": "Company sector",
            "type": "string",
            "description": "Sector label to filter the directory."
          },
          "companyLocation": {
            "title": "Company location",
            "type": "string",
            "description": "Wilaya label to filter the directory, e.g. `Alger`."
          },
          "jobId": {
            "title": "Job ID",
            "type": "string",
            "description": "Offer id (UUID) for `jobDetail` without a URL."
          },
          "jobAlias": {
            "title": "Job slug",
            "type": "string",
            "description": "Offer slug, e.g. `motion-designer-pqmp4`."
          },
          "jobUrls": {
            "title": "Job page URLs",
            "type": "array",
            "description": "Several offer URLs in one run (a pasted URL covers a single offer).",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}