{
  "openapi": "3.0.1",
  "info": {
    "title": "HiringCafe Job Scraper API - Jobs, Salaries & Remote Work",
    "description": "Scrape HiringCafe job postings from the curated Hiring.cafe job board index: search by role, location, remote work and published salary, then get companies, ATS application links and pay in every row. A job scraper API on Apify for recruiting tools and job alerts.",
    "version": "0.1",
    "x-build-id": "plhgMptahnB3BGmrq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrape_api~hiringcafe-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrape_api-hiringcafe-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/scrape_api~hiringcafe-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrape_api-hiringcafe-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/scrape_api~hiringcafe-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrape_api-hiringcafe-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": {
          "query": {
            "title": "Query",
            "maxLength": 1000,
            "type": "string",
            "description": "Job title or search keywords. Explicit fields override corresponding search_url filters."
          },
          "search_url": {
            "title": "Search url",
            "maxLength": 20000,
            "type": "string",
            "description": "Full HTTPS search URL from hiringcafe.com or hiring.cafe containing searchState JSON. Shared /s/ links are unsupported. Without a location, searches worldwide."
          },
          "location": {
            "title": "Location",
            "maxLength": 500,
            "type": "string",
            "description": "City, region or country name to resolve using HiringCafe location suggestions. An exact label match is preferred."
          },
          "country": {
            "title": "Country",
            "minLength": 2,
            "maxLength": 2,
            "type": "string",
            "description": "Uppercase ISO 3166-1 alpha-2 country code. Creates a country filter without location; otherwise guides location lookup."
          },
          "radius_miles": {
            "title": "Radius miles",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Radius for city or postal-code searches in miles. Default 50."
          },
          "workplace_types": {
            "title": "Workplace types",
            "type": "array",
            "description": "Allowed workplace types. Overrides remote_only and the URL workplace filter. Empty means all.",
            "items": {
              "type": "string"
            }
          },
          "remote_only": {
            "title": "Remote only",
            "type": "boolean",
            "description": "Restrict to Remote jobs, unless workplace_types is explicitly supplied. Default false."
          },
          "commitment_types": {
            "title": "Commitment types",
            "type": "array",
            "description": "Filter by work commitment.",
            "items": {
              "type": "string"
            }
          },
          "seniority_levels": {
            "title": "Seniority levels",
            "type": "array",
            "description": "Filter by seniority.",
            "items": {
              "type": "string"
            }
          },
          "min_salary": {
            "title": "Min salary",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum compensation in salary_period. Amounts and currency are never inferred."
          },
          "salary_period": {
            "title": "Salary period",
            "enum": [
              "Hourly",
              "Daily",
              "Weekly",
              "Bi-Weekly",
              "Monthly",
              "Yearly"
            ],
            "type": "string",
            "description": "Period for min_salary. Defaults to Yearly unless provided by search_url."
          },
          "salary_currency": {
            "title": "Salary currency",
            "minLength": 3,
            "maxLength": 3,
            "type": "string",
            "description": "Restrict to an uppercase ISO 4217 currency, such as USD or EUR."
          },
          "only_transparent_salaries": {
            "title": "Only transparent salaries",
            "type": "boolean",
            "description": "Only jobs with published compensation. Default false; recommended with min_salary."
          },
          "posted_within_days": {
            "title": "Posted within days",
            "minimum": 1,
            "maximum": 121,
            "type": "integer",
            "description": "Filter by the source dateFetchedPastNDays field. Source default 121 days."
          },
          "company_names": {
            "title": "Company names",
            "type": "array",
            "description": "Company names passed to the source company filter.",
            "items": {
              "type": "string"
            }
          },
          "sort_by": {
            "title": "Sort by",
            "enum": [
              "default",
              "date",
              "date_asc",
              "compensation_desc",
              "compensation_asc",
              "experience_asc",
              "experience_desc"
            ],
            "type": "string",
            "description": "Source ordering. A changing index can change ordering between cursor requests."
          },
          "include_description": {
            "title": "Include description",
            "type": "boolean",
            "description": "Fetch original HTML and plain text per delivered job. Missing descriptions are reported in warnings and never counted as successful enrichment.",
            "default": false
          },
          "max_items": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Total unique jobs across this request and all cursor continuations. Default 100; maximum 5000.",
            "default": 100
          },
          "cursor": {
            "title": "Cursor",
            "maxLength": 2000000,
            "type": "string",
            "description": "Opaque next_cursor from the previous response. Reuse all original input fields and max_items unchanged."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}