# USPTO Trademark Application Monitor (`apex-nexus/uspto-trademark-application-monitor`) Actor

- **URL**: https://apify.com/apex-nexus/uspto-trademark-application-monitor.md
- **Developed by:** [Valunex](https://apify.com/apex-nexus) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 11.1% 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

## USPTO Trademark Application Monitor

Monitors the public U.S. federal trademark register and emits one dataset item
per new or changed trademark application:

- **NEW_FILING** — a newly discovered application matching a wordmark / owner /
  international-class watchlist, filed since the last run.
- **STATUS_CHANGE** — a watched serial number whose monitored status changed:
  live→DEAD, abandonment, cancellation, publication for opposition, new
  registration, or new owner.

Opposition windows are short, so early filing detection is the value. The
Actor is "free when nothing changes": a repeat run with no changes emits zero
dataset items.

### Who it is for

- **Trademark attorneys & IP firms** — docketing, opposition deadlines, new
  conflicting filings against client marks.
- **Brand owners & product teams** — clearance and competitor watch.
- **Print-on-demand sellers & small brands** — early warning of conflicting
  filings before you invest in inventory or packaging.

### What it monitors

| Watch type | What it watches | What the Actor emits |
|------------|-----------------|----------------------|
| **term** | New applications containing a wordmark | NEW_FILING items |
| **owner** | New applications filed by an owner | NEW_FILING items |
| **class** | New applications in a Nice international class | NEW_FILING items |
| **serial** | Status of watched application serial numbers | STATUS_CHANGE items |

For serial-number watches the Actor snapshots `alive` (LIVE/DEAD), owner
name, registration number, publication-for-opposition date, abandonment and
cancellation dates, classes, goods & services, attorney and filing basis, and
emits one item per changed record with a `previous`/`current` snapshot.

### Data source

Public U.S. government register data, via official public endpoints:

- https://tmsearch.uspto.gov/prod-stage-v1-0-0/tmsearch  (USPTO Trademark Search API)
- https://tmsearch.uspto.gov/tsdr-api-v1-0-0/tsdr-api     (public TSDR proxy)
- https://tsdr.uspto.gov                                   (public TSDR)

No credentials, no proxies, no login, no API key, no anti-bot scraping, no
commercial inference (no LLMs) inside the product. Requests are paced (~4
req/s) and one erroring watch never aborts the whole run.

### State and "free when nothing changes"

A per-watch checkpoint is kept in the Actor default key-value store:

- New filings: seen serial numbers are remembered, so repeat runs emit only
  applications not seen before.
- Serial watches: the last snapshot per serial number is remembered, so
  repeat runs emit only records whose monitored fields changed.

If nothing changed since the last run, the run emits zero items.

### Pricing (Apify Store — FREE listing)

Listed as **FREE**: **$0 per run**, and nothing-changed runs free — a repeat
run with no new trademark filings or status changes emits zero dataset items.

No pay-per-event or per-item pricing is enabled on this listing. Monetization
(pricing events, payout billing and identity verification/KYC) is an owner
step in Apify Console at payout time only (POLICY #3):
https://console.apify.com/actors/<actorId>/publication

Monetization (pricing events, payout billing and identity verification/KYC)
is an owner step in Apify Console at payout time only (POLICY #3). This README
makes no pricing, revenue, customer, or adoption claims beyond those evidenced.

This README makes no revenue, customer, or adoption claims beyond those evidenced.

### Input

See `actor/input-schema.json` (or `.actor/input_schema.json`). At least one of
`terms`, `owners`, `classes`, `serialNumbers` should be provided; an empty
input defaults to watching recent filings for the wordmark "APPLE".

- `terms` (max 25): wordmarks to watch for new filings.
- `owners` (max 25): owners to watch for new filings.
- `classes` (max 25): Nice international classes, e.g. `025` or `25`.
- `serialNumbers` (max 100): USPTO serial numbers (7-8 digits) to watch for
  status changes.
- `sinceDays` (1-365, default 30): new-filing lookback window.
- `maxResults` (1-200, default 50): cap on NEW_FILING items per run.

Example:

```json
{
  "terms": ["APPLE", "NIKE"],
  "owners": ["NIKE, INC."],
  "classes": ["025", "009"],
  "serialNumbers": ["97900000"],
  "sinceDays": 30,
  "maxResults": 50
}
```

### Output

One dataset item per new or changed record. Sample output:

```json
{
  "serialNumber": "98200000",
  "wordmark": "EXAMPLE MARK",
  "status": "LIVE",
  "changeType": "NEW_FILING",
  "changeDetail": "NEW_FILING",
  "ownerName": ["Example Applicant, LLC"],
  "internationalClass": ["IC 025"],
  "filedDate": "2026-10-28",
  "registrationNumber": null,
  "watchType": "term",
  "watchValue": "APPLE",
  "source": "tmsearch.uspto.gov",
  "detectedAt": "2026-10-29T10:15:00+00:00",
  "newSinceLastRun": true
}
```

Every field is `null` when it could not be parsed from the public record —
the Actor never guesses.

### Limits

- Max 25 terms, 25 owners, 25 classes, 100 serial numbers per run.
- Max 200 NEW_FILING items per run (maxResults).
- New filings are paged by filing date; only filings within `sinceDays` are
  considered.
- Checkpoints persist in the Actor key-value store; resetting the store
  re-emits filings within the lookback window and re-baselines serial watches.

### Files

- `actor/main.py` — Apify SDK Python Actor
- `actor/input-schema.json` — JSONSchema input definition (with example)
- `actor/requirements.txt` — pinned deps (`apify==4.2.0`, `httpx==0.27.2`)
- `actor/tests/test_monitor.py` — unit tests, deterministic, no network
- `actor/Dockerfile` — Apify platform build
- `actor/.actor/actor.json`, `.actor/input_schema.json`,
  `.actor/dataset_schema.json`, `.actor/output_schema.json` — Apify platform metadata

### Verification

Run `pytest actor/tests` before release (builder acceptance criterion). The
suite is deterministic and needs no network.

### Licensing

Only Apify SDK + httpx (MIT-compatible). Original code; no competitor code
copied; no Apex code; no secrets committed.

# Actor input Schema

## `terms` (type: `array`):

Wordmarks to watch for NEW filings (e.g. APPLE, NIKE). New applications containing these terms are emitted as NEW_FILING items.

## `owners` (type: `array`):

Trademark owners to watch for NEW filings (e.g. "NIKE, INC."). New applications filed by these owners are emitted as NEW_FILING items.

## `classes` (type: `array`):

Nice international classes to watch for NEW filings (e.g. 025, 009, 041). Enter class numbers such as 25 or 025.

## `serialNumbers` (type: `array`):

USPTO application serial numbers (7-8 digits, e.g. 97900000) to watch for status changes: live->DEAD, abandonment, cancellation, publication for opposition, new registration, new owner. The first run stores a baseline snapshot and emits nothing; later runs emit a STATUS_CHANGE item only when a monitored field changes.

## `sinceDays` (type: `integer`):

Only new filings filed within this many days are considered. Applies to term/owner/class watches.

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

Cap on NEW_FILING dataset items emitted in a single run.

## Actor input object example

```json
{
  "terms": [
    "APPLE"
  ],
  "sinceDays": 30,
  "maxResults": 50
}
```

# Actor output Schema

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

Dataset items filtered by the overview view defined in the dataset schema (new filings and status changes).

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

All dataset items emitted by the Actor run (new trademark filings and status changes).

# 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 = {
    "terms": [
        "APPLE"
    ],
    "sinceDays": 30,
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-nexus/uspto-trademark-application-monitor").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 = {
    "terms": ["APPLE"],
    "sinceDays": 30,
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("apex-nexus/uspto-trademark-application-monitor").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 '{
  "terms": [
    "APPLE"
  ],
  "sinceDays": 30,
  "maxResults": 50
}' |
apify call apex-nexus/uspto-trademark-application-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apex-nexus/uspto-trademark-application-monitor"
        }
    }
}
```

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/lQjf9Jt14TUbP1ImA/builds/aZxRIUWqPxuidMiiC/openapi.json
