# NYC Government Jobs Scraper: Official City Jobs (`datadesk-io/nyc-government-jobs-scraper`) Actor

Scrape official New York City government jobs from NYC Open Data: agency, title, salary, location, posting date, requirements and link. Job alerts. $1.50 per 1,000 jobs.

- **URL**: https://apify.com/datadesk-io/nyc-government-jobs-scraper.md
- **Developed by:** [DataDesk](https://apify.com/datadesk-io) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## NYC Government Jobs Scraper: Official City Jobs

Scrape **New York City government jobs** from the **official NYC Open Data** jobs dataset. Each record has **agency, business title, civil-service title, category, career level, employment type, salary range, work location, posting dates, description, minimum requirements, how to apply, residency rules and a job link**. Filter by **keyword, agency, category, career level, minimum salary and posting date**. External postings only by default. Daily job alerts available. No login, no key. **$1.50 per 1,000 jobs.**

### Try it now (one click)

1. Click **Start**. The prefilled input is a small test: in our latest check (Nov 13, 2026) it returned **20 jobs in about 10 seconds**.
2. Change the input to what you need (search terms, filters, max results).
3. Download the results as CSV, Excel or JSON, or get them via API, webhooks, Make or Zapier.

**Price example:** 100 jobs = **$0.155**, 1,000 jobs = **$1.505** ($1.50 per 1,000 jobs + $0.005 per run). Silver and Gold plan users pay 10% and 20% less per job. Apify's free plan includes $5 of usage every month, enough for about 3,330 jobs. Runs that find nothing are not charged.

#### Sample of real results

*Real rows from a local test run on Nov 13, 2026 (some columns). Each job also includes a link to the source and the other fields listed below.*

| Agency | Title | Civil service title | Job category | Career level |
|---|---|---|---|---|
| DEPARTMENT OF FINANCE | Exemptions Processor | PRINCIPAL ADMINISTRATIVE ASSOC | Constituent Services & Community Programs … | Experienced (non-manager) |
| DEPT OF DESIGN & CONSTRUCTION | Senior Capital Budget Analyst | ASSOCIATE STAFF ANALYST | Finance, Accounting, & Procurement | Experienced (non-manager) |
| DEPT OF DESIGN & CONSTRUCTION | Engineer-in-Charge | CIVIL ENGINEER | Engineering, Architecture, & Planning | Experienced (non-manager) |

### What you get

| Field group | Fields |
|---|---|
| Job | id, titles, category, career level, posting type, how to apply, link |
| Employer | city agency and division / work unit |
| Compensation | salary min/max, frequency, yearly equivalent in USD |
| Location and dates | work location, posting date, last update, close date |

### Sources and coverage

| Source | Coverage | Data |
|---|---|---|
| NYC Open Data — NYC Jobs (dataset kpav-sd4t) | New York City agencies | Official city job postings with salary and requirements; no login or key |

### How to use it

1. Click **Try for free** (or **Start**): the prefilled input runs a quick test.
2. Adjust the filters (see examples below).
3. Click **Start** and wait a few seconds.
4. Open the **Output** tab and export as **JSON, CSV, Excel, XML or HTML**, or read the dataset via API.

### Input examples

**Latest 20 external jobs:**

```json
{"maxJobs": 20}
```

**Engineering jobs at DEP:**

```json
{"keywords": ["engineer"], "agencies": ["ENVIRONMENTAL PROTECTION"], "maxJobs": 100}
```

**Recent well-paid openings:**

```json
{"minSalary": 90000, "daysBack": 30, "maxJobs": 200}
```

#### Input fields

| Field | Type | Description |
|---|---|---|
| `keywords` | array | Words in the title, civil-service title, category, agency or description, e.g. engineer, accountant, social worker. Leave empty for the latest postings. |
| `agencies` | array | Agency name contains, e.g. EDUCATION, POLICE, HRA. Leave empty for all agencies. |
| `categories` | array | e.g. Engineering, Legal, Health, Information Technology. Leave empty for all. |
| `careerLevels` | array | e.g. Entry-Level, Experienced (non-manager), Manager, Executive. Leave empty for all. |
| `externalOnly` | boolean | Exclude internal-only postings that are not open to the public. |
| `minSalary` | integer | Only jobs whose minimum salary, converted to a yearly figure when possible, is at least this amount. |
| `daysBack` | integer | Only jobs with a posting date in the last N days. Use 0 for no date limit. |
| `maxJobs` | integer | Maximum jobs saved in this run. |
| `onlyNewJobs` | boolean | Return only jobs not seen in previous runs with the same alerts key. Schedule daily for alerts. |
| `alertsKey` | string | Name for this alert memory (use a different key per saved search). |

### Output example

*Example values from a local test run.*

```json
{
  "jobId": "808877",
  "agency": "DEPARTMENT OF FINANCE",
  "title": "Exemptions Processor",
  "civilServiceTitle": "PRINCIPAL ADMINISTRATIVE ASSOC",
  "jobCategory": "Constituent Services & Community Programs Communications & Intergovernmental Affairs",
  "careerLevel": "Experienced (non-manager)",
  "employmentType": "Full-time",
  "salaryMin": 55105.0,
  "salaryMax": 63371.0,
  "salaryPeriod": "year",
  "workLocation": "59 Maiden Lane",
  "postedAt": "2026-11-10",
  "url": "https://cityjobs.nyc.gov/job/808877",
  "postingType": "External",
  "numberOfPositions": 1.0,
  "salaryCurrency": "USD",
  "salaryYearlyMin": 55105,
  "salaryYearlyMax": 63371,
  "workLocationDetails": "59 Maiden Lane",
  "division": "Homeowner Tax Benefits",
  "postingUpdated": "2026-11-09",
  "postUntil": null,
  "processDate": "2026-11-10",
  "description": "IMPORTANT NOTE: CANDIDATES MUST BE PERMANENT IN THE PRINCIPAL ADMINISTRATIVE ASSOCIATE CIVIL SERVICE TITLE OR ARE PERMANENT IN A COMPARABLE CIVIL SERVICE TITLE ELIGIBLE FOR A 6.1.9 TITLE. PLEASE INCLUDE YOUR EMPLOYEE IDENTIFICATION NUMBER (EIN) WHEN APPLYING AND INDICATE IN YOUR COVER LETTER YOUR PERMANENT CIVIL SERVICE TITLE. NYC Department of Finance (DOF) is responsible for administering the tax revenue laws of the city fairly, efficiently, and transparently to instill public confidence and encourage compliance while providing exceptional customer service. DOF’s Property Exemptions Administration (PEA) oversees and executes property tax benefits for a diverse array of entities and individuals. PEA’s core responsibilities encompass the examination, processing, and management of applications for exemptions and abatements. These benefits extend to commercial and industrial properties, residential multi-family construction, new one- to two-family construction, government entities, and non-profits, as well as renters and homeowners, including members of the clergy, seniors, people with disabilities, and veterans. PEA is committed to ensuring the accessibility of property tax benefits for all eligible constituents. PEA is seeking a highly motivated and organized individual to process multiple exemption and abatement program categories, ensuring they are accurately applied to the appropriate property owners and corresponding borough, block, and lot (BBL) records throughout New York City. Reporting to the Exemptions Supervisor, the selected candidate’s duties and responsibilities will include, but not be limited to the following: • Review, research and process applications for multiple property tax abatements and exemptions programs, using standard operating policies and procedures (SOPs), training material, or reference guides. • Identify and apply the correct procedures to make the required or necessary adjustment(s) to exemption and abatement records. • Update homeowner's applications and databases to ensure that the appropriate tax abatement credit or exemption is allocated to correct property. • Access applicant data and documentation from multiple sources for review; verify completeness and make needed updates in appropriate databases. • Ensure accuracy of all data entered and applications processed. • Contact applicants or representatives, such as managing agents, as required and/or needed. • Respond to inquiries, via CRM and other channels, from internal and external parties, including customers and their proxies. • Contact applicants or their proxies via phone or email regarding their application status or the application procedure. • Utilize the SmartFile platform and the agency’s Property Tax System (PTS), to process exemptions and abatements applications for multiple PEA programs. • Utilize Microsoft Dynamics CRM to review and resolve customer inquiries. • Interchange between different programs based on changes in workload priorities within the division to meet processing deadlines. • Interchange between different programs based on changes in workload priorities within the division to meet processing deadlines. Additional Information: In compliance with federal law, all persons hired will be required to verify identity and eligibility to work in the United States and to complete the required employment eligibility verification document form upon hire. This position may be eligible for remote work up to 2 days per week, pursuant to the Remote Work Pilot Program agreed between the City and the Collective Bargaining Unit representing employees serving in the civil service title.",
  "requirements": "1. A baccalaureate degree from an accredited college and two years of satisfactory full-time progressively responsible clerical/administrative experience, one year of which must have been in an administrative capacity or supervising staff performing clerical/administrative work of more than moderate difficulty; or 2. An associate degree or 60 semester credits from an accredited college and three years of satisfactory full-time progressively responsible clerical/administrative experience including one year of the administrative supervisory experience described in \"1\" above; or 3. A four-year high school diploma or its educational equivalent approved by a state’s department of education or a recognized accrediting organization and four years of satisfactory full-time progressively responsible clerical/administrative experience including one year of the administrative supervisory experience as described in \"1\" above; or 4. Education and/or experience equivalent to \"1\", \"2\", or \"3\" above. However, all candidates must possess the one year of administrative or supervisory experience as described in \"1\" above. Education above the high school level may be substituted for the general clerical/administrative experience (but not for the one year of administrative or supervisory experience described in \"1\" above) at a rate of 30 semester credits from an accredited college for 6 months of experience up to a maximum of 3 year.",
  "toApply": null,
  "residencyRequirement": "New York City residency is generally required within 90 days of appointment. However, City Employees in certain titles who have worked for the City for 2 continuous years may also be eligible to reside in Nassau, Suffolk, Putnam, Westchester, Rockland, or Orange County. To determine if the residency requirement applies to you, please discuss with the agency representative at the time of interview.",
  "additionalInformation": null,
  "titleClassification": "Competitive-1",
  "level": "01",
  "source": "data.cityofnewyork.us",
  "isNew": false,
  "scrapedAt": "2026-11-12T00:13:35.345698+00:00"
}
```

#### Output fields

| Field | Description |
|---|---|
| `jobId` | NYC job opening id |
| `agency / division` | City agency and work unit |
| `title / civilServiceTitle` | Business title and civil-service title |
| `jobCategory / careerLevel / employmentType` | Category, seniority and full/part-time |
| `salaryMin / salaryMax / salaryPeriod` | Published salary range and frequency |
| `workLocation` | Duty location |
| `postedAt / postUntil` | Posting and close dates |
| `url` | City jobs page for this opening |

### Pricing

Pay-per-event: **$0.005** once per run that saves results + **$0.002 per job** ($1.5 / 1,000). Runs that save nothing are not charged.

| Jobs saved | Approx. cost |
|---|---|
| 20 | $0.035 |
| 100 | $0.155 |
| 1,000 | $1.505 |
| 10,000 | $15.005 |

### Use cases

- People applying to official NYC civil-service and agency jobs
- Salary benchmarking across city agencies
- Lead lists of agencies currently hiring in a category
- Daily alerts for new city openings

### Integrations / API

Works with the Apify API, Schedules, webhooks, Make, Zapier, n8n and MCP. Example:

```bash
curl "https://api.apify.com/v2/acts/datadesk-io~nyc-government-jobs-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"maxJobs": 20}'
```

Python:

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("datadesk-io/nyc-government-jobs-scraper").call(run_input={"maxJobs": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### MCP

Use this Actor from an MCP client (Cursor, Claude Desktop, etc.) through the Apify MCP server (`datadesk-io/nyc-government-jobs-scraper`).

### Alerts mode

Turn on the **Only new** option and schedule the Actor daily: each run returns only jobs not seen in earlier runs with the same alerts key (nothing is charged when there is nothing new).

### FAQ

**Do I need a key?** No. NYC Open Data (Socrata) is public and the Actor calls it directly.

**Is this private-sector NYC jobs (Indeed, LinkedIn)?** No. This is the official City of New York jobs dataset (agencies, civil-service titles, residency rules). Private-sector jobs are not included.

**Why are some postings missing a close date?** The source leaves post_until empty for open-until-filled or rolling postings.

### Limitations

- Only official City of New York postings, not private employers.
- The public job-page URL pattern may differ for some older postings; the dataset fields remain the source of truth.
- Internal-only postings are excluded by default (turn off External postings only to include them).
- The Actor respects the dataset Crawl-delay of 1 second between pages.

### Start now

Click **Start** to run the prefilled example, then adjust the input. Missing a field, filter or source? Open an issue on the **Issues** tab and tell us what you need.

### Support

Questions, bugs or a missing field? Email **datadesk.io@proton.me** or open an issue on the Actor page.

***

**ES:** Extrae empleos oficiales del Ayuntamiento de Nueva York: agencia, puesto, salario, ubicación, requisitos y enlace. **$1,50 / 1.000.**
**PT:** Extrai vagas oficiais da Prefeitura de Nova York: agência, cargo, salário, local, requisitos e link. **$1,50 / 1.000.**

# Actor input Schema

## `keywords` (type: `array`):

Words in the title, civil-service title, category, agency or description, e.g. engineer, accountant, social worker. Leave empty for the latest postings.

## `agencies` (type: `array`):

Agency name contains, e.g. EDUCATION, POLICE, HRA. Leave empty for all agencies.

## `categories` (type: `array`):

e.g. Engineering, Legal, Health, Information Technology. Leave empty for all.

## `careerLevels` (type: `array`):

e.g. Entry-Level, Experienced (non-manager), Manager, Executive. Leave empty for all.

## `externalOnly` (type: `boolean`):

Exclude internal-only postings that are not open to the public.

## `minSalary` (type: `integer`):

Only jobs whose minimum salary, converted to a yearly figure when possible, is at least this amount.

## `daysBack` (type: `integer`):

Only jobs with a posting date in the last N days. Use 0 for no date limit.

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

Maximum jobs saved in this run.

## `onlyNewJobs` (type: `boolean`):

Return only jobs not seen in previous runs with the same alerts key. Schedule daily for alerts.

## `alertsKey` (type: `string`):

Name for this alert memory (use a different key per saved search).

## Actor input object example

```json
{
  "keywords": [
    "engineer"
  ],
  "agencies": [
    "ENVIRONMENTAL PROTECTION"
  ],
  "externalOnly": true,
  "minSalary": 90000,
  "daysBack": 30,
  "maxJobs": 20,
  "onlyNewJobs": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "maxJobs": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datadesk-io/nyc-government-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 = { "maxJobs": 20 }

# Run the Actor and wait for it to finish
run = client.actor("datadesk-io/nyc-government-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 '{
  "maxJobs": 20
}' |
apify call datadesk-io/nyc-government-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datadesk-io/nyc-government-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/rzN8AlxlMPI0gbyoN/builds/BVNAJ1wsUfcMbPoaq/openapi.json
