{
  "openapi": "3.0.1",
  "info": {
    "title": "Cancelled US Trademark Registrations, Weekly (USPTO Gazette)",
    "description": "Each week's US trademark registrations the USPTO cancelled for a missed Section 8 or Section 71 filing, from the Trademark Official Gazette: mark, classes, goods, dates and business owner, plus a .com DNS hint. Not legal clearance. Unofficial tool.",
    "version": "0.1",
    "x-build-id": "Vhfu5w91uAoUC3qtK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/plainrecordlabs~cancelled-us-trademarks/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-plainrecordlabs-cancelled-us-trademarks",
        "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/plainrecordlabs~cancelled-us-trademarks/runs": {
      "post": {
        "operationId": "runs-sync-plainrecordlabs-cancelled-us-trademarks",
        "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/plainrecordlabs~cancelled-us-trademarks/run-sync": {
      "post": {
        "operationId": "run-sync-plainrecordlabs-cancelled-us-trademarks",
        "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": {
          "issueDate": {
            "title": "Gazette issue date",
            "type": "string",
            "description": "The Tuesday Trademark Official Gazette issue to read, YYYY-MM-DD, for example 2026-10-27. Leave empty for the newest issue, which is what a weekly schedule wants."
          },
          "reasons": {
            "title": "Cancellation reasons",
            "type": "array",
            "description": "Which cancelled lists to read. Section 8 and Section 71 are registrations cancelled because the owner did not file the required declaration of use. The others are rare.",
            "items": {
              "type": "string",
              "enum": [
                "CANCELLED_SECTION_8",
                "CANCELLED_SECTION_71",
                "CANCELLED_SECTION_7E",
                "CANCELLED_SECTION_18",
                "CANCELLED_SECTION_24",
                "CANCELLED_SECTION_37"
              ],
              "enumTitles": [
                "Section 8 (no declaration of use)",
                "Section 71 (no declaration of use, Madrid)",
                "Section 7(e) (surrendered by the owner)",
                "Section 18 (Board order)",
                "Section 24 (court or Board order)",
                "Section 37 (court order)"
              ]
            },
            "default": [
              "CANCELLED_SECTION_8",
              "CANCELLED_SECTION_71"
            ]
          },
          "includePartial": {
            "title": "Include partial cancellations",
            "type": "boolean",
            "description": "A partial cancellation drops only some goods or classes and the registration stays live for the rest. Off by default.",
            "default": false
          },
          "wordMarksOnly": {
            "title": "Word marks only",
            "type": "boolean",
            "description": "Only typeset and standard character marks, the ones that are plain words. Leaves out logos and stylized marks.",
            "default": false
          },
          "maxMarkWords": {
            "title": "Most words in the mark",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out marks with more words than this, for example 2 for short names. 0 = no limit.",
            "default": 0
          },
          "internationalClasses": {
            "title": "International classes",
            "type": "array",
            "description": "Only registrations in any of these Nice classes, 1 to 45, for example 25 for clothing or 9 for software. Older registrations that list only US classes are left out when this is set.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "checkComDns": {
            "title": "Add the .com DNS hint",
            "type": "boolean",
            "description": "For each word mark, one public DNS query for name servers on the matching .com name. A hint only, not a check that the domain can be registered.",
            "default": true
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Most registrations one run returns. 0 = no cap. A weekly issue lists about 4,000 to 4,500 Section 8 and Section 71 cancellations.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}