# USPTO Trademark Batch Search API (`dev00/uspto-trademark-api`) Actor

Bulk verify keywords and phrases against the USPTO database to instantly detect LIVE and PENDING trademarks.

- **URL**: https://apify.com/dev00/uspto-trademark-api.md
- **Developed by:** [dev00](https://apify.com/dev00) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 111 total users, 21 monthly users, 99.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 trademark batch checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## 🛡️ USPTO Trademark Batch Search API

Bulk verify keywords and phrases against the **United States Patent and Trademark Office (USPTO)** database to instantly detect LIVE and PENDING trademarks. Perfect for Print-on-Demand (POD) sellers, Merch by Amazon creators, Redbubble artists, domain flippers, and keyword monitoring platforms.

Instead of manually checking phrases one by one on the outdated USPTO site, this edge-optimized tool routes lookups to an advanced batch search backend gateway, checks up to 100 phrases in parallel, filters target classes, records programmatic PPE charge units, and maps clean visual answers.

***

### 🌟 Key Features

- **Massive Bulk Scans**: Submit a JSON array of up to 100 words/phrases in a single request.
- **Custom Class Filtering**: Restrict checks to specific classes (e.g. `25` for clothing, `9` for electronics).
- **Granular Registry Details**: Returns exact serial numbers, filing dates, registration dates, and statuses.
- **Interactive Spreadsheet View**: Displays query phrases, matched wordmarks, serial numbers, filing dates, and registry statuses side-by-side.
- **Pay-Per-Event PPE Monetization**: Highly cost-effective pricing model charging only for successful trademark verifications.

***

### 🛠️ How It Works

This Actor forwards batch keyword lookups to an edge-deployed gateway, submits a structured search form to real-time USPTO databases, aggregates matching records, maps details to a key-value store, registers programmatic charge event metrics, and outputs structured sheets.

***

### 📥 Input Parameters

| Field | Type | Description | Prefill Example |
| :--- | :--- | :--- | :--- |
| **Phrases to Verify** | `array` | A list of phrases to check against the trademark database. Max is 100. | `["star wars", "disney", "just do it"]` |
| **USPTO Classes Filter** | `string` | Comma-separated list of product classes to filter searches. | `25,9,18,20` |

#### Input JSON Example

```json
{
  "terms": ["star wars", "disney", "just do it"],
  "classes": "25,9"
}
```

***

### 📤 Output Data Structure

Tabular datasets output clean rows mapping the account info:

#### Output JSON Example

```json
{
  "success": true,
  "query_phrase": "star wars",
  "trademark_wordmark": "STAR WARS",
  "serial_number": "85093812",
  "status": "LIVE",
  "filing_date": "2010-07-26",
  "registration_date": "2011-08-30",
  "classes": "25,9"
}
```

***

### 💳 Monetization & Cost

This Actor utilizes the **Pay-Per-Event (PPE)** pricing model on the Apify Store:

- **Base Pricing**: Only **$5.00 per 1,000 successful verifications** (`$0.005` per event).
- **Pay as You Go**: If a batch check fails completely, no billing charges occur.

# Actor input Schema

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

Provide a list of words or phrases to check against the USPTO trademark database (e.g. \['star wars', 'disney', 'just do it']). Maximum 100 phrases.

## `classes` (type: `string`):

Comma-separated list of product classes to filter searches (e.g. '25' for clothing, '9' for electronics, '18' for leather/bags). Default is '25,9,18,20'.

## Actor input object example

```json
{
  "terms": [
    "star wars",
    "disney",
    "just do it"
  ],
  "classes": "25,9,18,20"
}
```

# Actor output Schema

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

No description

## `keyValueStoreResult` (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 = {
    "terms": [
        "star wars",
        "disney",
        "just do it"
    ],
    "classes": "25,9,18,20"
};

// Run the Actor and wait for it to finish
const run = await client.actor("dev00/uspto-trademark-api").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": [
        "star wars",
        "disney",
        "just do it",
    ],
    "classes": "25,9,18,20",
}

# Run the Actor and wait for it to finish
run = client.actor("dev00/uspto-trademark-api").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": [
    "star wars",
    "disney",
    "just do it"
  ],
  "classes": "25,9,18,20"
}' |
apify call dev00/uspto-trademark-api --silent --output-dataset

```

## MCP server setup

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

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/nhSY7qeLJUsvkXQTH/builds/pxpgT5DbKEFu1wKE6/openapi.json
