{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Patents Scraper — Search, Citations, Family Graph",
    "description": "Scrape Google Patents across USPTO, EPO, WIPO, JPO and 100+ offices. Six modes: keyword search, ID lookup, assignee and inventor portfolios, family graphs, and citation hops. Paste a patents.google.com URL or a query. Claims, CPC, expiry, PDF. Pay-per-event, no API key.",
    "version": "0.0",
    "x-build-id": "EIdRmsVYAauZTUYLZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~google-patents-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-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/memo23~google-patents-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-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/memo23~google-patents-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "details",
              "byAssignee",
              "byInventor",
              "family",
              "citationNetwork"
            ],
            "type": "string",
            "description": "search = keyword discovery. details = full record for known patent IDs. byAssignee / byInventor = portfolios. family = jurisdictional family of a seed. citationNetwork = N-hop citation crawl.",
            "default": "search"
          },
          "startUrls": {
            "title": "Google Patents URLs",
            "type": "array",
            "description": "Optional. Paste patents.google.com search pages (?q=, ?assignee=, ?inventor=) or detail pages (/patent/US10000000B2/en). Classified automatically and merged with the fields below.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Free-text Google Patents queries for mode=search. Boolean AND/OR, quotes, and wildcards work. Each query is a separate search; results are merged. Use searchQuery for a single string if you prefer.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Search query (single)",
            "type": "string",
            "description": "Single free-text query for mode=search. Same syntax as patents.google.com. Prefer searchQueries when you have more than one."
          },
          "patentIds": {
            "title": "Patent IDs",
            "type": "array",
            "description": "Publication numbers for details, family, and citationNetwork. Accepts US10000000B2, US-10000000-B2, EP3000000B1, WO2018000000A1.",
            "items": {
              "type": "string"
            }
          },
          "assigneeNames": {
            "title": "Assignee names",
            "type": "array",
            "description": "Company / organization names for mode=byAssignee. Each name is its own query.",
            "items": {
              "type": "string"
            }
          },
          "assigneeName": {
            "title": "Assignee name (single)",
            "type": "string",
            "description": "Single assignee for mode=byAssignee. Prefer assigneeNames for more than one."
          },
          "inventorNames": {
            "title": "Inventor names",
            "type": "array",
            "description": "Person names for mode=byInventor. Each name is its own query.",
            "items": {
              "type": "string"
            }
          },
          "inventorName": {
            "title": "Inventor name (single)",
            "type": "string",
            "description": "Single inventor for mode=byInventor."
          },
          "countryCodes": {
            "title": "Country codes",
            "type": "array",
            "description": "Two-letter office codes (US, EP, WO, JP, CN, KR, …). Applied as country:XX operators. Ignored in details and family modes.",
            "items": {
              "type": "string"
            }
          },
          "cpc": {
            "title": "CPC codes",
            "type": "array",
            "description": "CPC prefixes to restrict search, e.g. G06N or G01S7/4863. Applied as CPC= operators. Ignored in details and family modes.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Lower bound YYYY-MM-DD. Filters publication date (or filing date when status=APPLICATION)."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Upper bound YYYY-MM-DD."
          },
          "status": {
            "title": "Patent status",
            "enum": [
              "ANY",
              "GRANT",
              "APPLICATION"
            ],
            "type": "string",
            "description": "ANY returns grants and applications. GRANT = issued only. APPLICATION = published applications only.",
            "default": "ANY"
          },
          "patentType": {
            "title": "Patent type",
            "enum": [
              "ANY",
              "PATENT",
              "DESIGN",
              "OTHER"
            ],
            "type": "string",
            "description": "ANY, PATENT (utility), DESIGN, or OTHER (plant and similar).",
            "default": "ANY"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Detail-page language (en, de, ja, zh, …). Google auto-translates when a translation exists.",
            "default": "en"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on patent records returned. In citationNetwork this caps total nodes across hops. Default 50.",
            "default": 50
          },
          "enrichmentDepth": {
            "title": "Enrichment depth",
            "enum": [
              "basic",
              "deep"
            ],
            "type": "string",
            "description": "basic = id, title, snippet/abstract, dates, assignee, inventors, URL ($0.002). deep = plus claims, citations, family, CPC, PDF, description, expiry ($0.005). details / family / citationNetwork always fetch the detail page.",
            "default": "basic"
          },
          "citationDirection": {
            "title": "Citation direction",
            "enum": [
              "backward",
              "forward",
              "both"
            ],
            "type": "string",
            "description": "citationNetwork only. backward = prior art this seed cites. forward = later patents that cite the seed. both = both directions.",
            "default": "both"
          },
          "citationDepth": {
            "title": "Citation depth",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "citationNetwork hops. 1 = direct citations. 2–3 grow very fast — keep maxItems tight.",
            "default": 1
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel HTTP fetches (1–20). Default 8.",
            "default": 8
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Default: Apify residential US. Direct works from many home IPs; Google has been seen returning HTTP 500 on filtered queries from datacenter IPs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}