{
  "openapi": "3.0.1",
  "info": {
    "title": "Job Market Analyst — Hiring Demand, Salaries & Skills Report",
    "description": "Hiring report for any role × location (\"data engineer\" in Berlin, \"nurse\" in Texas, remote): fresh postings count, top employers, seniority mix, remote share, posted salary ranges, top skills and posting age, from public job APIs and 74 career sites. $0.05 per report.",
    "version": "0.1",
    "x-build-id": "GuWVDt91ogjgyRkb7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actor-forge~job-market-analyst/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actor-forge-job-market-analyst",
        "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/actor-forge~job-market-analyst/runs": {
      "post": {
        "operationId": "runs-sync-actor-forge-job-market-analyst",
        "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/actor-forge~job-market-analyst/run-sync": {
      "post": {
        "operationId": "run-sync-actor-forge-job-market-analyst",
        "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",
        "required": [
          "roles"
        ],
        "properties": {
          "roles": {
            "title": "Roles / job titles",
            "type": "array",
            "description": "One role per line, e.g. \"data engineer\", \"nurse\", \"product manager\". A posting matches when its job title contains the role as a phrase (plural and German feminine endings count; \"product manager\" does not match \"Product Marketing Manager\", \"engineer\" does not match \"engineering\"). Add alternative titles with \"|\", e.g. \"nurse | RN | Pflegefachkraft\". Every role is reported for every location (max 20 reports per run).",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "One per line: \"Remote\" (optionally \"Remote US\", \"Remote Europe\"), a city (\"Berlin\", \"London\", \"Austin\"), a US state (\"Texas\" or \"TX\") or a country (\"Germany\", \"United Kingdom\"). German places also search the Bundesagentur für Arbeit (all occupations) within radiusKm. Empty = Remote.",
            "default": [
              "Remote"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxPostingsPerReport": {
            "title": "Max postings analysed per report",
            "minimum": 10,
            "maximum": 1000,
            "type": "integer",
            "description": "Sample size: the newest matching postings up to this number are analysed. The report says how many matched in total.",
            "default": 300
          },
          "minPostings": {
            "title": "Minimum postings for a report",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "If fewer postings match, you get a free explanatory row instead of a (charged) report, so you never pay for a statistic based on one or two ads.",
            "default": 5
          },
          "postedWithinDays": {
            "title": "Posted within (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Only postings first published in the last N days (postings without a date are kept). 0 = any age.",
            "default": 60
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Which sources to search. Each one is only used where it covers the location: Bundesagentur für Arbeit for German places; Remote OK and Jobicy for remote; Arbeitnow for remote and European places.",
            "items": {
              "type": "string",
              "enum": [
                "employer-boards",
                "smartrecruiters",
                "arbeitsagentur",
                "arbeitnow",
                "remoteok",
                "jobicy"
              ],
              "enumTitles": [
                "74 employer career sites (Greenhouse, Lever, Ashby)",
                "SmartRecruiters job search (all companies)",
                "Bundesagentur für Arbeit (Germany)",
                "Arbeitnow (Germany / Europe / remote)",
                "Remote OK (remote)",
                "Jobicy (remote)"
              ]
            },
            "default": [
              "employer-boards",
              "smartrecruiters",
              "arbeitsagentur",
              "arbeitnow",
              "remoteok",
              "jobicy"
            ]
          },
          "radiusKm": {
            "title": "Search radius for German places (km)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Radius around a German city or postcode for the Bundesagentur für Arbeit search.",
            "default": 25
          },
          "maxDescriptionFetches": {
            "title": "Max description look-ups per report",
            "minimum": 0,
            "maximum": 300,
            "type": "integer",
            "description": "Some sources list jobs without the ad text (Greenhouse career sites, Bundesagentur). Skills and posted pay are read from the full ad, so up to this many sampled postings get one extra request each. Lower = faster.",
            "default": 60
          },
          "customSkills": {
            "title": "Extra skills / keywords to count",
            "type": "array",
            "description": "Your own keywords to count on top of the built-in taxonomy of ~110 skills, tools, certifications and languages (e.g. \"Dagster\", \"SAP S/4HANA\", \"CDL Class A\").",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeSampleJobs": {
            "title": "Include sample job rows",
            "type": "boolean",
            "description": "Also output the newest sampled postings (title, company, location, seniority, posted salary, skills, link) after each report. Free.",
            "default": true
          },
          "sampleJobsPerReport": {
            "title": "Sample jobs per report",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many of the newest sampled postings to output per report.",
            "default": 20
          },
          "aiSummary": {
            "title": "AI-written briefing (optional)",
            "type": "boolean",
            "description": "Add a short analyst-style briefing written by an AI model from the computed statistics only (no job ads are sent to the model). AI tokens are billed to your own Apify account by Apify's OpenRouter actor at OpenRouter rates (10× on the Apify free plan); typically well under $0.001 per report on a paid plan. Off by default: every report already has a rule-based summary.",
            "default": false
          },
          "model": {
            "title": "AI model",
            "type": "string",
            "description": "OpenRouter model id for the AI briefing, e.g. google/gemini-2.5-flash-lite (default, cheapest), openai/gpt-4o-mini, google/gemini-2.5-flash.",
            "default": "google/gemini-2.5-flash-lite"
          },
          "maxLlmCostUsd": {
            "title": "Max AI token cost per run (USD)",
            "minimum": 0.001,
            "maximum": 5,
            "type": "number",
            "description": "Hard cap on AI token spend for the whole run; a briefing that could pass it is skipped (the report is still delivered).",
            "default": 0.02
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}