{
  "openapi": "3.0.1",
  "info": {
    "title": "Apna.co Scraper: India Jobs and Monthly Salaries",
    "description": "Scrape job listings from Apna.co in India: title, company, city and area, monthly salary range in INR, office, field or work from home, full or part time, experience and link. Search by job title and city with salary, date, shift and education filters; job pages add skills and dates.",
    "version": "0.1",
    "x-build-id": "fOL9KsctQTfzwNPya"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/v0iddo~apna-co-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-v0iddo-apna-co-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/v0iddo~apna-co-scraper/runs": {
      "post": {
        "operationId": "runs-sync-v0iddo-apna-co-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/v0iddo~apna-co-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-v0iddo-apna-co-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",
            "type": "array",
            "description": "Job titles as the site names them, such as delivery boy, telecaller, accountant, data entry, sales or python developer, one per line. One search per title in each city; leave empty for every job of the city.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Cities such as Mumbai, Bengaluru, Delhi, Gurgaon, Hyderabad, Chennai, Pune or Kolkata, one per line (Bangalore, Bombay and the other old names work too). Empty means all of India; remote means work from home jobs across India.",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "Optional. Only jobs of these departments of the site; empty means all.",
            "items": {
              "type": "string",
              "enum": [
                "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"
              ],
              "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 modes",
            "type": "array",
            "description": "Optional. Only work from home, work from office or field jobs; empty means all.",
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "office",
                "field"
              ],
              "enumTitles": [
                "Work from home",
                "Work from office",
                "Field job"
              ]
            }
          },
          "workTypes": {
            "title": "Work types",
            "type": "array",
            "description": "Optional. Only full time or part time jobs; empty means both.",
            "items": {
              "type": "string",
              "enum": [
                "full-time",
                "part-time"
              ],
              "enumTitles": [
                "Full time",
                "Part time"
              ]
            }
          },
          "shifts": {
            "title": "Shifts",
            "type": "array",
            "description": "Optional. Only day shift or night shift jobs; empty means both.",
            "items": {
              "type": "string",
              "enum": [
                "day",
                "night"
              ],
              "enumTitles": [
                "Day shift",
                "Night shift"
              ]
            }
          },
          "minSalary": {
            "title": "Minimum monthly salary (INR)",
            "minimum": 0,
            "maximum": 150000,
            "type": "integer",
            "description": "Only jobs that pay at least this much a month, as the site's salary filter. 0 means any salary.",
            "default": 0
          },
          "experienceYears": {
            "title": "Years of experience",
            "minimum": 0,
            "maximum": 31,
            "type": "integer",
            "description": "Optional. Only jobs open to a candidate with this many years of experience, as the site's experience filter (0 for freshers)."
          },
          "education": {
            "title": "Highest education",
            "enum": [
              "any",
              "10th",
              "12th",
              "diploma",
              "iti",
              "graduate",
              "postgraduate"
            ],
            "type": "string",
            "description": "Only jobs open to a candidate with this education, as the site's filter.",
            "default": "any"
          },
          "postedWithin": {
            "title": "Posted within",
            "enum": [
              "any",
              "1day",
              "3days",
              "7days"
            ],
            "type": "string",
            "description": "Only jobs posted in that period.",
            "default": "any"
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "relevance",
              "salary",
              "newest"
            ],
            "type": "string",
            "description": "The order of the site's listing: its own, highest salary first or newest first.",
            "default": "relevance"
          },
          "jobPages": {
            "title": "Read each job page",
            "type": "boolean",
            "description": "Off: one request reads 25 jobs with the columns the listing shows. On: each job's own page is read too, one more request per job, for the pay with incentives, the posted, first posted and closing dates, department, category, role, education, experience range, openings, applicants, skills, state, pincode and map position.",
            "default": false
          },
          "cityJobsOnly": {
            "title": "Only jobs in the cities asked for",
            "type": "boolean",
            "description": "The site goes on with jobs of other cities of the same state once a city's own jobs run out (Pune and Nashik after Mumbai). On: those are left out, so every row is in a city you asked for. Off: they are kept, with their own city in the city column.",
            "default": false
          },
          "jobsPerSearch": {
            "title": "Jobs per search",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Optional cap for each search (job title and city), so one search does not use the whole run. 0 means no cap of its own.",
            "default": 0
          },
          "startUrls": {
            "title": "Apna.co pages",
            "type": "array",
            "description": "Apna.co pages copied from your browser, one per line: a listing page such as https://apna.co/jobs/delivery-boy-jobs-in-mumbai (its filters are kept) or a job page such as https://apna.co/job/ahmedabad/retail-sales-media-sales-west-529510304 (one row with every detail).",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "The run stops after this many result rows. It also caps what one run can cost.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only new results",
            "type": "boolean",
            "description": "Skip rows that an earlier run with the same input already returned, so a scheduled run gives each new row once. Skipped rows are not charged. The keys of returned rows are kept in a key-value store in your Apify account. A run stops after 200 seen rows in a row.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave as is: the run starts on the cheapest network the site accepts and switches to Apify Proxy automatically when the site blocks it. Pick proxy groups here only to force one specific network."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}