{
  "openapi": "3.0.1",
  "info": {
    "title": "POD & KDP Trademark Checker (USPTO)",
    "description": "Trademark checker for Etsy, Merch by Amazon, Redbubble, TikTok Shop and KDP sellers. Check listing titles, tags and slogans against 4.4M+ live USPTO trademarks before you upload. Get a high/medium/low risk score per phrase with the mark, owner, classes and TSDR link. Not legal advice.",
    "version": "1.0",
    "x-build-id": "gFf4960qQOW5ZP0OM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vncntlabs~pod-trademark-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vncntlabs-pod-trademark-checker",
        "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/vncntlabs~pod-trademark-checker/runs": {
      "post": {
        "operationId": "runs-sync-vncntlabs-pod-trademark-checker",
        "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/vncntlabs~pod-trademark-checker/run-sync": {
      "post": {
        "operationId": "run-sync-vncntlabs-pod-trademark-checker",
        "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": {
          "listings": {
            "title": "Listings",
            "type": "array",
            "description": "Listings to screen. Each item is either a plain title string or an object {\"id\": \"...\", \"title\": \"...\", \"tags\": [\"...\"], \"description\": \"...\"}. Every 1-5 word phrase in the title and in each tag is checked. Charged per listing. Invalid items (empty, wrong type, duplicates) are reported as type \"skipped\" rows and never charged. Limits: title 1,000 chars, 50 tags of 200 chars (longer input is truncated with a warning)."
          },
          "phrases": {
            "title": "Phrases (whole-phrase check)",
            "type": "array",
            "description": "Optional standalone phrases or slogans to check exactly as written (no n-gram splitting), e.g. a design slogan before you print it. Charged per phrase.",
            "items": {
              "type": "string"
            }
          },
          "classes": {
            "title": "Product classes (Nice / IC)",
            "type": "array",
            "description": "USPTO international classes to check. Default covers POD products: 025 clothing, 021 mugs/drinkware, 016 stickers/paper/books, 009 phone cases, 014 jewelry, 018 bags, 020 pillows/decor, 024 blankets/textiles, 028 toys/games.",
            "default": [
              "025",
              "021",
              "016",
              "009",
              "014",
              "018",
              "020",
              "024",
              "028"
            ],
            "items": {
              "type": "string"
            }
          },
          "inferClassesFromListing": {
            "title": "Narrow classes using product words",
            "type": "boolean",
            "description": "If a listing names its product (shirt, hoodie, mug, sticker, phone case, tote, pillow, blanket, toy...), only check the matching classes from your list for that listing. Listings without a product word use all selected classes. Recommended: cuts flags from unrelated goods (e.g. a word registered only for software when you sell t-shirts).",
            "default": true
          },
          "matchMode": {
            "title": "Match mode",
            "enum": [
              "fuzzy",
              "exact"
            ],
            "type": "string",
            "description": "exact: only phrases identical to a live mark (after normalizing case/punctuation). fuzzy: also spacing variants (\"justdoit\"), singular/plural, USPTO pseudo-marks and phrases that cover most of a longer mark.",
            "default": "fuzzy"
          },
          "includeLowRisk": {
            "title": "Include low-risk flags",
            "type": "boolean",
            "description": "Also report common dictionary words and partial matches that happen to be registered (e.g. \"cat\", \"love\"). Off keeps the output focused.",
            "default": false
          },
          "checkDescription": {
            "title": "Also check descriptions",
            "type": "boolean",
            "description": "Also extract phrases from listing descriptions (slower and noisier).",
            "default": false
          },
          "maxListings": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many listings + phrases (0 = no limit). Use it to cap spend.",
            "default": 0
          },
          "maxFlagsPerListing": {
            "title": "Max flags per listing",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Highest-risk flags are kept first.",
            "default": 25
          },
          "confirmWithTsdr": {
            "title": "Confirm high-risk marks live with USPTO TSDR (beta)",
            "type": "boolean",
            "description": "Beta. Optional. Re-checks the status of each high-risk mark in real time with the official USPTO TSDR API and adds a tsdrLive field (or an error note if TSDR is unreachable). Requires your own free TSDR API key. Slow (about 50 lookups/minute); not yet validated against the live API. The main check works without it.",
            "default": false
          },
          "tsdrApiKey": {
            "title": "TSDR API key",
            "type": "string",
            "description": "Your USPTO TSDR API key (only used when the beta TSDR confirmation is on). Stored encrypted."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}