# NY Contractor Registry Certificates - MWBE & Debarment (`j0401/ny-contractor-certificates`) Actor

NYS Contractor Registry certificates (15,219 active): business type, MWBE status, outstanding wage assessments, debarment dates, labour/tax and safety findings, apprenticeship, workers' comp, address. Search or aggregate by type, city or compliance flag.

- **URL**: https://apify.com/j0401/ny-contractor-certificates.md
- **Developed by:** [Wenhao Yang](https://apify.com/j0401) (community)
- **Categories:** Business, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.03 / 1,000 ny contractor certificates

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

## NY Contractor Registry Certificates - 15,000+ Active Certificates

New York State's public-work contractor register from the Department of Labor:
**15,219 active certificates**, issued **14 November 2024 to 12 November
2026** and expiring **29 November 2026 to 12 March 2029** (measured
14 November 2026; dataset stamp 13 November 2026). A certificate is the
state's public-work compliance credential - the row carries the business, its
MWBE status, its wage and debarment record, its labour-law findings and its
apprenticeship participation.

### Low cost

**From $0.00005 per record, down to $0.00003 at Gold.** Pay only for the
records you receive - the full file stays queryable and you are never billed
for the scan behind it.

### What you get per record

| field | meaning |
|---|---|
| `certificateNumber` | the registry certificate, e.g. `26-639SQ-CR` |
| `businessName`, `dbaName`, `businessType` | legal name, trade name and entity type |
| `mwbeOwned`, `publiclyTraded` | MWBE status (2,643 Yes) and public-company status (259 Yes) |
| `hasOutstandingWageAssessments` | outstanding wage assessments (45 Yes) |
| `hasBeenDebarred`, `debarmentLaw`, `debarmentState`, `debarmentStartDate`, `debarmentEndDate` | debarment record (37 Yes, with the published dates) |
| `hasFinalDeterminationLaborTax`, `hasFinalDeterminationSafety` | final determinations for labour/tax law (137) and safety standards (440) |
| `hasApprenticeshipProgram`, `isApprenticeshipSponsor`, `isApprenticeshipGroupSignatory` | apprenticeship participation (2,537), sponsorship (473) and group-program signatory (1,376) |
| `hasWorkersCompInsurance`, `isWorkersCompExempt` | workers' compensation coverage (14,332 Yes / 887 No) |
| `hasDolRegistration`, `hasWcbEmployerNumber` | NYS DOL employer registration (12,557 Yes) and WCB employer number (13,230 Yes) |
| `address`, `city`, `state`, `zip`, `phone` | the business address and phone as published |
| `latitude`, `longitude` | point coordinates on 13,891 rows |
| `businessOfficers` | the published officer string (only 253 rows carry one) |
| `issuedDate`, `expirationDate`, `status` | certificate term |
| `totalMatched` | certificates matching the filters |

### Search it

- **Business** - `name="construction"`, `dba="glass"`,
  `certificateNumber="26-639SQ-CR"`.
- **Compliance** - `debarred="yes"`, `outstandingWages="yes"`,
  `finalDeterminationLaborTax="yes"`, `finalDeterminationSafety="yes"`.
- **Diversity** - `mwbe="yes"`, `apprenticeship="yes"`.
- **Place** - `state="NY"`, `city="Buffalo"`, `zip="14072"`.
- **Time** - `issuedFrom="2026-01-01"`, `expiresBefore="2027-12-31"`.

### Example inputs

**Debarred contractors** (37 certificates)

```json
{ "debarred": "yes", "maxResults": 50 }
```

**New York State businesses with an apprenticeship program** (2,537 before
the state filter)

```json
{ "state": "NY", "apprenticeship": "yes", "maxResults": 100 }
```

**One certificate**

```json
{ "mode": "profile", "certificateNumber": "26-639SQ-CR" }
```

**Certificates expiring before 2028**

```json
{ "expiresBefore": "2027-12-31", "maxResults": 200 }
```

### Aggregate it

```json
{ "mode": "aggregate", "groupBy": "businessType" }
```

Corporation 10,208 / LLC 4,481 / Sole Proprietorship 231 / LLP 153 /
Partnership 136 / Association 7 / Government 2 / Trust 1.

```json
{ "mode": "aggregate", "groupBy": "state" }
```

`groupKey` is the two-letter code as published: **NY 12,779 / NJ 922 / PA 312 /
CT 179 / MA 126 / OH 76 / TX 67 / CA 62 / FL 58 / MD 55 / NC 47 / IL 41** - the
register covers contractors from 49 states and territories that work on New
York public work.

`groupBy` = `businessType`, `city`, `state`, `mwbe`, `publiclyTraded`,
`debarred`, `outstandingWages`, `apprenticeship`, `workersComp`, `issuedYear`
or `expirationYear`. `metric` = `count`. `city` is free text with 3,374
distinct values and is allowed all of them.

### Row grain and how to read it

- **One row = one certificate; every row is `status = "Active"` today**
  (15,219 of 15,219, measured 14 November 2026). The publisher describes the
  extract as a four-year window of active certificates plus those that expired
  recently, so an `Expired` row can start appearing; read the `status` column
  rather than assuming the file is active-only. This is a snapshot, not a
  historical register.
- **`hasBeenDebarred` is historical.** Yes means the register records a
  debarment; the published start and end dates can both be in the past. Read
  the dates, not the flag alone, when the question is "is this business
  currently debarred".
- **`businessOfficers` is sparse** (253 of 15,219 rows). It is passed through
  as published; use a corporate-registry source for officers.
- **`city` is free text** and sometimes contains the state and ZIP
  ("schenectady, ny 12306"). Filter on `state` and `zip` for a clean
  geography; use `city` contains for a quick text match.
- **`phone` is emitted as a digit string** exactly as filed.
- The officer string, phone and address are entries in the state's public
  register. We add nothing beyond the file and do not enrich them.
- The registry does not publish contract awards, performance ratings or project
  history - it says who is certified and what the state's compliance flags are.
- When `maxResults` or the run-level charge cap stops a query, the dataset also
  carries one unbilled `_meta` row with `truncated`, `delivered` (a lower bound
  when `stopReason="charge-limit"`), `totalMatched` and `stopReason`.

### Public-works compliance: three screens

A New York public-work contract turns on three separate questions, and this
register answers all three in one row:

1. **Can this contractor be awarded the job?** MWBE participation and
   apprenticeship status are the two credential screens - `mwbe="yes"`
   (2,643 certificates), `apprenticeship="yes"` (2,537), plus
   `apprenticeshipSponsor="yes"` (473) and
   `apprenticeshipGroupSignatory="yes"` (1,376).
2. **Is there money or a finding against it?** `outstandingWages="yes"` (45),
   `finalDeterminationLaborTax="yes"` (137), `finalDeterminationSafety="yes"`
   (440), and the debarment record (37 certificates, with the published start
   and end dates on the row).
3. **Is it covered and registered?** `workersComp="yes"` (14,332;
   887 explicitly No), `hasDolRegistration="yes"` (12,557) and
   `hasWcbNumber="yes"` (13,230).

Each of those is a filter and a `groupBy` dimension, so the same run can either
return the offending rows or count them by city, business type or
`issuedYear` without pulling the file.

### Related actors

New York public-work and property records in this account:

- **[NYC ACRIS](https://apify.com/j0401/nyc-acris)** - UCC financing
  statements and federal tax liens on the city's ACRIS personal-property
  register, with the debtor and secured parties behind each filing. Not real
  property (deeds).
- **[NYC Property Profile](https://apify.com/j0401/nyc-property-profile)** -
  everything on one building: violations, permits, valuation, abatements.
- **[NYC Contracts](https://apify.com/j0401/nyc-contracts)** - New York City
  agency contracts with due dates, agencies and vendors.
- **[NYC Business Licenses (DCWP)](https://apify.com/j0401/nyc-dcwp-licenses)** -
  NYC licences joined to inspections, violations and complaints.
- **[US Contractor Licenses](https://apify.com/j0401/us-contractor-licenses)** -
  contractor licences across nine states behind one schema.

### Source and licence

New York State Department of Labor, Contractor Registry Certificate, published
on [data.ny.gov](https://data.ny.gov/Government/Contractor-Registry-Certificate/i4jv-zkey)
(public open data).

### Use it from an AI agent (MCP)

Connect any MCP client to `https://mcp.apify.com/?tools=j0401/ny-contractor-certificates` to load this dataset as a single tool beside the tools you already have - same records, same per-record pricing.

# Actor input Schema

## `mode` (type: `string`):

rows = certificates (default). aggregate = one row per group with a count. profile = one certificate by number.

## `certificateNumber` (type: `string`):

e.g. "26-639SQ-CR".

## `name` (type: `string`):

Case-insensitive substring on the legal business name.

## `dba` (type: `string`):

Case-insensitive substring on the trade name.

## `businessType` (type: `string`):

Corporation, LLC, Sole Proprietorship, LLP, Partnership, Association, Government or Trust.

## `city` (type: `string`):

Free-text city as published; it sometimes includes the state and ZIP.

## `state` (type: `string`):

Two-letter code.

## `zip` (type: `string`):

Exact 5-digit ZIP code. Accepts ZIP+4 (e.g. "11207-0001"), matched on its 5-digit core.

## `mwbe` (type: `string`):

Yes on 2,643 certificates.

## `publiclyTraded` (type: `string`):

Yes on 259 certificates.

## `debarred` (type: `string`):

Yes on 37 certificates. This is historical: the published debarment end date may already have passed.

## `outstandingWages` (type: `string`):

Yes on 45 certificates.

## `apprenticeship` (type: `string`):

Yes on 2,537 certificates.

## `workersComp` (type: `string`):

Yes on 14,332; No on 887.

## `hasDolRegistration` (type: `string`):

Yes on 12,557.

## `hasWcbNumber` (type: `string`):

Yes on 13,230.

## `finalDeterminationLaborTax` (type: `string`):

Yes on 137 certificates.

## `finalDeterminationSafety` (type: `string`):

Yes on 440 certificates.

## `apprenticeshipSponsor` (type: `string`):

Yes on 473.

## `apprenticeshipGroupSignatory` (type: `string`):

Yes on 1,376.

## `workersCompExempt` (type: `string`):

Yes on 887.

## `issuedFrom` (type: `string`):

ISO date (YYYY-MM-DD).

## `issuedTo` (type: `string`):

ISO date (YYYY-MM-DD).

## `expiresBefore` (type: `string`):

ISO date (YYYY-MM-DD) on expiration_date.

## `expiresAfter` (type: `string`):

ISO date (YYYY-MM-DD) on expiration_date.

## `groupBy` (type: `string`):

Used only with mode=aggregate. Default businessType.

## `metric` (type: `string`):

count only.

## `maxResults` (type: `integer`):

Records delivered in rows/profile mode (default 50, max 5000). Aggregate ignores this. 0 uses the default 50.

## Actor input object example

```json
{
  "mode": "",
  "mwbe": "",
  "publiclyTraded": "",
  "debarred": "",
  "outstandingWages": "",
  "apprenticeship": "",
  "workersComp": "",
  "hasDolRegistration": "",
  "hasWcbNumber": "",
  "finalDeterminationLaborTax": "",
  "finalDeterminationSafety": "",
  "apprenticeshipSponsor": "",
  "apprenticeshipGroupSignatory": "",
  "workersCompExempt": "",
  "groupBy": "",
  "metric": "",
  "maxResults": 50
}
```

# Actor output Schema

## `recordsUrl` (type: `string`):

NY contractor registry certificates as JSON

## `datasetUrl` (type: `string`):

No description

## `runUrl` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("j0401/ny-contractor-certificates").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("j0401/ny-contractor-certificates").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 '{}' |
apify call j0401/ny-contractor-certificates --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,j0401/ny-contractor-certificates"
        }
    }
}
```

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/KxSN6s7KgsxOHYaUm/builds/qWmfNpwP9HZezeGrs/openapi.json
