{
  "openapi": "3.0.1",
  "info": {
    "title": "GotFriends Jobs Scraper",
    "description": "Extract complete public GotFriends.co.il JobPosting records with bounded search, single, and multiple modes. The Actor fails closed on access-control challenges and does not use private APIs or bypasses.",
    "version": "1.1",
    "x-build-id": "AXuLemL6BuJ3nfzj9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jobsapi~gotfriends-jobs-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jobsapi-gotfriends-jobs-search-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/jobsapi~gotfriends-jobs-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jobsapi-gotfriends-jobs-search-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/jobsapi~gotfriends-jobs-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jobsapi-gotfriends-jobs-search-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "single",
              "multiple"
            ],
            "type": "string",
            "description": "Search a public listing, enrich one exact job URL, or enrich several exact job URLs.",
            "default": "search"
          },
          "startUrls": {
            "title": "GotFriends listing URLs",
            "maxItems": 10,
            "type": "array",
            "description": "Public GotFriends listing or home-page URLs used in search mode.",
            "items": {
              "type": "string",
              "pattern": "^https://(?:www\\.)?gotfriends\\.co\\.il(?:/[^?#]*)?(?:\\?.*)?$"
            }
          },
          "jobUrls": {
            "title": "Exact job URLs",
            "maxItems": 100,
            "type": "array",
            "description": "Public GotFriends detail URLs for single or multiple mode.",
            "items": {
              "type": "string",
              "pattern": "^https://(?:www\\.)?gotfriends\\.co\\.il/(?:[^?#]*/)*(?:jobs?|positions?|vacancies?|careers?)/[^/?#]+/?(?:\\?.*)?$"
            }
          },
          "jobUrl": {
            "title": "Single job URL",
            "pattern": "^https://(?:www\\.)?gotfriends\\.co\\.il/(?:[^?#]*/)*(?:jobs?|positions?|vacancies?|careers?)/[^/?#]+/?(?:\\?.*)?$",
            "type": "string",
            "description": "Convenience alias for one exact public detail URL."
          },
          "searchQuery": {
            "title": "Search term",
            "maxLength": 150,
            "type": "string",
            "description": "Optional term recorded with the run; the public listing URL remains the source of search results."
          },
          "query": {
            "title": "Search-term alias",
            "maxLength": 150,
            "type": "string",
            "description": "Alias for searchQuery."
          },
          "page": {
            "title": "Starting page",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "First public result page.",
            "default": 1
          },
          "maxPages": {
            "title": "Maximum pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Bounded number of public result pages in search mode.",
            "default": 1
          },
          "maxItems": {
            "title": "Maximum jobs",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum complete public jobs to emit.",
            "default": 5
          },
          "includeDetails": {
            "title": "Enrich public details",
            "type": "boolean",
            "description": "Fetch each public detail page and require a complete rich record.",
            "default": true
          },
          "includeRawData": {
            "title": "Include raw JobPosting JSON-LD",
            "type": "boolean",
            "description": "Include the original structured payload; disabled by default to reduce dataset size.",
            "default": false
          },
          "timeoutSecs": {
            "title": "Request timeout",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Per-request timeout in seconds.",
            "default": 20
          },
          "maxRetries": {
            "title": "Retries",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Bounded retries for transient failures only; access denials, throttles, and visible challenges are never retried.",
            "default": 1
          },
          "concurrency": {
            "title": "Detail concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Bounded parallel detail requests.",
            "default": 3
          },
          "requestDelayMs": {
            "title": "Request spacing",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Minimum spacing between public requests in milliseconds.",
            "default": 150
          },
          "maxRequests": {
            "title": "Request budget",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Hard upper bound for listing and detail requests.",
            "default": 50
          },
          "userAgent": {
            "title": "Browser user agent",
            "maxLength": 300,
            "type": "string",
            "description": "Ordinary browser-compatible user agent. Do not use it to impersonate a person or bypass access controls.",
            "default": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}