{
  "openapi": "3.0.1",
  "info": {
    "title": "USPTO Trademark Search & Name Clearance Check",
    "description": "Check if a brand name is taken in the US. Search the official USPTO trademark register by name, owner, Nice class or goods: live/dead status, owner, classes, dates, similarity score and a free conflict verdict per name. New-filings monitor. No login or API key.",
    "version": "1.0",
    "x-build-id": "BfmilcZ9LVxqgFvaw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hydrocore~uspto-trademark-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hydrocore-uspto-trademark-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/hydrocore~uspto-trademark-search/runs": {
      "post": {
        "operationId": "runs-sync-hydrocore-uspto-trademark-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/hydrocore~uspto-trademark-search/run-sync": {
      "post": {
        "operationId": "run-sync-hydrocore-uspto-trademark-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchTerms": {
            "title": "Trademark names to check",
            "type": "array",
            "description": "Brand or product names to look up in the US trademark register, one per line (e.g. Lumen Labs). Each name is a separate search with its own conflict screen in the run summary. The example names (Lumen Labs, Quillbot) are only used when nothing else is set; for an owner-, keyword- or date-only search just fill those fields.",
            "default": [
              "Lumen Labs",
              "Quillbot"
            ],
            "items": {
              "type": "string"
            }
          },
          "matchMode": {
            "title": "Match mode",
            "enum": [
              "similar",
              "contains",
              "exact"
            ],
            "type": "string",
            "description": "Similar (default) also finds close spellings (LUMIN, LUMENS) the way a knock-out search would. Contains = the words appear in order. Exact = same letters and digits, ignoring spaces and punctuation.",
            "default": "similar"
          },
          "ownerNames": {
            "title": "Owner names",
            "type": "array",
            "description": "Find marks filed by these owners (applicant or registrant), e.g. Anthropic. Combined with the names above when both are set.",
            "items": {
              "type": "string"
            }
          },
          "goodsKeywords": {
            "title": "Goods / services contain",
            "type": "array",
            "description": "Keep marks whose goods and services text contains any of these phrases (e.g. artificial intelligence, energy drinks).",
            "items": {
              "type": "string"
            }
          },
          "classes": {
            "title": "Nice classes",
            "type": "array",
            "description": "International (Nice) class numbers 1-45, e.g. 9 (software), 42 (SaaS), 35 (retail/advertising). Empty = all classes.",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "title": "Status",
            "enum": [
              "any",
              "live",
              "dead"
            ],
            "type": "string",
            "description": "Live = pending applications and active registrations. Default: both.",
            "default": "any"
          },
          "filedWithinDays": {
            "title": "Filed in the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Only applications filed in this many days (0 = no limit). Works alone as a new-filings feed, for example with a goods keyword.",
            "default": 0
          },
          "filedAfter": {
            "title": "Filed on or after",
            "type": "string",
            "description": "YYYY-MM-DD. Ignored when 'Filed in the last N days' is set. Example: 2026-01-01."
          },
          "filedBefore": {
            "title": "Filed on or before",
            "type": "string",
            "description": "YYYY-MM-DD. Example: 2026-06-30."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "similarity",
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Sorting happens before the limit, so the first N rows really are the best/closest/newest N. 'Closest spelling' re-ranks up to 1,000 matches by letter similarity.",
            "default": "relevance"
          },
          "maxResultsPerSearch": {
            "title": "Max trademarks per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap per name (or per owner/keyword search). Default 25.",
            "default": 25
          },
          "onlyNew": {
            "title": "Only new trademarks (monitor mode)",
            "type": "boolean",
            "description": "Skip serial numbers saved by earlier runs with the same monitor key, so a scheduled run returns (and charges) only new filings.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Name for the saved state (default 'default'). Use a different key per watch list."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}