# Nys Notaries Public Scraper (`bigibyte/nys-notaries-public-scraper`) Actor

Collect commissioned New York notaries from public open data. Extract names, commission numbers, counties, and term dates into clean JSON, CSV, or Excel datasets.

- **URL**: https://apify.com/bigibyte/nys-notaries-public-scraper.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (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

## NYS Notaries Public Scraper

![NYS Notaries Public Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/nys-notaries-public-scraper-cover.png)

Collect commissioned notary public records from New York State's official publicly available dataset. Search, filter, or retrieve records in bulk, then export structured results to JSON, CSV, Excel, and other Apify-supported formats.

### What It Does

The NYS Notaries Public Scraper collects records from New York State's Commissioned Notaries Public dataset. It helps you retrieve notary names, commission numbers, counties, commission types, and commission term dates in a structured Apify dataset.

Choose from four collection modes to retrieve all available records, search across text fields, apply custom filters, or inspect dataset column information.

### Collection Modes

- **All Rows:** Retrieves records in batches, allowing you to collect a larger dataset without relying on a single request.
- **Full-Text Search:** Searches the dataset using a keyword or phrase across searchable text fields.
- **SoQL Filter:** Applies custom conditions to narrow results by specific fields, dates, counties, or other available values.
- **Dataset Metadata:** Retrieves information about dataset columns, including their names, data types, and descriptions.

### Input Parameters

| Parameter | Description | Example |
|---|---|---|
| `mode` | Selects the collection mode: `all_rows`, `search`, `filter`, or the metadata mode supported by the actor. | `all_rows` |
| `searchText` | Search keyword used in search mode. | `inc` |
| `where` | Custom SoQL filter condition used in filter mode. | `:updated_at>'2020-01-01'` |
| `maxItems` | Maximum number of records to collect. | `50` |
| `orderBy` | Field or expression used to order records in all-rows mode. | `:id` |
| `requestDelayMs` | Delay between requests, in milliseconds. | `500` |

### Input Examples

**1. Retrieve all rows**

```json
{
  "mode": "all_rows",
  "maxItems": 50,
  "orderBy": ":id",
  "requestDelayMs": 500
}
```

**2. Search notary records**

```json
{
  "mode": "search",
  "searchText": "inc",
  "maxItems": 25,
  "requestDelayMs": 500
}
```

**3. Filter records**

```json
{
  "mode": "filter",
  "where": ":updated_at>'2020-01-01'",
  "maxItems": 25,
  "requestDelayMs": 500
}
```

### Output Example

Each result contains the notary's commission information and collection details.

```json
{
  "commission_holder_name": "JOHN A OWENS JR",
  "commission_number_uid": "02OW6172556",
  "commissioned_county": "Westchester",
  "commission_type_traditional_or_electronic": "Traditional",
  "term_issue_date": "2023-08-13T00:00:00.000",
  "term_expiration_date": "2027-08-13T00:00:00.000",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Description |
|---|---|
| `commission_holder_name` | Full name of the commissioned notary. |
| `commission_number_uid` | Unique commission identification number. |
| `commissioned_county` | New York county associated with the commission. |
| `commission_type_traditional_or_electronic` | Indicates whether the commission is traditional or electronic. |
| `term_issue_date` | Date the commission term begins. |
| `term_expiration_date` | Date the commission term expires. |
| `scraped_at` | Timestamp indicating when the record was collected. |

Additional dataset columns may be available depending on the selected collection mode and source data.

### FAQ

**Who can use this scraper?**

This actor is useful for researchers, business analysts, compliance teams, and developers who need structured information about commissioned New York notaries.

**What information does it collect?**

It collects available commission-holder names, commission numbers, counties, commission types, term dates, and related dataset information.

**Can I export the results to Excel or CSV?**

Yes. You can export your Apify dataset in JSON, CSV, Excel, and other supported formats.

**Can I schedule recurring data collection?**

Yes. You can configure Apify Schedules to run the actor automatically at your preferred intervals.

### Related Tools

Explore other data collection solutions that may complement this scraper:

- **Government Data Scrapers** – Collect structured information from public government datasets and open data portals.
- **Business Directory Scrapers** – Gather publicly available business names, locations, categories, and contact information.
- **Professional Directory Scrapers** – Extract publicly listed professional and service-provider information from supported directories.

Looking for data from another website or a specialized dataset? **BigiByte** builds custom web scrapers, automation solutions, and data APIs tailored to your requirements.

Visit [BigiByte](https://bigibyte.com) to discuss your project.

### Trademark Notice

New York Department of State, New York State Open Data, and their associated names, logos, and trademarks belong to their respective owners. They are referenced solely to identify the source of the information. This actor is not affiliated with or endorsed by these organizations.

### Disclaimer

This actor is an independent data collection tool. It is not affiliated with, endorsed by, sponsored by, or officially associated with the New York Department of State or the New York State Open Data portal.

The information is collected from publicly accessible records. Users are responsible for verifying the accuracy and current status of collected information and complying with applicable laws and source-platform policies.

### Is Web Scraping Legal?

This actor extracts publicly accessible data without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** Notary records may contain personal information. Follow applicable privacy regulations, including GDPR and CCPA where relevant, and handle personal identifiers responsibly.
- **Copyrighted Content:** Public accessibility does not automatically remove copyright protections. Avoid duplicating or redistributing copyrighted text, images, or other creative assets without permission.
- **Platform Terms and Rate Limits:** Collect data responsibly, avoid excessive traffic, and respect the source platform's applicable usage policies and rate limits.

**Disclaimer:** This information is provided for educational purposes only and does not constitute legal advice. Consult a qualified legal professional if you need guidance about your specific use case.

For more information, read Apify's guide: [Is Web Scraping Legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

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

What to collect.

## `searchText` (type: `string`):

Full-text search across all columns ($q).

## `where` (type: `string`):

SoQL WHERE clause, e.g. :updated_at>'2020-01-01'.

## `orderBy` (type: `string`):

SoQL $order. Stable paging needs a unique order.

## `appToken` (type: `string`):

Optional Socrata app token (X-App-Token) for higher limits.

## `maxItems` (type: `integer`):

Stop after this many successful rows. Hard max is 1000.

## `requestDelayMs` (type: `integer`):

Polite pacing in milliseconds.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "all_rows",
  "searchText": "inc",
  "where": ":updated_at>'2020-01-01'",
  "orderBy": ":id",
  "maxItems": 100,
  "requestDelayMs": 500,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "searchText": "inc"
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/nys-notaries-public-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 = { "searchText": "inc" }

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/nys-notaries-public-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 '{
  "searchText": "inc"
}' |
apify call bigibyte/nys-notaries-public-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/nys-notaries-public-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/HLdzUQieN3Ab4deRD/builds/95tyVF9bt5bMZGCob/openapi.json
