{
  "openapi": "3.0.1",
  "info": {
    "title": "Upwork Job Scrapper",
    "version": "0.0",
    "x-build-id": "7i3fCBdo9OCu8hf9t"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/songqingyu~Upwork-Job-Scrapper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-songqingyu-Upwork-Job-Scrapper",
        "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/songqingyu~Upwork-Job-Scrapper/runs": {
      "post": {
        "operationId": "runs-sync-songqingyu-Upwork-Job-Scrapper",
        "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/songqingyu~Upwork-Job-Scrapper/run-sync": {
      "post": {
        "operationId": "run-sync-songqingyu-Upwork-Job-Scrapper",
        "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": {
          "jobsDatasetId": {
            "title": "Jobs dataset",
            "type": "string",
            "description": "Pick the dataset that holds Upwork jobs, for example the default dataset of a run of an Upwork job scraper on your account. Rows from hyperbach, blackfalcondata and matthewjames are understood, and so are most rows with title, skills, budget and client fields. Leave this and the pasted jobs below empty to run a demo on 2 sample jobs."
          },
          "jobs": {
            "title": "Jobs (optional, pasted rows)",
            "type": "array",
            "description": "Alternative to the dataset ID: paste job rows here as JSON. Used first if both are given."
          },
          "profileName": {
            "title": "Profile name",
            "type": "string",
            "description": "Shown on every match. Useful when you schedule several profiles.",
            "default": "My profile"
          },
          "skills": {
            "title": "Your skills",
            "type": "array",
            "description": "What you offer, for example python, web scraping, react. Jobs that list none of these (or mention them) are skipped. Common spellings are understood (reactjs = react).",
            "items": {
              "type": "string"
            }
          },
          "hourlyRate": {
            "title": "Your hourly rate (USD)",
            "minimum": 0,
            "type": "number",
            "description": "The lowest hourly rate you accept. Jobs paying below it score lower and show a warning."
          },
          "minFixedBudget": {
            "title": "Minimum fixed-price budget (USD)",
            "minimum": 0,
            "type": "number",
            "description": "The smallest fixed-price job worth your time. Leave empty to ignore fixed budgets."
          },
          "experienceLevels": {
            "title": "Experience levels you accept",
            "type": "array",
            "description": "Leave empty to accept all.",
            "items": {
              "type": "string",
              "enum": [
                "entry",
                "intermediate",
                "expert"
              ],
              "enumTitles": [
                "Entry level",
                "Intermediate",
                "Expert"
              ]
            }
          },
          "jobTypes": {
            "title": "Job types you accept",
            "type": "array",
            "description": "Leave empty to accept both.",
            "items": {
              "type": "string",
              "enum": [
                "hourly",
                "fixed"
              ],
              "enumTitles": [
                "Hourly",
                "Fixed price"
              ]
            }
          },
          "country": {
            "title": "Your country",
            "type": "string",
            "description": "Jobs open only to freelancers from other countries are skipped."
          },
          "jobSuccessScore": {
            "title": "Your Job Success Score (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Jobs that require a higher score than yours are skipped. Leave empty if you have none yet."
          },
          "hasPortfolio": {
            "title": "I have a portfolio",
            "type": "boolean",
            "description": "Check if you have one. Leave unchecked to skip jobs that require a portfolio."
          },
          "excludeKeywords": {
            "title": "Words to avoid",
            "type": "array",
            "description": "Jobs mentioning any of these words are skipped, for example wordpress, unpaid trial.",
            "items": {
              "type": "string"
            }
          },
          "requirePaymentVerified": {
            "title": "Payment method must be verified",
            "type": "boolean",
            "description": "Skip clients who have not verified a payment method.",
            "default": true
          },
          "minClientSpent": {
            "title": "Client has spent at least (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Total the client has spent on Upwork."
          },
          "minClientHireRate": {
            "title": "Client hire rate at least (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Share of the client's jobs that ended in a hire. Not applied to clients with no hiring history."
          },
          "minClientRating": {
            "title": "Client rating at least (0 to 5)",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Average feedback the client received from freelancers."
          },
          "maxProposals": {
            "title": "At most this many proposals so far",
            "minimum": 0,
            "type": "integer",
            "description": "Skip crowded jobs."
          },
          "maxJobAgeHours": {
            "title": "Posted within the last (hours)",
            "minimum": 1,
            "type": "number",
            "description": "Skip older jobs. Useful for scheduled runs."
          },
          "minScore": {
            "title": "Minimum fit score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only jobs scoring at least this (0 to 100) and passing your rules are returned. Around 60 is a good start; raise it for fewer, better matches.",
            "default": 60
          },
          "maxItems": {
            "title": "Maximum matches per profile",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Best matches first. You are charged for each match returned.",
            "default": 20
          },
          "onlyNewJobs": {
            "title": "Only jobs not shown before",
            "type": "boolean",
            "description": "Remember which matches each profile already received and skip them, so a scheduled run returns fresh matches only.",
            "default": true
          },
          "trackingId": {
            "title": "Tracking ID",
            "type": "string",
            "description": "Name of the memory used by 'only jobs not shown before'. Change it to start over, or to keep separate schedules apart.",
            "default": "default"
          },
          "profiles": {
            "title": "Several profiles (agencies)",
            "type": "array",
            "description": "Optional. Score the same jobs for several freelancers at once: a list of profile objects, each with its own `name`. Used instead of the single profile above."
          },
          "profile": {
            "title": "Profile as JSON (optional)",
            "type": "object",
            "description": "The same fields as above in one JSON object. The form fields above win when both are given."
          },
          "maxJobsToScan": {
            "title": "Maximum jobs to read",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Upper limit of rows read from the dataset.",
            "default": 5000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}