{
  "openapi": "3.0.1",
  "info": {
    "title": "Apna Jobs Scraper - India Job Listings, Salary & Details",
    "description": "Scrape job listings from Apna (apna.co), India’s blue-collar and entry-level job app: title, company, monthly salary, address and tags, plus description, education, English, gender, skills, openings and pincode. Search by keyword and city or paste links. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "hHP3qexTcUkRwEyrl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~apna-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-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/steadyscrape~apna-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-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/steadyscrape~apna-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-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": {
          "keywords": {
            "title": "Job titles or keywords",
            "type": "array",
            "description": "One per line, as you would type them in Apna’s search box: <code>sales executive</code>, <code>delivery boy</code>, <code>telecaller</code>. Each keyword is searched in each city below. Apna’s search returns at most 500 jobs per keyword and city. Leave empty to list every job of the cities.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Cities",
            "type": "array",
            "description": "One per line, as Apna names them: <code>Pune</code>, <code>Bengaluru</code>, <code>Gurgaon</code>, <code>Navi Mumbai</code>, <code>Jaipur</code>. Common spellings such as <code>Bangalore</code>, <code>Gurugram</code> or <code>New Delhi</code> are understood. A city Apna has no page for gives a free row explaining why. Leave empty to search all of India.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Apna links",
            "type": "array",
            "description": "Links copied from apna.co: a job list with any filters you set on the site (<code>https://apna.co/jobs/sales-bd-jobs-in-pune</code>, <code>https://apna.co/jobs/delivery-boy-jobs</code>, a search), read from its first page with its own filters; or a single job page (<code>https://apna.co/job/pune/area-sales-manager-656031588</code>), read with all its details. The filters below do not apply to links.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "relevance",
              "salary"
            ],
            "type": "string",
            "description": "Apna’s own order. <b>Newest first</b> also keeps expired jobs, which Apna’s relevance order mixes into keyword searches, out of the results.",
            "default": "newest"
          },
          "postedWithin": {
            "title": "Date posted",
            "enum": [
              "any",
              "24h",
              "3d",
              "7d"
            ],
            "type": "string",
            "description": "Apna’s date filter.",
            "default": "any"
          },
          "departments": {
            "title": "Departments",
            "uniqueItems": true,
            "type": "array",
            "description": "Apna’s department filter. Ticking several keeps jobs of any of them.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "20",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26",
                "27",
                "28",
                "29",
                "30",
                "31",
                "32",
                "33",
                "34",
                "35",
                "36",
                "37",
                "38",
                "39",
                "40",
                "41",
                "42",
                "43"
              ],
              "enumTitles": [
                "Admin / Back Office / Computer Operator",
                "Advertising / Communication",
                "Aviation & Aerospace",
                "Banking / Insurance / Financial Services",
                "Beauty, Fitness & Personal Care",
                "Construction & Site Engineering",
                "Consulting",
                "Content, Editorial & Journalism",
                "CSR & Social Service",
                "Customer Support",
                "Data Science & Analytics",
                "Delivery / Driver / Logistics",
                "Domestic Worker",
                "Energy & Mining",
                "Engineering - Hardware & Networks",
                "Environment Health & Safety",
                "Facility Management",
                "Finance & Accounting",
                "Healthcare / Doctor / Hospital Staff",
                "Maintenance Services",
                "Human Resources",
                "IT & Information Security",
                "Legal & Regulatory",
                "Marketing / Brand / Digital Marketing",
                "Media Production & Entertainment",
                "Purchase & Supply Chain",
                "Product Management",
                "Production / Manufacturing / Engineering",
                "Project & Program Management",
                "Quality Assurance",
                "Research & Development",
                "Restaurant / Hospitality / Tourism",
                "Retail & eCommerce",
                "Risk Management & Compliance",
                "Sales & BD",
                "Security Services",
                "Shipping & Maritime",
                "Software Engineering",
                "Strategic & Top Management",
                "Tailoring, Apparel & Home Furnishing",
                "Teaching & Training",
                "UX, Design & Architecture",
                "Operations"
              ]
            }
          },
          "workModes": {
            "title": "Work mode",
            "uniqueItems": true,
            "type": "array",
            "description": "Apna’s work mode filter.",
            "items": {
              "type": "string",
              "enum": [
                "workFromHome",
                "workFromOffice",
                "fieldJob"
              ],
              "enumTitles": [
                "Work from home",
                "Work from office",
                "Field job"
              ]
            }
          },
          "workTypes": {
            "title": "Work type",
            "uniqueItems": true,
            "type": "array",
            "description": "Apna’s full time / part time filter.",
            "items": {
              "type": "string",
              "enum": [
                "fullTime",
                "partTime"
              ],
              "enumTitles": [
                "Full time",
                "Part time"
              ]
            }
          },
          "shifts": {
            "title": "Shift",
            "uniqueItems": true,
            "type": "array",
            "description": "Apna’s shift filter.",
            "items": {
              "type": "string",
              "enum": [
                "day",
                "night"
              ],
              "enumTitles": [
                "Day shift",
                "Night shift"
              ]
            }
          },
          "experienceYears": {
            "title": "Candidate experience (years)",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Apna’s experience filter: jobs open to a candidate with this many years of experience. <code>0</code> keeps jobs for freshers. Leave empty for any."
          },
          "minMonthlySalary": {
            "title": "Minimum monthly salary (₹)",
            "minimum": 0,
            "type": "integer",
            "description": "Apna’s salary filter, in rupees a month. 0 keeps every job.",
            "default": 0
          },
          "includeDetails": {
            "title": "Include the full job page",
            "type": "boolean",
            "description": "Opens each job’s own page for its full description, posted and valid-through dates, department and role, experience, education, English level, gender, skills, openings, fixed pay and incentives, benefits, applicants, interview details, address with pincode and coordinates. Priced as a detailed job (see Pricing). Jobs that turn out to have expired are given as free rows.",
            "default": true
          },
          "maxJobsPerSearch": {
            "title": "Max jobs per search",
            "minimum": 0,
            "type": "integer",
            "description": "Stops each search after this many new jobs. 0 reads every page Apna shows.",
            "default": 100
          },
          "onlyNewJobs": {
            "title": "Only jobs new since the last run (monitor)",
            "type": "boolean",
            "description": "Turns a scheduled run into a job alert: a job this Actor already delivered to you in an earlier run is skipped and not charged. The first run delivers everything and is the baseline.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}