{
  "openapi": "3.0.1",
  "info": {
    "title": "USPTO, EPO Patent Claims, Family & IP Litigation MCP",
    "description": "Commercial-clean official patent & IP intelligence: EPO OPS v3.2 biblio, independent vs dependent claims, DOCDB family & INPADOC legal events, USPTO ODP prosecution/continuity/PTA, CourtListener v4 NOS-830 litigation & live zero-key US Federal Register USPTO notices. Zero Google Patents scraping.",
    "version": "1.0",
    "x-build-id": "M7cTintwW7tohiaDW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hgreene624~uspto-epo-patent-ip-mcp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hgreene624-uspto-epo-patent-ip-mcp",
        "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/hgreene624~uspto-epo-patent-ip-mcp/runs": {
      "post": {
        "operationId": "runs-sync-hgreene624-uspto-epo-patent-ip-mcp",
        "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/hgreene624~uspto-epo-patent-ip-mcp/run-sync": {
      "post": {
        "operationId": "run-sync-hgreene624-uspto-epo-patent-ip-mcp",
        "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": {
          "mode": {
            "title": "Execution Mode",
            "enum": [
              "patent_lookup",
              "patent_search",
              "litigation_search",
              "uspto_notices"
            ],
            "type": "string",
            "description": "Select patent lookup by number, structured patent search, federal litigation docket search, or live zero-key US Federal Register USPTO notices.",
            "default": "patent_lookup"
          },
          "patentNumbers": {
            "title": "Patent / Application Numbers",
            "type": "array",
            "description": "Publication numbers (e.g. EP1000000, EP1000000A1, US10000000B2, WO2020123456A1, USD123456S1), US application numbers (16/123,456), or PCT applications (PCT/US2020/012345).",
            "items": {
              "type": "string"
            },
            "default": [
              "EP1000000",
              "US10000000B2"
            ]
          },
          "query": {
            "title": "Search Keyword or Phrase",
            "type": "string",
            "description": "Structured keyword/phrase for patent_search, litigation_search, or uspto_notices mode (safely escaped; leading wildcards rejected).",
            "default": ""
          },
          "assignee": {
            "title": "Assignee / Applicant Filter",
            "type": "string",
            "description": "Optional structured applicant/assignee filter (EPO pa / USPTO firstApplicantName) for patent_search mode.",
            "default": ""
          },
          "inventor": {
            "title": "Inventor Filter",
            "type": "string",
            "description": "Optional structured inventor name filter (EPO in / USPTO firstInventorName) for patent_search mode.",
            "default": ""
          },
          "cpcCode": {
            "title": "CPC Classification Filter",
            "type": "string",
            "description": "Optional Cooperative Patent Classification prefix (e.g. G01S17 or H04L9/00) for patent_search mode.",
            "default": ""
          },
          "includeClaims": {
            "title": "Include Structured Claims (Independent vs Dependent)",
            "type": "boolean",
            "description": "Fetch and parse EPO OPS full-text claims into structured independentClaims and dependentClaims (covered for EP, WO, and select national offices; US claims report not_available_for_authority at $0).",
            "default": true
          },
          "includeFamily": {
            "title": "Include DOCDB Family & INPADOC Legal Events",
            "type": "boolean",
            "description": "Fetch DOCDB simple family members / equivalents and INPADOC legal status events via EPO OPS (+$0.010 combined with claims when live non-empty data is returned).",
            "default": true
          },
          "includeUsptoProsecution": {
            "title": "Include USPTO ODP Prosecution, Continuity & PTA",
            "type": "boolean",
            "description": "Fetch live US application prosecution history, parent/child continuity, and Patent Term Adjustment from USPTO Open Data Portal (requires usptoApiKey; +$0.012 when live data returned).",
            "default": true
          },
          "includeLitigation": {
            "title": "Include CourtListener v4 Litigation (NOS 830)",
            "type": "boolean",
            "description": "Search federal patent litigation dockets (Nature of Suit 830) via CourtListener v4 RECAP (requires courtListenerToken; included in the +$0.012 prosecution/litigation event).",
            "default": true
          },
          "includeFederalRegisterNotices": {
            "title": "Attach Live US Federal Register USPTO Notices",
            "type": "boolean",
            "description": "Attach recent live zero-key official USPTO rules and notices from the US Federal Register API (public domain, works without API keys).",
            "default": true
          },
          "epoConsumerKey": {
            "title": "EPO OPS Consumer Key (BYOK)",
            "type": "string",
            "description": "Your registered EPO Open Patent Services OAuth2 Consumer Key (4 GB/week free tier at developers.epo.org; never logged or echoed)."
          },
          "epoConsumerSecret": {
            "title": "EPO OPS Consumer Secret (BYOK)",
            "type": "string",
            "description": "Your registered EPO Open Patent Services OAuth2 Consumer Secret (never logged or echoed)."
          },
          "usptoApiKey": {
            "title": "USPTO Open Data Portal API Key (BYOK)",
            "type": "string",
            "description": "Your free USPTO Open Data Portal X-API-KEY from data.uspto.gov (never logged or echoed)."
          },
          "courtListenerToken": {
            "title": "CourtListener v4 API Token (BYOK)",
            "type": "string",
            "description": "Your Free Law Project CourtListener v4 token from courtlistener.com/profile/tokens/ (never logged or echoed)."
          },
          "allowAnonymousEpo": {
            "title": "Allow Anonymous EPO OPS Probe (Opt-In)",
            "type": "boolean",
            "description": "Off by default to avoid exhausting EPO's shared AnonymousQuotaPerDay from cloud IPs. Enable only for quick ad-hoc testing without EPO OAuth2 keys.",
            "default": false
          },
          "allowSampleFallback": {
            "title": "Allow Bundled Reference Sample Fallback ($0.00)",
            "type": "boolean",
            "description": "When live EPO/USPTO keys are omitted, return hash-pinned public-domain reference fixtures for EP1000000 / US10000000B2 / EP1000001 clearly tagged bundled_reference_sample at $0.00.",
            "default": true
          },
          "maxItems": {
            "title": "Max Records",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum patent records to process in this batch run (1..500; Console prefill is 100, API default is 25, Apify Free plan automatically capped at 25 preview records).",
            "default": 25
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Maximum concurrent patent lookups (1..5; politely bounded to respect EPO OPS traffic-light quotas).",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}