{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Patents Inventor, Assignee & Citation Lookup",
    "description": "Search Google's aggregated patent index by keyword, inventor, assignee, classification code, or citation graph, and get abstract, claims, dates, family, and citations for each matching patent.",
    "version": "1.1",
    "x-build-id": "N7bSR7wWMs9dxceBg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~google-patents-inventor-assignee-and-citation/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-google-patents-inventor-assignee-and-citation",
        "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/dataspryva~google-patents-inventor-assignee-and-citation/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-google-patents-inventor-assignee-and-citation",
        "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/dataspryva~google-patents-inventor-assignee-and-citation/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-google-patents-inventor-assignee-and-citation",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "searchPatents",
              "byPatent",
              "byInventor",
              "byAssignee",
              "byClassification",
              "byCitation",
              "byFamily",
              "byUrl"
            ],
            "type": "string",
            "description": "Which lookup path to use.",
            "default": "searchPatents"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "One or more keyword queries. Google Patents syntax works: quoted phrases, OR, minus, TI=(title words), CL=(claim words), CPC=H04L9/06.",
            "default": [
              "quantum computing"
            ],
            "items": {
              "type": "string"
            }
          },
          "publicationNumbers": {
            "title": "Publication numbers",
            "type": "array",
            "description": "Publication numbers such as US11704715B2, EP3789012A1, WO2020012345A1. Used by byPatent, byCitation and byFamily.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "inventors": {
            "title": "Inventors",
            "type": "array",
            "description": "Inventor names. The actor runs one search per name.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "assignees": {
            "title": "Assignees / companies",
            "type": "array",
            "description": "Assignee or applicant names. The actor runs one search per name.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "classifications": {
            "title": "CPC classifications",
            "type": "array",
            "description": "CPC codes or prefixes such as H04L9/06, G06N3/00, H01M10. Combined with a keyword query when both are set.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Google Patents URLs",
            "type": "array",
            "description": "Patent pages (/patent/US.../en) or search pages (/?q=...&assignee=...&country=...). All search filters in the URL are honoured.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "countryCodes": {
            "title": "Patent offices",
            "type": "array",
            "description": "Two-letter office codes: US, EP, WO, JP, CN, KR, DE, GB, FR, CA, AU, IN and more. Empty means all offices.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "documentLanguages": {
            "title": "Document languages",
            "type": "array",
            "description": "Original publication languages: ENGLISH, GERMAN, FRENCH, SPANISH, JAPANESE, KOREAN, CHINESE, RUSSIAN, PORTUGUESE, ITALIAN, ARABIC, DUTCH, SWEDISH, FINNISH, NORWEGIAN, DANISH. This filters documents; it does not translate them.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "detailLanguage": {
            "title": "Detail page language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "ja",
              "ko",
              "zh",
              "ru",
              "pt",
              "it",
              "ar",
              "nl",
              "sv",
              "fi",
              "no",
              "da"
            ],
            "type": "string",
            "description": "Language of the patent page text. Google translates where available.",
            "default": "en"
          },
          "status": {
            "title": "Grant status",
            "enum": [
              "ANY",
              "GRANT",
              "APPLICATION"
            ],
            "type": "string",
            "description": "Any status, granted patents only, or published applications only.",
            "default": "ANY"
          },
          "patentType": {
            "title": "Patent type",
            "enum": [
              "ANY",
              "PATENT",
              "DESIGN"
            ],
            "type": "string",
            "description": "Utility-style patents or design patents.",
            "default": "ANY"
          },
          "dateType": {
            "title": "Date field",
            "enum": [
              "priority",
              "filing",
              "publication"
            ],
            "type": "string",
            "description": "Which date the From and To fields apply to.",
            "default": "priority"
          },
          "dateFrom": {
            "title": "Date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Earliest date, inclusive. Leave empty for no lower bound.",
            "default": ""
          },
          "dateTo": {
            "title": "Date to (YYYY-MM-DD)",
            "type": "string",
            "description": "Latest date, inclusive. Leave empty for no upper bound.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "new",
              "old"
            ],
            "type": "string",
            "description": "Google's relevance, newest first, or oldest first.",
            "default": "relevance"
          },
          "grouping": {
            "title": "Result grouping",
            "enum": [
              "family",
              "publication"
            ],
            "type": "string",
            "description": "One row per patent family (Google's default) or one row per publication.",
            "default": "family"
          },
          "includeSimilar": {
            "title": "Include similar documents",
            "type": "boolean",
            "description": "Google mixes similar documents into search results. Keep them (label matchType=similar) or drop them.",
            "default": true
          },
          "includeNonPatentLiterature": {
            "title": "Include non-patent literature",
            "type": "boolean",
            "description": "Also return Google Scholar non-patent literature rows for each keyword query.",
            "default": false
          },
          "litigation": {
            "title": "Litigation filter",
            "enum": [
              "ANY",
              "YES",
              "NO"
            ],
            "type": "string",
            "description": "Only patents with related litigation, only patents with no known litigation, or any.",
            "default": "ANY"
          },
          "citationDirection": {
            "title": "Citation direction",
            "enum": [
              "backward",
              "forward",
              "both"
            ],
            "type": "string",
            "description": "Which side of the citation graph to walk in byCitation mode.",
            "default": "both"
          },
          "citationDepth": {
            "title": "Citation depth",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "How many citation hops to follow in byCitation mode: 1, 2 or 3.",
            "default": 1
          },
          "fetchFullDetails": {
            "title": "Fetch full details",
            "type": "boolean",
            "description": "For search modes, also fetch each patent page for claims, legal status, citations, family and other detail fields.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on emitted records. Google Patents exposes about 1,000 results per query; use date, office or CPC filters to go deeper.",
            "default": 25
          },
          "maxItemsPerQuery": {
            "title": "Max items per query",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Optional cap for each query / inventor / assignee / CPC search. 0 means only the global Max items cap applies.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}