{
  "openapi": "3.0.1",
  "info": {
    "title": "Upwork Jobs Scraper",
    "description": "Scrapes Upwork freelance job listings by keyword with full search filters (sort, experience, job type, budget, hourly rate, client history, location, timezone, project duration, workload).",
    "version": "1.0",
    "x-build-id": "4oanal8q4EqMCEqpV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rigelbytes~upwork-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rigelbytes-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/rigelbytes~upwork-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rigelbytes-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/rigelbytes~upwork-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rigelbytes-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",
        "required": [
          "searchQueries"
        ],
        "properties": {
          "searchQueries": {
            "title": "Search Queries",
            "type": "array",
            "description": "Keywords to search on Upwork job listings (e.g. scraping, python developer).",
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevance",
              "newest"
            ],
            "type": "string",
            "description": "How to sort results.",
            "default": "relevance"
          },
          "jobTypes": {
            "title": "Job Types",
            "type": "array",
            "description": "Filter by hourly and/or fixed-price jobs.",
            "items": {
              "type": "string",
              "enum": [
                "hourly",
                "fixed"
              ]
            },
            "default": []
          },
          "experienceLevels": {
            "title": "Experience Levels",
            "type": "array",
            "description": "Required freelancer experience level.",
            "items": {
              "type": "string",
              "enum": [
                "entry",
                "intermediate",
                "expert"
              ]
            },
            "default": []
          },
          "category2Uids": {
            "title": "Category UIDs",
            "type": "array",
            "description": "Upwork category2_uid values from the site (optional). Example: 531770282584862721 for Web Scraping.",
            "default": []
          },
          "locations": {
            "title": "Client Locations",
            "type": "array",
            "description": "Client location country names (e.g. United States, Germany).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "timezones": {
            "title": "Client Time Zones",
            "type": "array",
            "description": "Client time zone codes (e.g. EST, EET, PST).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "clientHires": {
            "title": "Client Hire History",
            "type": "array",
            "description": "Filter by how many hires the client has made on Upwork.",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1-9",
                "10-"
              ]
            },
            "default": []
          },
          "budgetRanges": {
            "title": "Fixed Budget Ranges",
            "type": "array",
            "description": "Fixed-price budget filters.",
            "items": {
              "type": "string",
              "enum": [
                "less_than_100",
                "100_to_499",
                "500_to_999",
                "1000_to_4999",
                "5000_plus",
                "unspecified"
              ]
            },
            "default": []
          },
          "hourlyRate": {
            "title": "Hourly Rate Range",
            "type": "string",
            "description": "Hourly rate filter in Upwork format (e.g. 20-50, 20-, -30). Overrides hourlyRateMin/Max when set.",
            "default": ""
          },
          "hourlyRateMin": {
            "title": "Hourly Rate Min",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum hourly rate in USD (used when hourlyRate is empty)."
          },
          "hourlyRateMax": {
            "title": "Hourly Rate Max",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum hourly rate in USD (used when hourlyRate is empty)."
          },
          "projectDurations": {
            "title": "Project Length",
            "type": "array",
            "description": "Project duration filters.",
            "items": {
              "type": "string",
              "enum": [
                "less_than_one_month",
                "one_to_three_months",
                "three_to_six_months",
                "more_than_six_months"
              ]
            },
            "default": []
          },
          "workloads": {
            "title": "Hours Per Week",
            "type": "array",
            "description": "Weekly workload filters.",
            "items": {
              "type": "string",
              "enum": [
                "less_than_30_hours",
                "more_than_30_hours",
                "as_needed",
                "part_time",
                "full_time"
              ]
            },
            "default": []
          },
          "contractToHire": {
            "title": "Contract-to-Hire Only",
            "type": "boolean",
            "description": "Only return contract-to-hire opportunities.",
            "default": false
          },
          "pageSize": {
            "title": "Page Size",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Number of jobs per API page (Upwork default is 10).",
            "default": 10
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of job records to scrape (0 = unlimited). Free Apify plan users are limited to 10 jobs per run.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Residential proxy used for all GraphQL API requests.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}