{
  "openapi": "3.0.1",
  "info": {
    "title": "Apna Jobs Scraper — Salary, Shift & Contact",
    "description": "Scrape apna.co jobs — title, employer, salary, shift, department, education, English level, applicant counts. Category and city search. No login.",
    "version": "0.1",
    "x-build-id": "eulVIZPcRNUVVbaeE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~apna-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-apna-jobs-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/memo23~apna-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-apna-jobs-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/memo23~apna-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-apna-jobs-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": {
          "categories": {
            "title": "Job categories",
            "type": "array",
            "description": "apna's own category slugs. Leave empty for every category.",
            "items": {
              "type": "string",
              "enum": [
                "10th-pass",
                "12th-pass",
                "accounts-finance",
                "admin-back-office-computer-operator",
                "advertising-communication",
                "aviation-aerospace",
                "back-office",
                "banking-insurance-financial-services",
                "beauty-fitness-personal-care",
                "business-development",
                "construction-site-engineering",
                "consulting",
                "content-editorial-journalism",
                "csr-social-service",
                "customer-support",
                "data-science-analytics",
                "delivery-driver-logistics",
                "delivery-person",
                "domestic-worker",
                "energy-mining",
                "engineering-hardware-networks",
                "environment-health-safety",
                "facility-management",
                "female",
                "finance-accounting",
                "freshers",
                "full-time",
                "healthcare-doctor-hospital-staff",
                "human-resource",
                "human-resources",
                "it-information-security",
                "legal-regulatory",
                "maintenance-services",
                "marketing-brand-digital-marketing",
                "media-production-entertainment",
                "night-shift",
                "operations",
                "part-time",
                "product-management",
                "production-manufacturing-engineering",
                "project-program-management",
                "purchase-supply-chain",
                "quality-assurance",
                "research-development",
                "restaurant-hospitality-tourism",
                "retail-ecommerce",
                "risk-management-compliance",
                "sales-bd",
                "sales-field-work",
                "security-services",
                "shipping-maritime",
                "software-engineering",
                "strategic-top-management",
                "tailoring-apparel-home-furnishing",
                "teaching-training",
                "telecaller-bpo",
                "ux-design-architecture",
                "work-from-home"
              ]
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Leave empty for all-India. You can type the common name — `Bangalore`, `Delhi` and `Gurgaon` are mapped to the slugs apna actually serves, each of which returns nothing under its obvious spelling.",
            "items": {
              "type": "string",
              "enum": [
                "mumbai",
                "mumbai-bombay",
                "navi-mumbai",
                "thane",
                "new-delhi",
                "delhi-ncr",
                "gurgaon-gurugram",
                "noida",
                "ghaziabad",
                "faridabad",
                "bengaluru",
                "hyderabad",
                "chennai",
                "pune",
                "kolkata",
                "ahmedabad",
                "surat",
                "vadodara",
                "rajkot",
                "jaipur",
                "lucknow",
                "varanasi",
                "agra",
                "indore",
                "bhopal",
                "nagpur",
                "nashik",
                "aurangabad",
                "chandigarh",
                "ludhiana",
                "amritsar",
                "coimbatore",
                "madurai",
                "kochi",
                "mysore",
                "mysuru",
                "visakhapatnam",
                "patna",
                "ranchi",
                "raipur",
                "guwahati",
                "dehradun"
              ]
            }
          },
          "startUrls": {
            "title": "Apna job or listing URLs",
            "type": "array",
            "description": "Job URLs (`https://apna.co/job/{city}/{slug}-{id}`) and listing URLs (`https://apna.co/jobs/{category}-jobs` or `https://apna.co/jobs/{category}-jobs-in-{city}`). Example: `https://apna.co/jobs/back-office-jobs-in-mumbai`. Default: empty.",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword filter (title or company)",
            "type": "string",
            "description": "Keep only postings whose title or company name contains this text. apna has no keyword search of its own, so this is applied after the detail page is read. Example: `coordinator`. Leave empty for no filter. Default: empty."
          },
          "dateWithinDays": {
            "title": "Posted within days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only postings whose published `postedDate` is within this many days. `0` (default) applies no date filter. A positive value drops rows that have no parseable date. Example: `7`.",
            "default": 0
          },
          "enrichEmails": {
            "title": "Enrich with employer contact emails (experimental, billed per email)",
            "type": "boolean",
            "description": "apna never publishes an employer website, so this discovers one from the company name and reads its contact pages. Best-effort — many apna employers are small local businesses with no web presence, so hit rates are lower than on white-collar boards. Billed per contact email found; never charged for misses.",
            "default": false
          },
          "monitorMode": {
            "title": "Monitoring mode (only-new jobs)",
            "type": "boolean",
            "description": "When on, job IDs already delivered to this account are skipped — not fetched, not billed. The first run returns current matches and builds the baseline (unless Emit baseline is off). Use Apify Schedules for a 'posted since last run' feed. Default: false.",
            "default": false
          },
          "resetMonitoringState": {
            "title": "Reset monitoring state (one-shot)",
            "type": "boolean",
            "description": "Clear the saved seen-job list at the start of this run. Use after changing the search or to recover a missed delivery. No effect when monitoring is off. Default: false.",
            "default": false
          },
          "monitorStateName": {
            "title": "Monitor state name (independent watches)",
            "type": "string",
            "description": "Name this watch so one account can run several only-new schedules without mixing their history — e.g. `mumbai-office` vs `pune-delivery`. Leave empty for a single default baseline. Only used when monitoring is on."
          },
          "emitBaseline": {
            "title": "Emit baseline on first monitoring run",
            "type": "boolean",
            "description": "Only used with monitoring. ON (default): the first run returns every current match and remembers them. OFF: the first run records what exists now and emits nothing, so later runs return only jobs that appeared after it. Default: true.",
            "default": true
          },
          "includeUnchanged": {
            "title": "Include unchanged jobs (monitoring)",
            "type": "boolean",
            "description": "Only used with monitoring. OFF (default): return only new postings. ON: also re-emit already-seen jobs, each tagged `changeType` = `new` or `unchanged`. Re-emitted rows are billed. Default: false.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum items to scrape",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on postings collected. Note that apna serves 25 postings per listing page, so a cap below 25 will be filled from the first category before the next one is reached.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of job detail pages fetched in parallel.",
            "default": 10
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "type": "integer",
            "description": "Number of retries before a failed request is given up.",
            "default": 4
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional and off by default. apna's pages answer directly without any anti-bot challenge, so a proxy adds latency and cost for no benefit. Only enable this if you need traffic to leave from a specific IP or country."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}