{
  "openapi": "3.0.1",
  "info": {
    "title": "Upwork Job Scraper",
    "description": "Automatically and efficiently scrape Upwork.com job listings.",
    "version": "0.0",
    "x-build-id": "bDqYfIVLDeZ8CaAdh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deltaspider~upwork-job-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deltaspider-upwork-job-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/deltaspider~upwork-job-scraper/runs": {
      "post": {
        "operationId": "runs-sync-deltaspider-upwork-job-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/deltaspider~upwork-job-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-deltaspider-upwork-job-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": {
          "search_urls": {
            "title": "Upwork.com search URLs",
            "type": "array",
            "description": "Upwork.com search URLs to scrape.",
            "items": {
              "type": "string"
            }
          },
          "limit": {
            "title": "Max results",
            "type": "integer",
            "description": "Maximum number of job results that should be scraped.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include additional details",
            "type": "boolean",
            "description": "If checked then the actor will retrieve more details about each job. This will increase the time it takes to scrape the jobs and some job details may not be available."
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select proxy to be used by crawler."
          },
          "userQuery": {
            "title": "Search",
            "type": "string",
            "description": "Search keywords"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "recency",
              "relevance+desc"
            ],
            "type": "string",
            "description": "Sort by",
            "default": "recency"
          },
          "category": {
            "title": "Category",
            "enum": [
              "531770282584862721",
              "1534904461833879552",
              "531770282601639943",
              "531770282601639945",
              "531770282601639946",
              "531770282601639944",
              "531770282601639947",
              "531770282580668416",
              "531770282584862724",
              "531770282584862725",
              "531770282584862728",
              "531770282584862726",
              "531770282580668417",
              "1484275072572772352",
              "531770282584862730",
              "531770282580668420",
              "531770282593251330",
              "531770282593251331",
              "531770282589057038",
              "531770282593251329",
              "531770282580668421",
              "531770282593251335",
              "531770282593251341",
              "1044578476142100480",
              "1356688560628174848",
              "531770282593251334",
              "1356688565288046592",
              "531770282593251340",
              "531770282601639953",
              "1356688570056970240",
              "531770282584862722",
              "531770282601639949",
              "531770282605834240",
              "531770282601639950",
              "531770282605834241",
              "531770282601639951",
              "531770282605834242",
              "531770282601639952",
              "1301900647896092672",
              "531770282601639948",
              "531770282580668419",
              "531770282589057033",
              "531770282589057034",
              "531770282589057036",
              "531770282589057035",
              "531770282589057037",
              "531770282584862723",
              "531770282605834246",
              "1484275156546932736",
              "531770283696353280",
              "1484275408410693632",
              "531770282580668422",
              "531770282597445636",
              "531770282597445634",
              "531770282593251343",
              "531770282584862720",
              "1534904461842268160",
              "531770282601639939",
              "531770282580668418",
              "1517518458442309632",
              "1737190722360750082",
              "531770282589057025",
              "531770282589057026",
              "531770282589057027",
              "531770282589057024",
              "531770282589057032",
              "531770282589057030",
              "531770282589057031",
              "531770282589057028",
              "531770282589057029",
              "531770282584862733",
              "531770282580668423",
              "1534904462131675136",
              "1301900640421842944",
              "531770282597445644",
              "531770282597445646"
            ],
            "type": "string",
            "description": "Filter by category"
          },
          "contractorTier": {
            "title": "Experience Level",
            "type": "array",
            "description": "Filter by experience level",
            "items": {
              "type": "string",
              "enum": [
                "EntryLevel",
                "IntermediateLevel",
                "ExpertLevel"
              ],
              "enumTitles": [
                "Entry Level",
                "Intermediate",
                "Expert"
              ]
            },
            "default": []
          },
          "durationV3": {
            "title": "Project length",
            "type": "array",
            "description": "Filter by project 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"
              ]
            },
            "default": []
          },
          "jobType": {
            "title": "Job type",
            "type": "array",
            "description": "Filter by job type",
            "items": {
              "type": "string",
              "enum": [
                "hourly",
                "fixed"
              ],
              "enumTitles": [
                "Hourly",
                "Fixed-Price"
              ]
            },
            "default": []
          },
          "hourlyRateMin": {
            "title": "Min hourly rate",
            "type": "integer",
            "description": "Minimum hourly rate"
          },
          "hourlyRateMax": {
            "title": "Max hourly rate",
            "type": "integer",
            "description": "Maximum hourly rate"
          },
          "budget": {
            "title": "Fixed-price budget",
            "type": "array",
            "description": "Filter by fixed-price budget",
            "items": {
              "type": "string",
              "enum": [
                "0-99",
                "100-499",
                "500-999",
                "1000-4999",
                "5000-"
              ],
              "enumTitles": [
                "Less than $100",
                "$100 to $500",
                "$500 - 1K",
                "$1K - $5K",
                "$5K+"
              ]
            },
            "default": []
          },
          "fixedPriceMin": {
            "title": "Min fixed-price",
            "type": "integer",
            "description": "Minimum fixed-price"
          },
          "fixedPriceMax": {
            "title": "Max fixed-price",
            "type": "integer",
            "description": "Maximum fixed-price"
          },
          "clientHires": {
            "title": "Client history",
            "type": "array",
            "description": "Filter by client history",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1-9",
                "10-"
              ],
              "enumTitles": [
                "No hires",
                "1 to 9 hires",
                "10+ hires"
              ]
            },
            "default": []
          },
          "isCanary": {
            "title": "Canary run",
            "type": "boolean",
            "description": "Marks this run as a Fleet Monitor canary. When enabled, ALL other input is ignored and the actor runs its fixed, known-fertile canary input instead, so canary runs stay a stable baseline.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}