# Instahyre Jobs Scraper — Tech Jobs API (`umararshad2/instahyre-jobs-scraper`) Actor

Scrape Instahyre.com public India tech job search and job details into structured JSON. Calls Instahyre's /api/v1/job\_search/ and /api/v1/employer\_public\_jobs/{id} via Crawlee CheerioCrawler. Pay-per-event monetization: ~$1.10 per 1,000 jobs.

- **URL**: https://apify.com/umararshad2/instahyre-jobs-scraper.md
- **Developed by:** [Umar Arshad](https://apify.com/umararshad2) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 job results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Instahyre Jobs Scraper — Tech Jobs API

Scrape public job listings from **[Instahyre.com](https://www.instahyre.com)** into clean, structured JSON. This Apify Actor talks to Instahyre's own public job-search and employer-public-job JSON endpoints — the same APIs the website front end uses — via **Crawlee CheerioCrawler** and the **Apify SDK**. No browser automation is required for the happy path. No login bypass. No email enrichment.

### What this Actor does

Instahyre is a leading India-focused tech hiring platform used by startups and MNCs for software, data, product, design, and business roles. Recruiters, analysts, and automation pipelines often need bulk access to titles, employers, locations, experience bands, skills, company profiles, and apply URLs. This Actor turns any keyword/location search (or pasted Instahyre search URL) into dataset rows you can export as JSON, CSV, Excel, or feed into Zapier, Make, n8n, or your own ATS/LLM pipeline.

Each run:

1. Builds Instahyre `/api/v1/job_search/` queries from `keywords`, `location`, experience band, and optional `searchUrls`.
2. Paginates results (35 per page) until `maxJobs` is reached (default **100**, hard max **5000**).
3. Optionally fetches `/api/v1/employer_public_jobs/{id}` for full HTML + plain-text descriptions and experience bands.
4. Normalizes company profile fields (tagline, founded year, headcount) and experience strings.
5. Deduplicates on `jobId`, tags `source=instahyre`, and charges the pay-per-event (PPE) event `job-scraped`.

### Scrape Instahyre tech job listings

Use keyword + city filters the way you would on the site:

```json
{
  "keywords": "python",
  "location": "Bangalore",
  "experienceMin": 2,
  "experienceMax": 6,
  "maxJobs": 200,
  "includeDescription": true
}
```

Or paste Instahyre search / SEO / job URLs into `searchUrls` — query parameters and slugs are mapped onto the public job\_search API.

### Instahyre jobs API alternative

Instahyre has no official public developer API for bulk extraction. This Actor is a practical **Instahyre jobs API alternative**: it calls the same unauthenticated JSON endpoints the SPA already uses (`/api/v1/job_search/` and `/api/v1/employer_public_jobs/{id}`), with a correct same-origin `Referer` header. When Cloudflare returns `403` from certain datacenter IPs (more common on HTML surfaces), enable Apify Proxy (default **RESIDENTIAL**) or set `useMockData: true` to run against bundled fixtures.

Competitor context on Apify Store: getascraper/instahyre-jobs-scraper (~$1.05/1k) and themineworks (~$2/1k). This Actor targets **~$1.00–$1.20 per 1,000 jobs** via PPE event `job-scraped`.

### Input

| Field | Type | Default | Notes |
| --- | --- | --- | --- |
| `searchUrls` | string\[] | — | Instahyre search, SEO, or job URLs |
| `keywords` | string | — | Mapped to Instahyre `skills` |
| `location` | string | — | City (e.g. Bangalore, Mumbai) |
| `experienceMin` / `experienceMax` | integer | — | Client band; `years` sent when max set |
| `maxJobs` | integer | 100 | Cap 1–5000 |
| `includeDescription` | boolean | true | Extra detail request per job |
| `useMockData` | boolean | false | Force fixtures (also auto on 403) |
| `proxyConfiguration` | object | RESIDENTIAL | Apify Proxy groups |

### Output fields

`jobId`, `title`, `companyName`, `companyTagline`, `companyFounded`, `employeeCount`, `location`, `city`, `state`, `country`, `experience`, `experienceMin`, `experienceMax`, `salaryText`, `salaryMin`, `salaryMax`, `currency`, `skills[]`, `employmentType`, `postedAt`, `jobUrl`, `applyUrl`, `descriptionHtml`, `descriptionText`, `industry`, `function`, `acceptOutstation`, `companyAbout`, `source` (= `instahyre`), `scrapedAt`.

### Local development

```bash
cd /workspace/instahyre-jobs-scraper
npm install
npm run build
## Mock run (recommended on blocked networks):
APIFY_LOCAL_STORAGE_DIR=./storage npm run start:dev
## Or with Apify CLI:
npx apify-cli run -p
```

Default local `storage/key_value_stores/default/INPUT.json` sets `useMockData: true`.

### Deploy / push

```bash
export APIFY_TOKEN=your_token_here
npx apify-cli login -t "$APIFY_TOKEN"   # or: apify login
npx apify-cli push                      # from this directory
```

See **BUILD.md** for monetization setup at **~$1.10 per 1,000 jobs** PPE.

### Pricing (PPE)

Intended Store pricing: **~$1.10 / 1,000 jobs** via custom event `job-scraped` (or Console synthetic `apify-default-dataset-item`). Configured in Apify Console after first push — see BUILD.md. Memory limits: **512–2048 MB** (default 1024).

### Limitations & ethics

- Public data only. Does not log in, bypass CAPTCHAs, or scrape private profiles.
- Does not enrich employer emails.
- Instahyre may rate-limit or Cloudflare-challenge some IP ranges; use Apify Proxy if needed.
- Users must comply with Instahyre's Terms of Service and applicable law (including India's DPDP Act where relevant).
- Pagination ceiling ~10,000 results per filter combination (Instahyre search index window).

### Project layout

```text
.actor/           actor.json, input_schema.json, dataset_schema.json, output_schema.json
src/              main.ts, instahyre-api.ts, normalize.ts, types.ts
fixtures/         search + detail JSON for mock mode
Dockerfile        Apify Node 24 multi-stage build
BUILD.md          login, push, PPE monetization
```

### SEO keywords

instahyre scraper, instahyre jobs scraper, instahyre.com jobs API, india tech jobs scraper, bangalore jobs scraper, startup jobs india API, cheerio crawlee apify actor, recruitment data pipeline, instahyre job search API, india hiring monitor.

# Actor input Schema

## `searchUrls` (type: `array`):

Optional Instahyre search URLs (/search-jobs/?…), SEO landings (/backend-development-jobs/, /jobs-in-bangalore/), or direct job URLs (/job-{id}-…/). Query params and slugs are mapped onto the public job\_search API.

## `keywords` (type: `string`):

Skill or keyword passed to Instahyre `skills` filter (e.g. Python, React, AWS). Free-text title search is not a first-class API param — results are also client-filtered by title/skills when keywords are set.

## `location` (type: `string`):

City filter (Instahyre `location` param), e.g. Bangalore, Mumbai, Gurgaon, Work From Home. Blank = all India.

## `experienceMin` (type: `integer`):

Client-side lower bound on workex from job details. Leave empty for any.

## `experienceMax` (type: `integer`):

Also sent as Instahyre server-side `years` filter when set. Combined with experienceMin for client-side band filtering.

## `maxJobs` (type: `integer`):

Hard cap on jobs written to the dataset (after dedupe). Default 100, maximum 5000.

## `includeDescription` (type: `boolean`):

When true, fetch /api/v1/employer\_public\_jobs/{id} for descriptionHtml, descriptionText, and experience band.

## `useMockData` (type: `boolean`):

Force fixture mode (no live Instahyre calls). Useful for local CI. Auto-fallback also engages if live search returns 403/401/Cloudflare challenge.

## `proxyConfiguration` (type: `object`):

Apify Proxy settings. Default uses RESIDENTIAL — CDN/HTML surfaces may challenge datacenter IPs even though the JSON API often answers openly.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.instahyre.com/search-jobs/?job_type=0&company_size=0&location=Bangalore"
  ],
  "keywords": "python",
  "location": "Bangalore",
  "maxJobs": 100,
  "includeDescription": true,
  "useMockData": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `jobs` (type: `string`):

Dataset of Instahyre job rows (title, company, location, skills, experience, URLs, descriptions).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchUrls": [
        "https://www.instahyre.com/search-jobs/?job_type=0&company_size=0&location=Bangalore"
    ],
    "keywords": "python",
    "location": "Bangalore"
};

// Run the Actor and wait for it to finish
const run = await client.actor("umararshad2/instahyre-jobs-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchUrls": ["https://www.instahyre.com/search-jobs/?job_type=0&company_size=0&location=Bangalore"],
    "keywords": "python",
    "location": "Bangalore",
}

# Run the Actor and wait for it to finish
run = client.actor("umararshad2/instahyre-jobs-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchUrls": [
    "https://www.instahyre.com/search-jobs/?job_type=0&company_size=0&location=Bangalore"
  ],
  "keywords": "python",
  "location": "Bangalore"
}' |
apify call umararshad2/instahyre-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,umararshad2/instahyre-jobs-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ih90cDvYpU68Val5y/builds/Dd4nGR8ChWTz4ko0N/openapi.json
