1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "items": [
12 {
13 "recordType": "patent_evidence_record",
14 "schemaVersion": "2.0.0",
15 "found": true,
16 "checkedAt": "2026-09-18T15:19:59.476Z",
17 "observedAt": "2026-09-18T15:19:59.476Z",
18 "patentId": "US12345678B2",
19 "title": "Thermal management system for an energy storage assembly",
20 "patentDate": "2026-07-14",
21 "assignee": "Example Energy Systems Inc.",
22 "url": "https://patents.google.com/patent/US12345678B2/en",
23 "jurisdiction": "US",
24 "recordStatus": "granted",
25 "__source": {
26 "actor": "zinin/patent-monitor",
27 "actorId": "kcLdXz58zRI7SIml5",
28 "runId": "mFJpsRFyQjfHh4zLK",
29 "datasetId": "88yXMBVUNp8tNPliz",
30 "sampleRowIndex": 0,
31 "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload."
32 }
33 },
34 {
35 "patentId": "US10000000B2",
36 "googlePatentsUrl": "https://patents.google.com/patent/US10000000B2/en",
37 "scrapedAt": "2026-09-23T06:42:42.482Z",
38 "mode": "details",
39 "title": "Coherent LADAR using intra-pixel quadrature detection",
40 "filingDate": "2015-03-10",
41 "publicationDate": "2018-06-19",
42 "grantDate": "2018-06-19",
43 "priorityDate": "2015-03-10",
44 "kindCode": "B2",
45 "countryCode": "US",
46 "type": "PATENT",
47 "status": "GRANT",
48 "assignee": "Raytheon Co",
49 "cpc": [
50 "G",
51 "G01",
52 "G01S",
53 "G01S7/00",
54 "G01S7/48",
55 "G01S7/483",
56 "G01S7/486",
57 "G01S7/4861",
58 "G01S7/4863",
59 "G01S13/00",
60 "G01S13/88",
61 "G01S13/89",
62 "G01S7/4865",
63 "G01S7/491",
64 "G01S7/4912",
65 "G01S7/4913",
66 "G01S7/4914",
67 "G01S7/4917",
68 "G01S17/00",
69 "G01S17/88",
70 "G01S17/89",
71 "G01S17/894"
72 ],
73 "citationsBackward": [
74 "US5093563A",
75 "US5751830A",
76 "US20030076485A1",
77 "WO2005080928A1",
78 "US20060227317A1",
79 "JPS639877A",
80 "US5565982A",
81 "JP3332802B2",
82 "JP3771777B2",
83 "US6934034B2",
84 "JP2005214927A",
85 "US20060227316A1",
86 "US7206062B2",
87 "CN100578261C",
88 "JP5514641B2",
89 "US20130104661A1",
90 "JP2013257302A",
91 "JPWO2014203654A1",
92 "US10000000B2"
93 ],
94 "citationsForward": [
95 "US10845468B2",
96 "US20180172806A1",
97 "US11237252B2",
98 "US20180156897A1",
99 "US20220326355A1",
100 "US12399278B1",
101 "US12399279B1",
102 "US12123950B2",
103 "US12418719B2",
104 "US10873738B2",
105 "US12096121B2",
106 "US11477363B2",
107 "US11838626B2",
108 "US11092690B1",
109 "US11619718B2",
110 "US11243296B2",
111 "US10753736B2",
112 "US11520021B2",
113 "US11933967B2",
114 "US12372318B2",
115 "US12379185B2",
116 "US12379177B2",
117 "US10031215B1",
118 "KR102373926B1",
119 "EP3548840B1",
120 "KR102254466B1",
121 "US11624828B2",
122 "KR102399757B1",
123 "US10502618B2",
124 "US9871339B1",
125 "US10002986B1",
126 "US10422880B2",
127 "DE112018001060T5",
128 "CN110832350B",
129 "EP4246176A3",
130 "CN113260873A",
131 "US11822010B2",
132 "US11415697B2",
133 "CN110456366B",
134 "IL321588A",
135 "US11548433B2",
136 "FR3112397B1",
137 "CN111708024B",
138 "EP4033270A4",
139 "KR102628708B1",
140 "US11740336B2",
141 "US12216209B2",
142 "US12153139B2",
143 "US11567212B2",
144 "CN113406664A",
145 "WO2023191849A2",
146 "US12130363B2",
147 "US12366663B1",
148 "US11592540B1",
149 "US12571914B2"
150 ],
151 "citationsBackwardTotal": 19,
152 "citationsForwardTotal": 55,
153 "__source": {
154 "actor": "khadinakbar/google-patents-scraper",
155 "actorId": "9TNaptxQeIHf8bZNd",
156 "runId": "xiAfEHKEl32fXSeJH",
157 "datasetId": "DlbZZJT6kkyo0Utmq",
158 "sampleRowIndex": 0,
159 "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload."
160 }
161 },
162 {
163 "patentId": "US10000001B2",
164 "googlePatentsUrl": "https://patents.google.com/patent/US10000001B2/en",
165 "scrapedAt": "2026-09-23T06:42:46.090Z",
166 "mode": "details",
167 "title": "Injection molding machine and mold thickness control method",
168 "filingDate": "2015-12-08",
169 "publicationDate": "2018-06-19",
170 "grantDate": "2018-06-19",
171 "priorityDate": "2014-12-24",
172 "kindCode": "B2",
173 "countryCode": "US",
174 "type": "PATENT",
175 "status": "GRANT",
176 "assignee": "LS Mtron Ltd",
177 "cpc": [
178 "B",
179 "B29",
180 "B29C",
181 "B29C45/00",
182 "B29C45/17",
183 "B29C45/76",
184 "B29C45/64",
185 "B29C45/66",
186 "B29C45/80",
187 "B29C45/661",
188 "G",
189 "G05",
190 "G05B",
191 "G05B19/00",
192 "G05B19/02",
193 "G05B19/18",
194 "G05B19/182",
195 "G05B19/402",
196 "B29C2945/00",
197 "B29C2945/76",
198 "B29C2945/76003",
199 "B29C2945/76083",
200 "B29C2945/76177",
201 "B29C2945/76224",
202 "B29C2945/76227",
203 "B29C2945/76344",
204 "B29C2945/76431",
205 "B29C2945/76494",
206 "B29C2945/76505",
207 "B29C2945/76822",
208 "B29C2945/76866",
209 "B29C45/1751",
210 "B29C45/7653",
211 "G05B2219/00",
212 "G05B2219/30",
213 "G05B2219/45",
214 "G05B2219/45244"
215 ],
216 "citationsBackward": [
217 "JP3276727B2",
218 "US20020022069A1",
219 "US20030039719A1",
220 "KR100512595B1",
221 "US20050098912A1",
222 "US20080211126A1",
223 "US20090026644A1",
224 "US7804268B2",
225 "JP2009208412A",
226 "US20120146260A1",
227 "US9296144B2",
228 "JP2013132796A",
229 "US20140134284A1",
230 "US9022767B2",
231 "US9090016B2",
232 "US9108352B2",
233 "US9566732B2",
234 "CN1428232A",
235 "JP3962725B2",
236 "JP4146381B2"
237 ],
238 "citationsForward": [
239 "US12600071B2",
240 "CN109414860B",
241 "JP6444955B2",
242 "JP6538763B2",
243 "US11850782B2",
244 "CN111703053B"
245 ],
246 "citationsBackwardTotal": 20,
247 "citationsForwardTotal": 6,
248 "__source": {
249 "actor": "khadinakbar/google-patents-scraper",
250 "actorId": "9TNaptxQeIHf8bZNd",
251 "runId": "xiAfEHKEl32fXSeJH",
252 "datasetId": "DlbZZJT6kkyo0Utmq",
253 "sampleRowIndex": 1,
254 "projection": "Public business-record fields only; observed values unchanged. Added __source is provenance, not upstream payload."
255 }
256 }
257 ]
258};
259
260
261const run = await client.actor("zinin/patent-assignee-period-rollup").call(input);
262
263
264console.log('Results from dataset');
265console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
266const { items } = await client.dataset(run.defaultDatasetId).listItems();
267items.forEach((item) => {
268 console.dir(item);
269});
270
271