{
  "openapi": "3.0.1",
  "info": {
    "title": "Indeed Salary Matrix — Levels.fyi Alternative + AI",
    "description": "Indeed salaries across 8 countries at $0.003/job — 99%+ run success. RAG-ready jobs + salary matrix for VC diligence, talent-acquisition + comp-benchmarking agents. Geo arbitrage, emerging-skill gaps, AI briefs. Replaces Levels.fyi, Payscale, LinkedIn Talent Insights. MCP-ready, x402-ready.",
    "version": "1.8",
    "x-build-id": "ycrT7WZWtbCcPOfEC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/harvestlab~indeed-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-harvestlab-indeed-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/harvestlab~indeed-scraper/runs": {
      "post": {
        "operationId": "runs-sync-harvestlab-indeed-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/harvestlab~indeed-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-harvestlab-indeed-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": {
          "searchQuery": {
            "title": "Search Query",
            "type": "string",
            "description": "Job title or keywords (e.g. \"software engineer\", \"data scientist\", \"marketing manager\")"
          },
          "query": {
            "title": "Search Query (CLI alias)",
            "type": "string",
            "description": "CLI alias for searchQuery. Hidden from Console form."
          },
          "q": {
            "title": "Search Query (CLI alias)",
            "type": "string",
            "description": "CLI alias for searchQuery. Hidden from Console form."
          },
          "search": {
            "title": "Search Query (CLI alias)",
            "type": "string",
            "description": "CLI alias for searchQuery. Hidden from Console form."
          },
          "keyword": {
            "title": "Search Query (CLI alias)",
            "type": "string",
            "description": "CLI alias for searchQuery. Hidden from Console form."
          },
          "searchTerm": {
            "title": "Search Query (CLI alias)",
            "type": "string",
            "description": "CLI alias for searchQuery. Hidden from Console form."
          },
          "jobTitle": {
            "title": "Search Query (CLI alias)",
            "type": "string",
            "description": "CLI alias for searchQuery. Hidden from Console form."
          },
          "queries": {
            "title": "Multi-Query (Compare Mode)",
            "type": "array",
            "description": "Optional list of job titles to search in parallel, e.g. [\"data scientist\", \"ML engineer\", \"AI researcher\"]. When provided alongside 'locations', the actor runs N×M searches and generates a single cross-query/cross-location comparison report (charged at $0.10 instead of $0.05). Leave empty to run a single searchQuery.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Multi-Location (Compare Mode)",
            "type": "array",
            "description": "Optional list of locations to search in parallel, e.g. [\"New York, NY\", \"San Francisco, CA\", \"Austin, TX\", \"Remote\"]. Combined with 'queries' to run a full N×M grid. Leave empty to use the single 'location' field.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, state, or \"remote\" (e.g. \"New York, NY\", \"San Francisco, CA\", \"Remote\")"
          },
          "city": {
            "title": "Location (CLI alias)",
            "type": "string",
            "description": "CLI alias for location. Hidden from Console form."
          },
          "where": {
            "title": "Location (CLI alias)",
            "type": "string",
            "description": "CLI alias for location. Hidden from Console form."
          },
          "country": {
            "title": "Country",
            "enum": [
              "us",
              "uk",
              "ca",
              "au",
              "de",
              "fr",
              "nl",
              "in"
            ],
            "type": "string",
            "description": "Indeed country domain to search (e.g. United States uses indeed.com, United Kingdom uses uk.indeed.com, Germany uses de.indeed.com).",
            "default": "us"
          },
          "maxJobs": {
            "title": "Max Jobs",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of job listings to scrape (1-100). Indeed shows ~15 results per page. Start with 25 to test before running larger jobs.",
            "default": 25
          },
          "maxItems": {
            "title": "Max Items (CLI alias)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "CLI alias for maxJobs. Hidden from Console form."
          },
          "maxResults": {
            "title": "Max Results (CLI alias)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "CLI alias for maxJobs. Hidden from Console form."
          },
          "datePosted": {
            "title": "Date Posted",
            "enum": [
              "any",
              "1",
              "3",
              "7",
              "14"
            ],
            "type": "string",
            "description": "Filter jobs by how recently they were posted. Useful for monitoring new openings daily/weekly.",
            "default": "7"
          },
          "jobType": {
            "title": "Job Type",
            "enum": [
              "any",
              "fulltime",
              "parttime",
              "contract",
              "internship",
              "temporary"
            ],
            "type": "string",
            "description": "Filter by employment type (e.g. Full-time for salaried W-2/permanent roles, Contract for 1099/freelance work, Internship for student positions).",
            "default": "any"
          },
          "experienceLevel": {
            "title": "Experience Level",
            "enum": [
              "any",
              "entry",
              "mid",
              "senior"
            ],
            "type": "string",
            "description": "Filter by required experience: Entry level (0-2 years / new grad), Mid level (3-5 years), Senior level (6+ years / lead roles).",
            "default": "any"
          },
          "salaryMin": {
            "title": "Minimum Annual Salary",
            "type": "integer",
            "description": "Minimum annual salary in the local currency for the selected Country (USD for US, GBP for UK, EUR for DE/FR/NL, CAD for Canada, AUD for Australia, INR for India). Example: 80000 for $80k/year in the US."
          },
          "remoteFilter": {
            "title": "Remote Filter",
            "enum": [
              "any",
              "remote",
              "hybrid",
              "in_person"
            ],
            "type": "string",
            "description": "Filter by work arrangement: Remote (fully WFH), Hybrid (mix of office/home), In-person (on-site only).",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Result ordering. 'Relevance' (default) ranks by Indeed's match score against your keywords — best for broad keyword searches. 'Date posted' shows newest first — best for daily/weekly monitoring of new openings and avoiding stale listings.",
            "default": "relevance"
          },
          "fetchDetails": {
            "title": "Backfill Salary From Detail Pages",
            "type": "boolean",
            "description": "When enabled, for any job whose list-card didn't render a salary (common for sponsored /pagead ads like nursing roles), fetch the job detail page and try to extract salary from JSON-LD or the page body. Adds ~1 extra request per missing-salary job. Default off to keep runs fast.",
            "default": false
          },
          "exportFormat": {
            "title": "Compare-Mode Export Artifact",
            "enum": [
              "none",
              "csv",
              "markdown",
              "both"
            ],
            "type": "string",
            "description": "When compare mode is active (queries + locations both set), render a ready-to-share salary matrix artifact in addition to the dataset. 'csv' = RFC-4180 salary-matrix spreadsheet (Google Sheets / Tableau / Excel friendly, one row per cell). 'markdown' = README-style executive brief for direct paste into Slack / Notion / email. 'both' = emit both. Each artifact is stored in the run's key-value store as `compare-{run_id}.csv` / `.md` with a public URL included in the dataset report. Charged $0.01 per artifact.",
            "default": "none"
          },
          "artifactWebhookUrl": {
            "title": "Artifact Webhook URL",
            "type": "string",
            "description": "Optional HTTPS webhook to POST the artifact URLs and run metadata after generation — wire it to Slack Incoming Webhook, Zapier, Make, or your own endpoint for autonomous weekly compensation briefings via Apify Scheduler. Webhook receives a JSON body: `{run_id, queries, locations, country, total_jobs, csv_url, markdown_url, message}`. Leave empty to skip. Failure to POST is non-fatal."
          },
          "enableAiAnalysis": {
            "title": "Enable AI Analysis",
            "type": "boolean",
            "description": "Generate an AI-powered job market analysis report with salary benchmarking, skill trends, and hiring insights",
            "default": false
          },
          "llmProvider": {
            "title": "LLM Provider",
            "enum": [
              "openrouter",
              "anthropic",
              "google",
              "openai",
              "ollama"
            ],
            "type": "string",
            "description": "Which AI provider to use for job market analysis. OpenRouter is the cheapest option.",
            "default": "openrouter"
          },
          "llmModel": {
            "title": "LLM Model",
            "type": "string",
            "description": "Specific model to use. Leave empty for the provider default (google/gemini-2.0-flash-001 for OpenRouter, claude-sonnet-4-20250514 for Anthropic, gemini-2.0-flash for Google AI, gpt-4o-mini for OpenAI, llama3.1 for Ollama)."
          },
          "openrouterApiKey": {
            "title": "OpenRouter API Key",
            "type": "string",
            "description": "API key from openrouter.ai (required if using OpenRouter provider)"
          },
          "anthropicApiKey": {
            "title": "Anthropic API Key",
            "type": "string",
            "description": "API key from console.anthropic.com (required if using Anthropic provider)"
          },
          "googleApiKey": {
            "title": "Google AI API Key",
            "type": "string",
            "description": "API key for Google AI (Gemini). Get one at aistudio.google.com/app/apikey"
          },
          "openaiApiKey": {
            "title": "OpenAI API Key",
            "type": "string",
            "description": "API key from platform.openai.com (required if using OpenAI provider)"
          },
          "ollamaBaseUrl": {
            "title": "Ollama Base URL",
            "type": "string",
            "description": "Base URL for Ollama API. Default: http://localhost:11434"
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings. Indeed aggressively blocks datacenter IPs with 403/CAPTCHA walls — RESIDENTIAL (default) is strongly recommended. Leave Apify Proxy enabled unless you're supplying your own custom proxy list."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}