# 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
- **Stats:** 42 total users, 12 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 trademark batch checks

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# 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
