{
  "openapi": "3.0.1",
  "info": {
    "title": "India Jobs API",
    "description": "One search across Foundit, Shine, Instahyre and Internshala, returned as one clean table with salaries in rupees and duplicates removed. Half a cent per search, a fifth of a cent per job.",
    "version": "1.0",
    "x-build-id": "7TLCawiwLG0OIR6s2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/asgardlabs~india-jobs-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-asgardlabs-india-jobs-api",
        "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/asgardlabs~india-jobs-api/runs": {
      "post": {
        "operationId": "runs-sync-asgardlabs-india-jobs-api",
        "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/asgardlabs~india-jobs-api/run-sync": {
      "post": {
        "operationId": "run-sync-asgardlabs-india-jobs-api",
        "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": "Keywords / job titles",
            "type": "array",
            "description": "Job titles or skills, one per line, e.g. \"python developer\", \"sales manager\". Each keyword is searched on every selected board.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations (cities)",
            "type": "array",
            "description": "e.g. Bangalore, Hyderabad, Pune. Leave empty for all of India. Spelling and case variants (Bangalore / Bengaluru) count as one search.",
            "items": {
              "type": "string"
            }
          },
          "boards": {
            "title": "Boards",
            "type": "array",
            "description": "Which boards to search. All four by default.",
            "items": {
              "type": "string",
              "enum": [
                "foundit",
                "shine",
                "instahyre",
                "internshala"
              ],
              "enumTitles": [
                "Foundit (Monster India)",
                "Shine",
                "Instahyre",
                "Internshala"
              ]
            },
            "default": [
              "foundit",
              "shine",
              "instahyre",
              "internshala"
            ]
          },
          "maxJobsPerBoard": {
            "title": "Max jobs per board per query",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Per board and per keyword-city pair. Shine answers in about 30 seconds per 100 jobs.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only jobs not seen in previous runs",
            "type": "boolean",
            "description": "Remembers job ids per board and query in a key-value store; later runs return only postings not seen before.",
            "default": false
          },
          "dedupeAcrossBoards": {
            "title": "Remove the same posting appearing on several boards",
            "type": "boolean",
            "description": "The same title at the same company in the same city is delivered once even when several boards list it. Duplicates are not charged.",
            "default": true
          },
          "minExperience": {
            "title": "Min experience (years)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep jobs asking for at least this many years, when the board states experience. Applied after download, not charged."
          },
          "maxExperience": {
            "title": "Max experience (years)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep jobs asking for at most this many years, when the board states experience. Applied after download, not charged."
          },
          "minSalary": {
            "title": "Min salary (INR per year)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep jobs whose stated salary reaches this yearly amount in rupees, when the board states salary. Applied after download, not charged."
          },
          "remoteOnly": {
            "title": "Remote / work-from-home only",
            "type": "boolean",
            "description": "Keep only postings marked remote or work from home.",
            "default": false
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop postings whose title, company or skills contain any of these words.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "timeoutSecs": {
            "title": "Time budget per board search (seconds)",
            "minimum": 30,
            "maximum": 3600,
            "type": "integer",
            "description": "A board search that takes longer is reported as timed out; jobs already delivered stay delivered.",
            "default": 300
          },
          "concurrency": {
            "title": "Searches in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many board searches to run at the same time. Instahyre rate-limits bursts; four is safe.",
            "default": 4
          },
          "stateStoreName": {
            "title": "State store name",
            "pattern": "^[a-zA-Z0-9-]{1,63}$",
            "type": "string",
            "description": "Key-value store in your account that keeps the seen list for \"only new\". Letters, digits and dashes.",
            "default": "india-jobs-state"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}