{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Patents Scraper With Legal Status & Ownership Details",
    "description": "🔎 Google Patents Scraper extracts structured patent data from Google Patents — titles, abstracts, inventors, assignees, dates, legal status, citations & CPC/IPC classifications. 📊 Export CSV/JSON. 🚀 Ideal for prior art, patent landscaping & competitive intelligence.",
    "version": "1.0",
    "x-build-id": "EMbffAZe9t2yYPIG2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/simpleapi~google-patents-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-simpleapi-google-patents-scraper",
        "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/simpleapi~google-patents-scraper/runs": {
      "post": {
        "operationId": "runs-sync-simpleapi-google-patents-scraper",
        "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/simpleapi~google-patents-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-simpleapi-google-patents-scraper",
        "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": {
          "patentLinks": {
            "title": "🔗 Patent & search links",
            "type": "array",
            "description": "✅ One entry per line: patent URLs, search URLs (q=), or plain keywords (e.g. machine learning). Plain lines are search phrases. All entries OR-merge with Search terms. (Base key `urls` is still accepted for compatibility.)",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "🔤 Search terms",
            "type": "string",
            "description": "💡 Main keyword search. OR-merged with any q= from search URLs and with publication numbers below. (Base key `searchQuery` still accepted.)"
          },
          "patentIds": {
            "title": "🔢 Publication numbers",
            "type": "array",
            "description": "📋 Specific patent IDs to check legal status and ownership on (e.g. US12438891B1). Combined with search terms using OR. (Base key `patentNumbers` still accepted.)",
            "items": {
              "type": "string"
            }
          },
          "assigneeFilter": {
            "title": "🏢 Assignee (filing-time)",
            "type": "string",
            "description": "🏭 Focus on patents originally filed by a particular organization. (Base key `assignee` still accepted.)"
          },
          "inventorFilter": {
            "title": "👤 Inventor",
            "type": "string",
            "description": "🧑‍🔬 Find patents listing a specific inventor. (Base key `inventor` still accepted.)"
          },
          "jurisdiction": {
            "title": "🌍 Patent office / region",
            "enum": [
              "ANY",
              "US",
              "EP",
              "WO",
              "CN",
              "JP",
              "KR",
              "DE",
              "GB",
              "FR",
              "CA",
              "AU",
              "IN",
              "BR",
              "TW",
              "RU",
              "IT",
              "ES",
              "NL",
              "SE",
              "CH",
              "AT",
              "HK",
              "SG",
              "MX",
              "NO",
              "DK",
              "FI",
              "PL",
              "IL",
              "NZ",
              "ZA",
              "SA",
              "AR",
              "TH",
              "MY",
              "PH",
              "ID",
              "VN"
            ],
            "type": "string",
            "description": "🗺️ Pick a country or office — or **Any** to search everywhere. (Base key `country` still accepted.)"
          },
          "publishedAfter": {
            "title": "📅 Published after",
            "pattern": "^$|^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "⏳ Pick a **calendar date** or a **relative** range (e.g. *30 days*, *6 months*). Leave empty for no lower bound. (Base key `dateFrom` still accepted.)"
          },
          "publishedBefore": {
            "title": "📅 Published before",
            "pattern": "^$|^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "⏳ Same as above — absolute or relative. Leave empty for no upper bound. (Base key `dateTo` still accepted.)"
          },
          "documentKind": {
            "title": "📄 Document kind",
            "enum": [
              "ANY",
              "PATENT",
              "APPLICATION",
              "DESIGN"
            ],
            "type": "string",
            "description": "📑 Limit to grants, applications, or designs — or **Any** for all types. (Base key `patentType` still accepted.)"
          },
          "maxPatents": {
            "title": "🔢 Max patents",
            "minimum": 0,
            "type": "integer",
            "description": "🎚️ Cap how many patents to analyze. Use **0** for no limit (be mindful of run time). (Base key `maxResults` still accepted.)"
          },
          "includeLegalStatus": {
            "title": "🟢 Legal status (active/expired/pending + expiration)",
            "type": "boolean",
            "description": "📜 Adds the detail-page Legal Status statement (status + expiration date) for the searched patent, plus per-family, per-country legal state (`familyLegalStatus`) that Google already returns on every search hit.",
            "default": true
          },
          "includeOwnershipHistory": {
            "title": "🔁 Ownership / assignment history",
            "type": "boolean",
            "description": "🏛️ Adds `originalAssignee`→`currentAssignee`, an `ownershipChanged` flag, and a full assignment-events CHILD DATASET (date, from-assignee, to-assignee, event type) parsed from the patent's Assignment Events table.",
            "default": true
          },
          "fetchFullText": {
            "title": "📖 Full description",
            "type": "boolean",
            "description": "📜 Adds the full written description (large text). (Base key `includeFullText` still accepted.)"
          },
          "fetchClaims": {
            "title": "📋 Claims",
            "type": "boolean",
            "description": "⚖️ Adds the patent claims text. (Base key `includeClaims` still accepted.)"
          },
          "fetchCitations": {
            "title": "🔗 Citations",
            "type": "boolean",
            "description": "↩️ Adds backward and forward citation lists where available. (Base key `includeCitations` still accepted.)"
          },
          "fetchPatentFamily": {
            "title": "👨‍👩‍👧 Patent family",
            "type": "boolean",
            "description": "🌍 Adds related publications in the same family. (Base key `includePatentFamily` still accepted.)"
          },
          "fetchClassifications": {
            "title": "🏷️ CPC / IPC codes",
            "type": "boolean",
            "description": "🧮 Adds classification codes for analytics and filtering. (Base key `includeClassifications` still accepted.)"
          },
          "proxySettings": {
            "title": "🔐 Proxy",
            "type": "object",
            "description": "🛟 Optional Apify Proxy settings. Leave default off if you don't need it. (Base key `proxyConfiguration` still accepted.)"
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}