# Trademark Availability & Status: USPTO Serial Number Lookup (`greyridge-signals/uspto-trademark-batch`) Actor

Screen a brand name for trademark availability or bulk-check status by serial or registration number against the USPTO register. Per mark: live/dead status, owner, classes, goods and services, exact-match and in-class conflict flags (with classes given) for a knockout check, and the record link.

- **URL**: https://apify.com/greyridge-signals/uspto-trademark-batch.md
- **Developed by:** [Rez Archer](https://apify.com/greyridge-signals) (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

$3.00 / 1,000 trademark term searcheds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## USPTO Trademark Availability & Status Search

Check trademark availability for a brand name, or bulk-check status by serial/registration
number, against the official USPTO register in one run. One output row per matching mark.

### What you can do with it

- **Trademark availability / knockout search** — before filing a mark or naming a company, pass
  the proposed name as a `term` with `liveOnly: true` and its `classes`. Any returned rows are
  live marks that contain your phrase in that class: candidate conflicts to review. An
  `exact_mark_match: true` row is a direct hit on the identical wordmark, and `class_conflict: true`
  means that identical wordmark is live in one of the classes you asked about. No live rows in the
  class is a clean preliminary signal. This is a screening aid, not legal clearance (see limits).
- **Serial / registration number lookup** — pass numbers in `serialNumbers` (or numeric `terms`)
  to pull the full record: status, owner, classes, dates, goods and services.
- **Bulk trademark status check** — pass many terms or numbers in one run to monitor a portfolio;
  each returns live/pending/dead `status` and the official record link.

### Input

| Field | Description |
|---|---|
| `terms` | Words/phrases to look up as a mark. Numeric entries (6-8 digits) are tried as serial number, then registration number. |
| `serialNumbers` | Serial (8 digit) or registration (6-7 digit) numbers. |
| `liveOnly` | Only marks flagged live/pending by the USPTO. |
| `classes` | Only marks with one of these international classes (e.g. `25`, `9`). Also drives `in_requested_class` and `class_conflict`. |
| `maxResultsPerTerm` | Default 25, max 500. Closest wordmark first, then live marks, then newest filings. |

A run searches at most **1,000 unique terms** (`terms` and `serialNumbers` together, duplicates removed). Terms past 1,000 are not searched and not charged; the log and the run status message say how many were skipped, so split larger lists across runs.

```json
{ "terms": ["NIKE", "just do it"], "serialNumbers": ["76044902"], "liveOnly": true, "classes": ["25"] }
```

### Output

Each row: `input_term`, `result_type` (`match` | `no_match` | `error`), `mark`, `exact_mark_match`,
`in_requested_class`, `class_conflict`,
`serial_number`, `registration_number`, `status`, `status_code`, `live`, `status_date`, `owner`, `owners`,
`filing_date`, `registration_date`, `publication_date`, `classes`, `goods_and_services`, `uspto_url`,
`total_matches_for_term`, `results_truncated`, `record_loaded_at`, `retrieved_at`.

- `in_requested_class` is `true` when the mark has one of your `classes`, `false` when not, and `null`
  when you gave no `classes`. `class_conflict` is `true` only for an identical wordmark that is live in a
  requested class, and `null` when no `classes` were given. Similar-but-not-identical marks are never
  flagged as conflicts; review those rows yourself.
- A term with no records returns a `no_match` row, never an empty run.
- A failed lookup returns an `error` row with the cause. If every term fails the run itself fails.
- `status_date` is the cancel/abandon date for dead marks and null for live ones (the source exposes no
  general status date). `filing_date` and `registration_date` are always given when they exist.
- `uspto_url` opens the official record in USPTO TSDR.

### Source and limits

Data comes from the public search backend behind tmsearch.uspto.gov. No key or account. It is the
USPTO website's own backend, not a contracted API, so it can change without notice, and it publishes no
rate limit. The actor runs 3 lookups in parallel and retries 429/5xx with backoff. Data is as fresh as
that site (records are loaded daily; check `record_loaded_at`). Term search is a phrase match on the word
mark: it finds marks containing your phrase, not phonetic or design-code similarity. This is information,
not legal advice.

### Pricing

Pay per event: $0.003 per searched term (see `.actor/PRICING.md`). Errors are not charged. One term can return up to 500 full trademark records, so you pay once for the whole batch behind a term, not per record.

### Local test

`npm test` (offline unit checks), `node test/live_run.js` (real USPTO calls).

# Actor input Schema

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

Words or phrases to look up as a mark (for example "just do it"). A purely numeric entry (6 to 8 digits) is treated as a serial number first, then as a registration number.

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

USPTO serial numbers (8 digits) or registration numbers (6 to 7 digits). Optional prefixes like SN or Reg are accepted.

## `liveOnly` (type: `boolean`):

Return only marks the USPTO flags as live (registered or pending). Dead, abandoned and cancelled marks are skipped.

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

Only return marks that have at least one of these international classes (for example 25 for clothing, 9 for software). Leave empty for all classes.

## `maxResultsPerTerm` (type: `integer`):

Cap on matching marks returned per term (closest wordmark match first, then live marks, then newest filings). The row also reports total_matches_for_term and results_truncated.

## Actor input object example

```json
{
  "terms": [
    "NIKE",
    "just do it"
  ],
  "serialNumbers": [
    "76044902"
  ],
  "liveOnly": false,
  "maxResultsPerTerm": 25
}
```

# Actor output Schema

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

One row per matching mark, plus one no_match or error row per term that had none, in the default dataset.

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

Open the run results in the Apify Console.

# 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": [
        "NIKE",
        "just do it"
    ],
    "serialNumbers": [
        "76044902"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("greyridge-signals/uspto-trademark-batch").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": [
        "NIKE",
        "just do it",
    ],
    "serialNumbers": ["76044902"],
}

# Run the Actor and wait for it to finish
run = client.actor("greyridge-signals/uspto-trademark-batch").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": [
    "NIKE",
    "just do it"
  ],
  "serialNumbers": [
    "76044902"
  ]
}' |
apify call greyridge-signals/uspto-trademark-batch --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,greyridge-signals/uspto-trademark-batch"
        }
    }
}
```

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/zL5xWCSRfKwaHK1B0/builds/jM6YlhjY1dB2msp7U/openapi.json
