# NY Public-Work Contractors with a Clean Record

**Use case:** 

Contractors newly registered for New York State public work in the last 30 days with no wage, labor/tax or safety violations on record and not debarred. Useful for vetting subcontractors on prevailing-wage jobs.

## Input

```json
{
  "issuedWithinDays": 30,
  "mwbeOnly": false,
  "excludeDebarred": true,
  "cleanRecordOnly": true,
  "activeOnly": true,
  "includeContactDetails": true,
  "maxResults": 1000
}
```

## Output

```json
{
  "businessName": {
    "label": "Business name",
    "format": "string"
  },
  "certificateNumber": {
    "label": "Certificate #",
    "format": "string"
  },
  "issuedDate": {
    "label": "Issued",
    "format": "string"
  },
  "expirationDate": {
    "label": "Expires",
    "format": "string"
  },
  "hasNysDolEmployerRegistration": {
    "label": "NYS DOL employer reg.",
    "format": "boolean"
  },
  "hasWcbEmployerNumber": {
    "label": "WCB employer #",
    "format": "boolean"
  },
  "hasWorkersCompInsurance": {
    "label": "Workers' comp insured",
    "format": "boolean"
  },
  "workersCompExempt": {
    "label": "Workers' comp exempt",
    "format": "boolean"
  },
  "hasOutstandingWageAssessments": {
    "label": "Outstanding wage assessments",
    "format": "boolean"
  },
  "debarred": {
    "label": "Debarred",
    "format": "boolean"
  },
  "debarmentLaw": {
    "label": "Debarment law",
    "format": "string"
  },
  "debarmentStartDate": {
    "label": "Debarment start",
    "format": "string"
  },
  "debarmentEndDate": {
    "label": "Debarment end",
    "format": "string"
  },
  "hasLaborOrTaxLawViolation": {
    "label": "Labor/tax law violation",
    "format": "boolean"
  },
  "hasSafetyStandardViolation": {
    "label": "Safety violation",
    "format": "boolean"
  },
  "apprenticeshipAssociated": {
    "label": "Apprenticeship program",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The NY Contractor Registry Scraper - New Contractor Leads Actor is ready to run with the inputs already set for "NY Public-Work Contractors with a Clean Record". [Sign up or log in](https://console.apify.com/create-task-from-example/naW3637XbRxWgGW6y) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "NY Public-Work Contractors with a Clean Record" task

The NY Contractor Registry Scraper - New Contractor Leads Actor will start running based on the input automatically. You can also change all the input fields, like registered within the last n days, MWBE-owned only, and more, to match your specific use case.

### 3. Receive the "NY Public-Work Contractors with a Clean Record" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as business name, certificate #, issued, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "NY Public-Work Contractors with a Clean Record" task via API](https://apify.com/loomwise/new-york-contractor-registry.md).

## About this Actor

This example demonstrates how to use [NY Contractor Registry Scraper - New Contractor Leads](https://apify.com/loomwise/new-york-contractor-registry.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/loomwise/new-york-contractor-registry.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/loomwise/new-york-contractor-registry.md

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`).
