{
  "openapi": "3.0.1",
  "info": {
    "title": "Himalayas Remote Jobs Scraper – Real-Time Data",
    "description": "Collect live Himalayas remote jobs in real time: keyword search with country, seniority, and contract filters, full-feed browse, company tracking, and URL lookup. Structured JSON streamed to your dataset as each record is finalized.",
    "version": "0.0",
    "x-build-id": "lROTvcH7EKr32ZO4n"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2b_leads~Himalayas-Real-Time-Data-Scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2b_leads-Himalayas-Real-Time-Data-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/b2b_leads~Himalayas-Real-Time-Data-Scraper/runs": {
      "post": {
        "operationId": "runs-sync-b2b_leads-Himalayas-Real-Time-Data-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/b2b_leads~Himalayas-Real-Time-Data-Scraper/run-sync": {
      "post": {
        "operationId": "run-sync-b2b_leads-Himalayas-Real-Time-Data-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": {
          "enableJobSearch": {
            "title": "Job search",
            "type": "boolean",
            "description": "Search live Himalayas remote jobs by keyword with optional country, seniority, and employment-type filters. Returns fast cards: title, company, locations, salary when shown, and snippet. On by default.",
            "default": true
          },
          "jobKeywords": {
            "title": "Job keywords",
            "type": "array",
            "description": "Keywords for the Himalayas search, e.g. \"software engineer\", \"product designer\", \"customer success\". One search runs per keyword.",
            "default": [
              "software engineer"
            ],
            "items": {
              "type": "string"
            }
          },
          "jobCountry": {
            "title": "Country filter",
            "type": "string",
            "description": "Limit results to jobs open in one country, e.g. \"United States\", \"Germany\", \"India\". Leave empty to search worldwide.",
            "default": ""
          },
          "worldwideOnly": {
            "title": "Worldwide-only jobs",
            "type": "boolean",
            "description": "Only return jobs open to applicants worldwide. Off by default.",
            "default": false
          },
          "seniority": {
            "title": "Seniority",
            "type": "array",
            "description": "Filter by seniority level. Valid values: Entry-level, Mid-level, Senior, Manager, Director, Executive. Empty means all levels.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "employmentType": {
            "title": "Employment type",
            "type": "array",
            "description": "Filter by contract type. Valid values: Full Time, Part Time, Contractor, Temporary, Intern, Volunteer, Other. Empty means all types.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "jobSort": {
            "title": "Sort order",
            "enum": [
              "relevant",
              "recent",
              "salaryAsc",
              "salaryDesc",
              "nameAToZ",
              "nameZToA",
              "jobs"
            ],
            "type": "string",
            "description": "Sort order for search results: best match, newest first, salary, or company name.",
            "default": "relevant"
          },
          "jobsPerQuery": {
            "title": "Jobs per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap the number of jobs collected per keyword search. This is the main cost lever for job search.",
            "default": 10
          },
          "fetchFullDetails": {
            "title": "Fetch full details",
            "type": "boolean",
            "description": "Enrich each job row in place with its full description text, posting and expiry dates. Every job is still exported even when details are unavailable (nothing is dropped). Adds a little extra time per record.",
            "default": false
          },
          "enableBrowseFeed": {
            "title": "Browse full feed",
            "type": "boolean",
            "description": "Walk the full live Himalayas remote-jobs feed, newest first, with no keyword filter. Useful for backfills and market-wide scans. Off by default — turn on and set the cap.",
            "default": false
          },
          "feedMaxJobs": {
            "title": "Max feed jobs",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap the number of jobs collected from the full feed (only used when Browse full feed is enabled).",
            "default": 10
          },
          "enableCompanyJobs": {
            "title": "Company jobs",
            "type": "boolean",
            "description": "Collect live remote openings at specific companies by slug, e.g. \"stripe\", \"lemon-io\". Runs one filtered search per company. Off by default — turn on and add company slugs.",
            "default": false
          },
          "companySlugs": {
            "title": "Company slugs",
            "type": "array",
            "description": "Company slugs to collect openings for (only used when Company jobs is enabled). Use the slug from the company's Himalayas URL, e.g. \"stripe\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "jobsPerCompany": {
            "title": "Jobs per company",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap the number of jobs collected per company.",
            "default": 10
          },
          "enableScrapeByUrl": {
            "title": "Scrape by URL",
            "type": "boolean",
            "description": "Collect full job records from explicit Himalayas job URLs (himalayas.app/companies/.../jobs/...). Off by default — turn on and paste URLs.",
            "default": false
          },
          "jobUrls": {
            "title": "Job URLs",
            "type": "array",
            "description": "Himalayas job page URLs to collect (only used when Scrape by URL is enabled).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. Every record is always saved to the run's dataset — this webhook is an ADDITIONAL real-time push. When set, each new record is also delivered to this URL (CRM, Slack incoming webhook, Zapier, Make, Google Sheets).",
            "default": ""
          },
          "webhookFormat": {
            "title": "Webhook format",
            "enum": [
              "json",
              "slack"
            ],
            "type": "string",
            "description": "Payload format for the webhook push: raw JSON record, or a Slack-friendly message.",
            "default": "json"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy for Himalayas collection. Residential US proxies are recommended for the freshest results.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}