{
  "openapi": "3.0.1",
  "info": {
    "title": "PeoplePerHour Job Scraper",
    "description": "PeoplePerHour Job Scraper extracts open freelance jobs by keyword, category slug, or listing URL. Each row is one project: title, full brief, budget, client name and city, proposal count, and urgency badges. No login. Hourlies, profiles, and job-detail URLs stay out of scope.",
    "version": "1.0",
    "x-build-id": "ywzIeiH3naRuzpN7b"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~peopleperhour-job-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-peopleperhour-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/memo23~peopleperhour-job-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-peopleperhour-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/memo23~peopleperhour-job-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-peopleperhour-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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Free-text searches. Each value becomes PeoplePerHour's own `keyword` query (not `q` — that param does not filter). Example: wordpress, logo design.",
            "items": {
              "type": "string"
            }
          },
          "categorySlugs": {
            "title": "Category slugs",
            "type": "array",
            "description": "PeoplePerHour category path slugs. Allowed values: artificial-intelligence, technology-programming, writing-translation, design, digital-marketing, video-photography, business, music-audio, marketing-branding-sales, social-media.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "PeoplePerHour listing URLs",
            "type": "array",
            "description": "Full /freelance-jobs URLs, including category pages and URLs with your own filters already applied. Job detail URLs are skipped.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sortBy": {
            "title": "Sort listings by",
            "enum": [
              "latest",
              "popularity",
              "ending",
              "budget",
              "relevance"
            ],
            "type": "string",
            "description": "Applied to keyword and category searches. Listing URLs keep whatever sort is already in the URL.",
            "default": "latest"
          },
          "priceType": {
            "title": "Price type",
            "enum": [
              "fixed_price",
              "hourly"
            ],
            "type": "string",
            "description": "Limit keyword/category searches to fixed-price or hourly jobs. Leave unset for both."
          },
          "experienceLevel": {
            "title": "Experience level",
            "enum": [
              "entry",
              "intermediate",
              "expert"
            ],
            "type": "string",
            "description": "Keep only jobs whose budget bracket matches this level: entry, intermediate, or expert. Leave unset for all three. Applied after each listing page is parsed, including pasted URLs."
          },
          "postedWithin": {
            "title": "Posted within",
            "enum": [
              "24h",
              "7d",
              "30d"
            ],
            "type": "string",
            "description": "Keep only jobs posted in this window: 24h, 7d, or 30d, measured from the run start. Leave unset for any age. On sort=latest the crawl stops once a page is older than the window."
          },
          "remoteOnly": {
            "title": "Remote only",
            "type": "boolean",
            "description": "Only return openly remote projects on keyword/category searches.",
            "default": false
          },
          "onlyUniqueProjects": {
            "title": "Only unique projects",
            "type": "boolean",
            "description": "Deduplicate by project ID across keywords, categories, and pages.",
            "default": true
          },
          "includeDescription": {
            "title": "Include full project description",
            "type": "boolean",
            "description": "The listing JSON already contains the full brief. Turn off for smaller rows (title, budget, client, URL only).",
            "default": true
          },
          "maxItems": {
            "title": "Maximum jobs",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on jobs written to the dataset (and billed). Leave empty to use 50, or to let item_limit apply. Example: 25."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Reserved for parallel listing starts. Pagination is sequential so the item cap stays exact.",
            "default": 6
          },
          "queries": {
            "title": "queries (alias of searchQueries)",
            "type": "array",
            "description": "Drop-in alias for searchQueries. Used when searchQueries is empty. Same values: free-text keywords such as wordpress. Default: unused.",
            "items": {
              "type": "string"
            }
          },
          "item_limit": {
            "title": "item_limit (alias of maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Drop-in alias for maxItems. Used when maxItems is omitted. Hard cap on jobs written and billed. Example: 30. Default: unused."
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "PeoplePerHour has returned HTTP 202 on datacenter exits in the Apify cloud. Default is residential pinned to GB.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "GB"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}