# B2B Hiring Intent & Tech-Stack Intelligence Miner (AI Enriched) (`snazzy_seafan/b2b-hiring-intent-tech-stack-miner`) Actor

Extract active job postings, detected tech stack, hiring velocity, executive growth signals, and B2B intent scores from company ATS boards (Greenhouse, Ashby, Lever, Workable, SmartRecruiters) directly formatted for Clay, CRM & outbound lead gen.

- **URL**: https://apify.com/snazzy_seafan/b2b-hiring-intent-tech-stack-miner.md
- **Developed by:** [Mamaru Yirga Sishagn](https://apify.com/snazzy_seafan) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## B2B Hiring Intent & Tech-Stack Intelligence Miner (Apify Actor)

An enterprise-grade, high-margin Apify Actor that scrapes and enriches public ATS job boards (**Greenhouse, Ashby, Lever, Workable, SmartRecruiters**) to extract:

- **Detected Tech Stack**: 250+ enterprise technologies categorized into Languages, Cloud, DevOps, Databases, AI/Data, CRM/GTM, and Security.
- **Hiring Velocity Metrics**: Headcount expansion rate, department breakdown, leadership/executive hiring ratio, and remote work distribution.
- **B2B Opportunity & Urgency Score (1-100)**: Quantitative buyer readiness scoring for sales reps, PE/VC firms, and RevOps.
- **Strategic Themes & Initiatives**: Deduced macro company priorities (e.g., Cloud Migration, AI Modernization, GTM Expansion).
- **Personalized Cold Outreach Angles**: Context-aware 1-sentence value propositions tailored to the company's immediate open roles.
- **Incremental Delta Scraping**: Key-Value Store tracking of previously seen jobs to detect newly posted roles on scheduled runs.

Designed natively for high-velocity enrichment in **Clay.com**, **Zapier**, **Make.com**, and B2B CRM workflows (HubSpot, Salesforce).

***

### 🌟 Why This Actor Dominates the Apify Store

1. **95%+ Gross Margins**: Unlike scrapers that rely on heavy Puppeteer/Playwright headless browsers and expensive residential proxies ($5-$15/GB), this Actor connects directly to public ATS REST endpoints (`boards-api.greenhouse.io`, `api.ashbyhq.com`, `api.lever.co`). 100 jobs are ingested in a single sub-second HTTP request.
2. **Token-Optimized AI Engine**: Strips 70% of boilerplate HTML and legal EEO text before passing a compact digest (~300 tokens) to OpenAI/Gemini models, keeping LLM enrichment costs below $0.0003 per company.
3. **Zero Legal / ToS Risk**: Public job postings are published openly to attract applicants and indexed by search engines. No private PII is harvested, making it 100% GDPR/CCPA safe.
4. **Zero-Captcha Reliability**: ATS platforms do not use Cloudflare Turnstile or PerimeterX bot walls because blocking job scrapers harms their customer's candidate pipeline.

***

### 🛠️ Architecture Overview

```
                                [ Company Domain or ATS URL ]
                                             │
                                             ▼
                                     ats-detector.ts
                   (Resolves domain to Greenhouse, Ashby, Lever, etc.)
                                             │
                                             ▼
                                       ATS Scrapers
              (Greenhouse / Ashby / Lever / Workable / SmartRecruiters / Generic)
                                             │
                                             ▼
                                       normalizer.ts
                    (Strips HTML & EEO Boilerplate, Extracts Seniority)
                                             │
                                             ▼
                                  tech-stack-dictionary.ts
                          (Deterministic Regex for 250+ Technologies)
                                             │
                                             ▼
                                        scoring.ts
                     (Quantitative 1-100 Score & Hiring Velocity Tier)
                                             │
                                             ▼
                                      delta-tracker.ts
                     (Apify KV Store checks for newly posted jobs)
                                             │
                                             ▼
                                      ai-enricher.ts
                   (OpenAI / Gemini / Heuristic Hook & Theme Generation)
                                             │
                                             ▼
                                      cost-estimator.ts
                      (Real-time Compute Unit & Token Cost Accounting)
                                             │
                                             ▼
                                    Apify Dataset Output
                       (Formatted for Clay.com, CSV, JSON, Webhooks)
```

***

### 📦 Quickstart (Local Development)

#### 1. Prerequisites

- Node.js >= 20
- npm >= 10

#### 2. Install Dependencies

```bash
npm install
```

#### 3. Run Typecheck & Tests

```bash
make lint
make test
```

#### 4. Run Locally

Provide sample input in `storage/key_value_stores/default/INPUT.json`:

```json
{
  "companies": [
    "https://boards.greenhouse.io/anthropic",
    "https://jobs.ashbyhq.com/ramp"
  ],
  "enrichmentMode": "hybrid",
  "aiProvider": "heuristic"
}
```

Run the actor:

```bash
npm start
```

Check `storage/datasets/default/` for structured output records.

***

### 📊 Sample Output Record

The following is a real output record from a live run against Ramp's Ashby board:

```json
{
  "companyDomain": "ramp.com",
  "companyName": "Ramp",
  "atsPlatform": "ashby",
  "atsBoardUrl": "https://jobs.ashbyhq.com/ramp",
  "totalActiveJobs": 100,
  "newJobsPast30Days": 34,
  "velocityTier": "EXPLOSIVE_GROWTH",
  "remotePercentage": 15,
  "executiveHiringRatio": 38,
  "topDepartments": "Sales (56), Engineering (17), People & Talent (6), Marketing (4), Data (4)",
  "topDetectedTech": [
    "Next.js", "Salesforce", "Python", "Outreach", "SQL",
    "AWS", "Segment", "GCP", "Azure", "TypeScript",
    "React", "Snowflake", "Java", "dbt", "Terraform"
  ],
  "primaryEcosystem": "AWS + Python + PostgreSQL",
  "strategicThemes": [
    "Aggressive Company-wide Expansion",
    "Executive Reorganization & Team Formation",
    "AI & Data Infrastructure Modernization",
    "Cloud Architecture Scale-out",
    "Go-To-Market & Revenue Expansion"
  ],
  "opportunityScore": 100,
  "opportunityRating": "VERY_HIGH",
  "urgencySignals": [
    "Explosive hiring velocity with 100 open roles across departments",
    "Recruiting 38 key leadership/director roles: new tooling & budget evaluation likely",
    "Actively investing in AI/Data infrastructure (OpenAI API, PyTorch, Airflow)",
    "Major GTM ramp: 56% of all openings are in Sales"
  ],
  "coldOutreachHook": "Noticed you're actively recruiting for Senior Manager, Account Executive | Mid-Market to scale Sales — are you currently evaluating tooling to streamline this transition?",
  "buyerPersonaAdvice": "Target the VP of Sales. Key selling angle: accelerating team velocity and eliminating manual bottlenecks while scaling Salesforce + Outreach.",
  "newJobsCountDelta": 12,
  "analyzedAt": "2026-11-17T17:25:24.295Z",
  "scrapedJobsSummary": {
    "titles": [
      "Software Engineer, Security, Cloud",
      "Account Executive | Strategic",
      "Senior Manager, Account Executive | Mid-Market",
      "Account Manager | Commercial",
      "Product Designer"
    ],
    "sampleLocations": [
      "New York, NY (HQ)",
      "San Francisco, CA",
      "Remote (US)"
    ]
  }
}
```

# Actor input Schema

## `companies` (type: `array`):

List of company domains (e.g. 'stripe.com', 'ramp.com', 'databricks.com') or direct ATS URLs (e.g. 'https://boards.greenhouse.io/stripe', 'https://jobs.ashbyhq.com/ramp').

## `atsFilter` (type: `string`):

Leave as 'auto' for automatic board detection, or force a specific ATS engine.

## `maxJobsPerCompany` (type: `integer`):

Maximum number of active jobs to fetch and analyze per company (0 for unlimited).

## `departmentFilter` (type: `array`):

Only analyze jobs matching these departments (e.g. \['Engineering', 'Data', 'Sales', 'Product']). Leave empty to process all.

## `enrichmentMode` (type: `string`):

Choose 'hybrid' for instant regex tech stack detection + AI intent reasoning (recommended for B2B sales), 'regex_only' for zero-LLM-cost deterministic extraction, or 'ai_deep' for full narrative analysis.

## `aiProvider` (type: `string`):

Provider for AI enrichment. When running on Apify without custom keys, 'apify_llm' or 'heuristic' fallback can be used.

## `aiApiKey` (type: `string`):

Your OpenAI (sk-...) or Google Gemini API key for deep AI enrichment. If left empty, intelligent deterministic heuristic + regex engine will run with 0 token cost.

## `aiModel` (type: `string`):

E.g. 'gpt-4o-mini', 'gemini-1.5-flash', 'gemini-2.0-flash'.

## `enableDeltaScraping` (type: `boolean`):

When enabled, stores seen job IDs in Key-Value store. Subsequent scheduled runs will only enrich and alert on newly posted or changed jobs.

## `generateColdOutreachHooks` (type: `boolean`):

Generate high-converting 1-sentence personalized B2B outreach angles tailored to the company's open hiring pain points.

## `outputGranularity` (type: `string`):

'company_summary' outputs 1 consolidated intelligence record per company (best for Clay / CRM). 'job_postings' outputs individual job records enriched with company context.

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

ATS endpoints do not require proxies, but proxy rotation can be enabled for custom career pages.

## Actor input object example

```json
{
  "companies": [
    "https://boards.greenhouse.io/anthropic",
    "https://jobs.ashbyhq.com/ramp",
    "https://boards.greenhouse.io/stripe"
  ],
  "atsFilter": "auto",
  "maxJobsPerCompany": 100,
  "departmentFilter": [],
  "enrichmentMode": "hybrid",
  "aiProvider": "heuristic",
  "aiModel": "gpt-4o-mini",
  "enableDeltaScraping": true,
  "generateColdOutreachHooks": true,
  "outputGranularity": "company_summary",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `companyIntelligence` (type: `string`):

One JSON record per company containing opportunityScore (1-100), velocityTier, topDetectedTech, primaryEcosystem, strategicThemes, urgencySignals, coldOutreachHook, and buyerPersonaAdvice. When outputGranularity is 'both', individual job posting records are also included with per-job seniority, detectedTech, salary, and postedAt fields.

## `runStatistics` (type: `string`):

A single JSON record with totalCompaniesProcessed, totalJobsScraped, runDurationSeconds, costEstimateUsd, suggestedRetailPriceUsd, and estimatedGrossMarginPercent for this run.

# 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 = {
    "companies": [
        "https://boards.greenhouse.io/anthropic",
        "https://jobs.ashbyhq.com/ramp",
        "https://boards.greenhouse.io/stripe"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("snazzy_seafan/b2b-hiring-intent-tech-stack-miner").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 = { "companies": [
        "https://boards.greenhouse.io/anthropic",
        "https://jobs.ashbyhq.com/ramp",
        "https://boards.greenhouse.io/stripe",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("snazzy_seafan/b2b-hiring-intent-tech-stack-miner").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 '{
  "companies": [
    "https://boards.greenhouse.io/anthropic",
    "https://jobs.ashbyhq.com/ramp",
    "https://boards.greenhouse.io/stripe"
  ]
}' |
apify call snazzy_seafan/b2b-hiring-intent-tech-stack-miner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,snazzy_seafan/b2b-hiring-intent-tech-stack-miner"
        }
    }
}
```

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/y17veWWPxrIOI5Nfd/builds/aVccZ6PrJlKt4EHDM/openapi.json
