{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Patents Scraper - Claims, Citations & Legal Status",
    "description": "Scrape Google Patents without an API key: search by keyword, assignee, inventor, country and date, then optional full details (abstract, claims, CPC, citations, cited by, family, legal events, expiry). US$ 2 per 1,000 patents, +2.50 with details.",
    "version": "0.1",
    "x-build-id": "LOelYUMzUkbHZ3MF1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapewise~google-patents-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapewise-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/scrapewise~google-patents-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapewise-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/scrapewise~google-patents-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapewise-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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords, one query per line, exactly as you would type them on patents.google.com. Google Patents syntax works: quotes for phrases (\"solid state\" battery), OR, AND, NOT, parentheses. Each query returns up to 'Max results per query' patents.",
            "items": {
              "type": "string"
            }
          },
          "patentIds": {
            "title": "Patent numbers or links",
            "type": "array",
            "description": "Publication numbers or Google Patents links, one per line: US9674549B2, EP3067979B1, WO2019009625A1, https://patents.google.com/patent/US9674549B2/en. Each one returns the full record (always with details).",
            "items": {
              "type": "string"
            }
          },
          "assignees": {
            "title": "Assignees (companies)",
            "type": "array",
            "description": "Only patents of these assignees, one per line (Toyota, Apple Inc, Samsung Electronics). Works alone (whole portfolio) or together with the queries.",
            "items": {
              "type": "string"
            }
          },
          "inventors": {
            "title": "Inventors",
            "type": "array",
            "description": "Only patents naming these inventors, one per line. Works alone or together with the queries.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerQuery": {
            "title": "Max results per query",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many patents to take from each query, in Google Patents' order. Empty = 20. Google Patents shows at most 1,000 per query; split big searches by date range to get more."
          },
          "maxItems": {
            "title": "Max patents in total",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on charged patents for the whole run. Empty or 0 = no cap besides the per-query limit."
          },
          "includeDetails": {
            "title": "Full details for each search result",
            "type": "boolean",
            "description": "Opens each patent page and adds abstract, all claims (with independent/dependent flag), CPC codes, citations and cited-by lists, family members, timeline, legal events, legal status and expiration date. Adds US$ 2.50 per 1,000 patents. Off = the search row only (title, snippet, dates, inventor, assignee, PDF link)."
          },
          "includeDescription": {
            "title": "Include the full description text",
            "type": "boolean",
            "description": "With details on, also returns the full specification text (often 20,000 to 200,000 characters per patent). Off by default to keep rows small. No extra charge."
          },
          "countries": {
            "title": "Patent offices",
            "type": "array",
            "description": "Two-letter office codes, one per line: US, EP, WO, CN, JP, KR, DE, GB, FR, IN, BR... Empty = all offices.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "YYYY-MM-DD or just a year (2018). Uses the date type below."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "YYYY-MM-DD or just a year."
          },
          "dateType": {
            "title": "Date type",
            "enum": [
              "priority",
              "filing",
              "publication"
            ],
            "type": "string",
            "description": "Which date the From/To filter applies to. Empty = priority date."
          },
          "status": {
            "title": "Status",
            "enum": [
              "any",
              "granted",
              "application"
            ],
            "type": "string",
            "description": "Keep only granted patents or only published applications. Empty = any."
          },
          "patentType": {
            "title": "Type",
            "enum": [
              "any",
              "patent",
              "design"
            ],
            "type": "string",
            "description": "Utility or design patents. Empty = any."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Original language of the document, in capitals as Google Patents names it: ENGLISH, GERMAN, CHINESE, JAPANESE, KOREAN, FRENCH... Empty = any."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Order of the search results. Empty = relevance."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy is the default and works for Google Patents. Refused requests are retried on a new IP.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}