1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "scoredAt": "2026-08-05T00:00:00Z",
12 "requestId": "action-queue-20260804-001",
13 "items": [
14 {
15 "entityId": "nike.com",
16 "brandName": "Nike",
17 "legalName": "Nike, Inc.",
18 "domain": "nike.com",
19 "ticker": "NKE",
20 "cik": null,
21 "aliases": [
22 "Nike, Inc."
23 ],
24 "country": "US",
25 "sourceEntityIds": [
26 "us-dtc-product-launch-monitor:nike.com"
27 ],
28 "eventType": "product_launch",
29 "eventId": "fixture-launch-001",
30 "observedAt": "2026-08-04T10:00:00Z",
31 "effectiveAt": "2026-08-04T10:00:00Z",
32 "sourceName": "prefill_fixture",
33 "sourceUrl": "https://www.nike.com/",
34 "sourceRecordId": "fixture-launch-001",
35 "evidence": {
36 "facts": {
37 "productName": "Fixture running shoe",
38 "price": 120
39 },
40 "excerpt": "Synthetic Store prefill evidence; not a live fetch",
41 "additionalUrls": []
42 },
43 "confidence": 0.96,
44 "severity": "high",
45 "state": "active",
46 "dedupeKey": "prefill_fixture|nike.com|product_launch|fixture-launch-001",
47 "attribution": {
48 "status": "verified_by_source",
49 "proofType": "exact-domain",
50 "proofValue": "nike.com",
51 "sourceEntityId": "us-dtc-product-launch-monitor:nike.com"
52 },
53 "owner": {
54 "ownerType": "team",
55 "ownerId": "merchandising",
56 "label": "Merchandising",
57 "source": "customer"
58 },
59 "analysisStatus": "not_requested",
60 "demoFixture": true
61 },
62 {
63 "entityId": "nike.com",
64 "brandName": "Nike",
65 "legalName": "Nike, Inc.",
66 "domain": "nike.com",
67 "ticker": "NKE",
68 "cik": null,
69 "aliases": [
70 "Nike, Inc."
71 ],
72 "country": "US",
73 "sourceEntityIds": [
74 "us-dtc-product-launch-monitor:nike.com"
75 ],
76 "eventType": "product_launch",
77 "eventId": "fixture-launch-001",
78 "observedAt": "2026-08-04T10:00:00Z",
79 "effectiveAt": "2026-08-04T10:00:00Z",
80 "sourceName": "prefill_fixture",
81 "sourceUrl": "https://www.nike.com/",
82 "sourceRecordId": "fixture-launch-001",
83 "evidence": {
84 "facts": {
85 "productName": "Fixture running shoe",
86 "price": 120
87 },
88 "excerpt": "Synthetic Store prefill evidence; not a live fetch",
89 "additionalUrls": []
90 },
91 "confidence": 0.96,
92 "severity": "high",
93 "state": "active",
94 "dedupeKey": "prefill_fixture|nike.com|product_launch|fixture-launch-001",
95 "attribution": {
96 "status": "verified_by_source",
97 "proofType": "exact-domain",
98 "proofValue": "nike.com",
99 "sourceEntityId": "us-dtc-product-launch-monitor:nike.com"
100 },
101 "owner": {
102 "ownerType": "team",
103 "ownerId": "merchandising",
104 "label": "Merchandising",
105 "source": "customer"
106 },
107 "analysisStatus": "not_requested",
108 "demoFixture": true
109 }
110 ]
111};
112
113
114const run = await client.actor("zinin/us-brand-action-queue").call(input);
115
116
117console.log('Results from dataset');
118console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
119const { items } = await client.dataset(run.defaultDatasetId).listItems();
120items.forEach((item) => {
121 console.dir(item);
122});
123
124