{
  "openapi": "3.0.1",
  "info": {
    "title": "USPTO Trademark Search Scraper - Status & Owners $2.50/1K",
    "description": "Get USPTO trademark status, owner, attorney, classes, dates and image by serial or registration number, and search new filings by mark text, owner, class and date. Official TSDR & Open Data Portal data. $2.50 per 1,000 trademarks.",
    "version": "0.1",
    "x-build-id": "GcMX9FWZkO2Ybmrb8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/plotpointtech~uspto-trademark-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-plotpointtech-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/plotpointtech~uspto-trademark-search/runs": {
      "post": {
        "operationId": "runs-sync-plotpointtech-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/plotpointtech~uspto-trademark-search/run-sync": {
      "post": {
        "operationId": "run-sync-plotpointtech-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": {
          "serialNumbers": {
            "title": "Serial numbers",
            "type": "array",
            "description": "USPTO application serial numbers (8 digits), e.g. 88300695. Without a TSDR API key, up to 10 numbers per run are looked up on the public TSDR status page.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "registrationNumbers": {
            "title": "Registration numbers",
            "type": "array",
            "description": "USPTO registration numbers, e.g. 22406 (COCA-COLA) or 6000000. Leading zeros are optional. If you leave numbers and search fields empty, the tool looks up 22406 as a demo.",
            "items": {
              "type": "string"
            }
          },
          "tsdrApiKey": {
            "title": "TSDR API key (free, recommended)",
            "type": "string",
            "description": "Free key from the USPTO API Key Manager (account.uspto.gov/profile/api-manager, product 'TSDR API'). Removes the 10-number limit and uses the official API (60 lookups per minute). An Open Data Portal key does not work here."
          },
          "searchTerms": {
            "title": "Mark text contains",
            "type": "array",
            "description": "Search new filings whose mark text contains any of these words (case-insensitive). Needs an Open Data Portal API key. Also filters number lookups.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "ownerName": {
            "title": "Owner name contains",
            "type": "string",
            "description": "Only marks whose current owner name contains this text, e.g. 'Nike'. Needs an Open Data Portal API key for searching."
          },
          "classes": {
            "title": "International classes",
            "type": "array",
            "description": "Nice classes, e.g. 9, 25, 42. A mark matches if it covers any of them.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "status": {
            "title": "Status",
            "enum": [
              "any",
              "live",
              "dead"
            ],
            "type": "string",
            "description": "Live or dead marks only.",
            "default": "any"
          },
          "filingDateFrom": {
            "title": "Filing date from",
            "type": "string",
            "description": "YYYY-MM-DD. Only marks filed on or after this date."
          },
          "filingDateTo": {
            "title": "Filing date to",
            "type": "string",
            "description": "YYYY-MM-DD. Only marks filed on or before this date."
          },
          "odpApiKey": {
            "title": "Open Data Portal API key (for searching)",
            "type": "string",
            "description": "Free key from data.uspto.gov (MyUSPTO account with identity verification). Used to download the official daily trademark application files (dataset TRTDXFAP) that the search runs over."
          },
          "dailyFilesFrom": {
            "title": "Daily files from",
            "type": "string",
            "description": "YYYY-MM-DD. First daily application file to scan. Default: 6 days before 'Daily files to'."
          },
          "dailyFilesTo": {
            "title": "Daily files to",
            "type": "string",
            "description": "YYYY-MM-DD. Last daily application file to scan. Default: today."
          },
          "maxDailyFiles": {
            "title": "Max daily files to scan",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Each daily file holds every application record created or changed that day (often tens of thousands).",
            "default": 10
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many trademarks.",
            "default": 100
          },
          "redactIndividualAddresses": {
            "title": "Hide addresses of individual owners",
            "type": "boolean",
            "description": "Removes the postal address when the owner is a private individual (legal entity type INDIVIDUAL). Business owners are kept.",
            "default": true
          },
          "includeRawTsdr": {
            "title": "Include raw TSDR API response",
            "type": "boolean",
            "description": "Adds the complete TSDR API JSON (prosecution history, correspondent, all owners) as tsdrRaw. Only with a TSDR key.",
            "default": false
          },
          "odpProductId": {
            "title": "Open Data Portal dataset ID",
            "type": "string",
            "description": "Advanced. TRTDXFAP = Trademark Full Text XML, daily applications.",
            "default": "TRTDXFAP"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}