{
  "openapi": "3.0.1",
  "info": {
    "title": "4dayweek.io Jobs: 4/Four Day Work Week, Remote Job Listings",
    "description": "4-day week jobs from 4dayweek.io's public API at $0.90 per 1,000 jobs; filtered jobs and errors are free. Title, company, schedule type, hours, remote, location, salary, skills, date, job link. Filters: schedule, category, level, country, skills, salary, text. Only-new mode.",
    "version": "0.1",
    "x-build-id": "dLgrVKPGpU8OPRCgy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data-for-agents~4dayweek-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data-for-agents-4dayweek-jobs-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/data-for-agents~4dayweek-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-data-for-agents-4dayweek-jobs-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/data-for-agents~4dayweek-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-data-for-agents-4dayweek-jobs-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": {
          "schedules": {
            "title": "Schedule types",
            "type": "array",
            "description": "Schedule types, 4dayweek.io's own tags. Default 4_day_week: 36 hours or less at full pay, the only true 4-day week. Send [] for every type. Other reduced hours: 4_day_week_pro_rata, 9_day_fortnight, half_day_fridays, rotating_4_day, summer_fridays, part_time. compressed_week is 40 hours in 4 days, not a 4-day week; the rest are full weeks with a flexibility or leave policy.",
            "items": {
              "type": "string",
              "enum": [
                "4_day_week",
                "4_day_week_pro_rata",
                "9_day_fortnight",
                "half_day_fridays",
                "rotating_4_day",
                "summer_fridays",
                "part_time",
                "compressed_week",
                "async_hours",
                "flexible_hours",
                "unlimited_pto",
                "generous_pto",
                "flex_fridays",
                "no_meeting_days",
                "generous_parental_leave",
                "best_place_to_work"
              ],
              "enumTitles": [
                "4-day week (36 h or less, full pay)",
                "4-day week (pro-rata pay)",
                "9-day fortnight",
                "Half-day Fridays",
                "Rotating 4-day week",
                "Summer Fridays",
                "Part time",
                "Compressed week (40 h in 4 days)",
                "Async hours (full week)",
                "Flexible hours (full week)",
                "Unlimited PTO (full week)",
                "Generous PTO (full week)",
                "Flex Fridays (full week)",
                "No-meeting days (full week)",
                "Generous parental leave (full week)",
                "Best place to work (full week)"
              ]
            },
            "default": [
              "4_day_week"
            ]
          },
          "query": {
            "title": "Search text",
            "type": "string",
            "description": "Full-text search over job titles and descriptions, run by 4dayweek.io. It matches broadly (any of the words), so one or two distinctive words work best. Example: python. Empty: no text search."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Job categories, for example [\"engineering\", \"data\"]. A job matches if it is in any of them. Empty: every category.",
            "items": {
              "type": "string",
              "enum": [
                "engineering",
                "product",
                "design",
                "marketing",
                "sales",
                "data",
                "devops",
                "finance",
                "hr",
                "legal",
                "operations",
                "security",
                "content",
                "customer-success",
                "other"
              ],
              "enumTitles": [
                "Engineering",
                "Product",
                "Design",
                "Marketing",
                "Sales",
                "Data",
                "DevOps",
                "Finance",
                "HR",
                "Legal",
                "Operations",
                "Security",
                "Content",
                "Customer success",
                "Other"
              ]
            },
            "default": []
          },
          "levels": {
            "title": "Seniority levels",
            "type": "array",
            "description": "Seniority, for example [\"senior\", \"lead\"]. Empty: every level.",
            "items": {
              "type": "string",
              "enum": [
                "entry",
                "mid",
                "senior",
                "lead",
                "executive"
              ],
              "enumTitles": [
                "Entry",
                "Mid",
                "Senior",
                "Lead",
                "Executive"
              ]
            },
            "default": []
          },
          "workArrangements": {
            "title": "Work arrangements",
            "type": "array",
            "description": "remote, hybrid or onsite, for example [\"remote\"]. Empty: all three.",
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "hybrid",
                "onsite"
              ],
              "enumTitles": [
                "Remote",
                "Hybrid",
                "On-site"
              ]
            },
            "default": []
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "One country, in English: Germany, United Kingdom, United States (uk and usa work too). 4dayweek.io matches jobs with an office there and remote jobs open to it, worldwide remote jobs included (they have worldwide: true). Empty: anywhere."
          },
          "skills": {
            "title": "Skills",
            "type": "array",
            "description": "Skill, technology or tool slugs as 4dayweek.io writes them, lowercase and hyphenated: python, react, customer-support. A job matches if it has any of them. Empty: no skill filter.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "salaryMin": {
            "title": "Minimum salary",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "4dayweek.io's own salary filter, in whole units (80000, not cents): keeps jobs whose published salary range reaches this amount. Amounts are compared as the job states them, in its own currency. Jobs that publish no salary are left out. 0: off.",
            "default": 0
          },
          "salaryMax": {
            "title": "Maximum salary",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "4dayweek.io's own upper salary filter, in whole units, compared as the job states its salary. 0: off.",
            "default": 0
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Keep jobs the employer posted in the last N days, 1 to 365. New listings reach the API up to 48 hours after posting, so 1 or 2 rarely finds any: use 3 or more. 0: any date.",
            "default": 0
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "date",
              "salary"
            ],
            "type": "string",
            "description": "date (newest first) or salary (highest published salary first).",
            "default": "date"
          },
          "jobsToReturn": {
            "title": "Jobs to return: all, or only new jobs since the last run",
            "enum": [
              "all",
              "new"
            ],
            "type": "string",
            "description": "all: every job of the search. new: only jobs no earlier run of the same search returned, so a schedule gets each job once (the first run returns all as new). What was returned is remembered per search in a key-value store named fourdayweek-jobs-memory in your account.",
            "default": "all"
          },
          "maxJobs": {
            "title": "Max jobs",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many job rows: default 1,000, at most 5,000 per run. Each job row is charged; a free row says when this limit stopped the run.",
            "default": 1000
          },
          "includeDescription": {
            "title": "Include descriptions",
            "type": "boolean",
            "description": "Add each job's full description (plain text, up to about 15,000 characters). Off by default: rows are about ten times smaller without it, which suits AI agents.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}