{
  "openapi": "3.0.1",
  "info": {
    "title": "Upwork Jobs Scraper",
    "description": "Scrape new Upwork jobs by keyword, category and filters, with budget, skills, applicants and client country, spend, rating and payment verification. Incremental mode returns only new jobs.",
    "version": "0.1",
    "x-build-id": "tDzCx5RTqn9D41Arx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~upwork-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-upwork-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/automation-lab~upwork-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-upwork-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/automation-lab~upwork-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-upwork-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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "One Upwork job search per line, matched the way Upwork search matches them: all words must appear somewhere in the job (title, description or skills); use OR between words to match any (for example `react OR vue`). Results from all lines are combined and deduplicated by job ID. Leave empty with no URLs to list the newest jobs that match the filters below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Upwork search or job URLs",
            "type": "array",
            "description": "Paste Upwork job search URLs (https://www.upwork.com/nx/search/jobs/?q=...) to reuse the filters in the URL, or job URLs (https://www.upwork.com/jobs/~02...) to get those jobs. The filter fields below do not change a pasted search URL; the client filters (payment verified, spend, rating, applicants) still apply. Jobs that Upwork shows only to signed-in users are skipped.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Upwork categories or subcategories. A job matches if it is in any of them. Applies to keyword searches and the no-keyword listing.",
            "items": {
              "type": "string",
              "enum": [
                "Accounting & Consulting",
                "Accounting & Bookkeeping",
                "Financial Planning",
                "Management Consulting & Analysis",
                "Other - Accounting & Consulting",
                "Personal & Professional Coaching",
                "Recruiting & Human Resources",
                "Admin Support",
                "Data Entry & Transcription Services",
                "Market Research & Product Reviews",
                "Project Management",
                "Virtual Assistance",
                "Customer Service",
                "Community Management & Tagging",
                "Customer Service & Tech Support",
                "Data Science & Analytics",
                "AI & Machine Learning",
                "Data Analysis & Testing",
                "Data Extraction/ETL",
                "Data Mining & Management",
                "Design & Creative",
                "Art & Illustration",
                "Audio & Music Production",
                "Branding & Logo Design",
                "Graphic, Editorial & Presentation Design",
                "NFT, AR/VR & Game Art",
                "Performing Arts",
                "Photography",
                "Product Design",
                "Video & Animation",
                "Engineering & Architecture",
                "3D Modeling & CAD",
                "Building & Landscape Architecture",
                "Chemical Engineering",
                "Civil & Structural Engineering",
                "Contract Manufacturing",
                "Electrical & Electronic Engineering",
                "Energy & Mechanical Engineering",
                "Interior & Trade Show Design",
                "Physical Sciences",
                "IT & Networking",
                "Database Management & Administration",
                "DevOps & Solution Architecture",
                "ERP/CRM Software",
                "Information Security & Compliance",
                "Network & System Administration",
                "Legal",
                "Corporate & Contract Law",
                "Finance & Tax Law",
                "International & Immigration Law",
                "Public Law",
                "Sales & Marketing",
                "Digital Marketing",
                "Lead Generation & Telemarketing",
                "Marketing, PR & Brand Strategy",
                "Translation",
                "Language Tutoring & Interpretation",
                "Translation & Localization Services",
                "Web, Mobile & Software Dev",
                "AI Apps & Integration",
                "Blockchain, NFT & Cryptocurrency",
                "Desktop Application Development",
                "Ecommerce Development",
                "Game Design & Development",
                "Mobile Development",
                "Other - Software Development",
                "Product Management & Scrum",
                "QA Testing",
                "Scripts & Utilities",
                "Web & Mobile Design",
                "Web Development",
                "Writing",
                "Content Writing",
                "Editing & Proofreading Services",
                "Professional & Business Writing",
                "Sales & Marketing Copywriting"
              ]
            }
          },
          "jobType": {
            "title": "Job type",
            "enum": [
              "any",
              "hourly",
              "fixed"
            ],
            "type": "string",
            "description": "Hourly or fixed-price jobs.",
            "default": "any"
          },
          "experienceLevel": {
            "title": "Experience level",
            "type": "array",
            "description": "Experience levels the client asked for. A job matches any selected level.",
            "items": {
              "type": "string",
              "enum": [
                "entry",
                "intermediate",
                "expert"
              ],
              "enumTitles": [
                "Entry level",
                "Intermediate",
                "Expert"
              ]
            }
          },
          "fixedBudgetMin": {
            "title": "Fixed budget from (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum budget of fixed-price jobs. Setting a budget limits the search to fixed-price jobs unless Job type or an hourly rate says otherwise."
          },
          "fixedBudgetMax": {
            "title": "Fixed budget to (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum budget of fixed-price jobs."
          },
          "hourlyRateMin": {
            "title": "Hourly rate from (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Upwork keeps hourly jobs whose rate range reaches this rate (the job maximum is at least this). Setting a rate limits the search to hourly jobs unless Job type or a fixed budget says otherwise."
          },
          "hourlyRateMax": {
            "title": "Hourly rate to (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Upwork keeps hourly jobs whose rate range starts at or below this rate, so a job listed at $30–100/hr still matches a maximum of $80 (Upwork matches by range overlap)."
          },
          "projectLength": {
            "title": "Project length",
            "type": "array",
            "description": "Expected project length. A job matches any selected length.",
            "items": {
              "type": "string",
              "enum": [
                "week",
                "month",
                "semester",
                "ongoing"
              ],
              "enumTitles": [
                "Less than 1 month",
                "1 to 3 months",
                "3 to 6 months",
                "More than 6 months"
              ]
            }
          },
          "hoursPerWeek": {
            "title": "Hours per week",
            "type": "array",
            "description": "Workload of hourly jobs.",
            "items": {
              "type": "string",
              "enum": [
                "as_needed",
                "full_time"
              ],
              "enumTitles": [
                "Less than 30 hrs/week",
                "More than 30 hrs/week"
              ]
            }
          },
          "clientLocations": {
            "title": "Client locations",
            "type": "array",
            "description": "Client countries or regions as Upwork names them, for example `United States`, `United Kingdom`, `Europe`. A job matches any of them. Upwork filters this server-side.",
            "items": {
              "type": "string"
            }
          },
          "clientHires": {
            "title": "Client hire history",
            "type": "array",
            "description": "How many freelancers the client has hired before.",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1-9",
                "10-"
              ],
              "enumTitles": [
                "No hires",
                "1 to 9 hires",
                "10+ hires"
              ]
            }
          },
          "paymentVerifiedOnly": {
            "title": "Payment verified clients only",
            "type": "boolean",
            "description": "Keep only jobs whose client has a verified payment method. Checked on each job page, so it needs client details; jobs Upwork shows only to signed-in users are dropped.",
            "default": false
          },
          "minClientTotalSpent": {
            "title": "Minimum client total spent (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only clients who have spent at least this much on Upwork. Checked on each job page."
          },
          "minClientRating": {
            "title": "Minimum client rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only clients with at least this average rating (0 to 5). Clients with no rating are dropped. Checked on each job page."
          },
          "maxApplicants": {
            "title": "Maximum applicants",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only jobs with at most this many proposals so far, to find low-competition jobs. Checked on each job page."
          },
          "postedWithinHours": {
            "title": "Posted within (hours)",
            "minimum": 1,
            "type": "integer",
            "description": "Only jobs published in the last N hours. With newest-first sorting the search stops at the first older job."
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "recency",
              "relevance"
            ],
            "type": "string",
            "description": "Order of the Upwork search. Incremental mode and Posted within work best with Newest first.",
            "default": "recency"
          },
          "maxItems": {
            "title": "Max jobs",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Total jobs to return in this run, across all keywords and URLs. Upwork serves at most 5,000 results per search. Jobs removed by the client filters do not count.",
            "default": 20
          },
          "includeClientDetails": {
            "title": "Include applicants and client details",
            "type": "boolean",
            "description": "Open each job page to add the applicant count, interviews, hires, client country, city, total spent, rating, reviews, hires and payment verification. Turn off for faster runs with search fields only. The client filters turn it on.",
            "default": true
          },
          "incrementalMode": {
            "title": "Only new jobs (incremental)",
            "type": "boolean",
            "description": "Return only jobs this search setup has not returned before. The Actor remembers up to 5,000 job IDs in a key-value store named upwork-jobs-scraper-state in your account. Schedule it every few minutes to get new jobs as they are posted.",
            "default": false
          },
          "stateKey": {
            "title": "State name",
            "type": "string",
            "description": "Name for the remembered jobs in incremental mode. Leave empty to derive it from the keywords, URLs and filters; set it to share or reset the memory (a new name starts fresh)."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy works. Change it only if runs are blocked.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}