1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "sourceMode": "list",
12 "itemDescription": "Nintendo Switch OLED console with dock and Joy-Cons, working, any colour",
13 "maxDiscoveryChargeUsd": 0.5,
14 "itemsList": [
15 {
16 "itemId": "300000000001",
17 "url": "https://www.ebay.com/itm/300000000001",
18 "title": "Nintendo Switch OLED Model White Console with Dock and Joy-Cons",
19 "keyword": "nintendo switch oled",
20 "categoryId": "139971",
21 "category": "Video Game Consoles",
22 "condition": "Pre-Owned",
23 "conditionId": 3000,
24 "endedAt": "2026-09-24",
25 "soldPrice": "219.00",
26 "soldCurrency": "USD",
27 "shippingPrice": "0.00",
28 "shippingCurrency": "USD",
29 "shippingType": "Free",
30 "totalPrice": "219.00",
31 "listingType": "fixed_price",
32 "isBestOfferAccepted": false,
33 "buyingFormat": "FIXED_PRICE",
34 "bidCount": null,
35 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample1/s-l225.jpg",
36 "sellerUsername": "retro_flips_22",
37 "sellerFeedbackScore": 1200,
38 "sellerPositivePercent": 99.6,
39 "scrapedAt": "2026-09-27T08:00:00Z",
40 "itemSpecifics": {
41 "Brand": "Nintendo",
42 "Model": "Nintendo Switch OLED",
43 "Color": "White",
44 "Storage Capacity": "64 GB"
45 }
46 },
47 {
48 "itemId": "300000000002",
49 "url": "https://www.ebay.com/itm/300000000002",
50 "title": "Nintendo Switch OLED 64GB Neon Red/Blue - Tested, Works Great",
51 "keyword": "nintendo switch oled",
52 "categoryId": "139971",
53 "category": "Video Game Consoles",
54 "condition": "Pre-Owned",
55 "conditionId": 3000,
56 "endedAt": "2026-09-22",
57 "soldPrice": "199.50",
58 "soldCurrency": "USD",
59 "shippingPrice": "12.00",
60 "shippingCurrency": "USD",
61 "shippingType": "Standard",
62 "totalPrice": "211.50",
63 "listingType": "auction",
64 "isBestOfferAccepted": false,
65 "buyingFormat": "AUCTION",
66 "bidCount": 23,
67 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample2/s-l225.jpg",
68 "sellerUsername": "garage.sale.gamer",
69 "sellerFeedbackScore": 341,
70 "sellerPositivePercent": 100,
71 "scrapedAt": "2026-09-27T08:00:00Z"
72 },
73 {
74 "itemId": "300000000003",
75 "url": "https://www.ebay.com/itm/300000000003",
76 "title": "NEW Nintendo Switch OLED Model White - Factory Sealed",
77 "keyword": "nintendo switch oled",
78 "categoryId": "139971",
79 "category": "Video Game Consoles",
80 "condition": "New",
81 "conditionId": 1000,
82 "endedAt": "2026-09-25",
83 "soldPrice": "309.99",
84 "soldCurrency": "USD",
85 "shippingPrice": "0.00",
86 "shippingCurrency": "USD",
87 "shippingType": "Free",
88 "totalPrice": "309.99",
89 "listingType": "fixed_price",
90 "isBestOfferAccepted": false,
91 "buyingFormat": "FIXED_PRICE",
92 "bidCount": null,
93 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample3/s-l225.jpg",
94 "sellerUsername": "dealsdirect_us",
95 "sellerFeedbackScore": 15400,
96 "sellerPositivePercent": 99.2,
97 "scrapedAt": "2026-09-27T08:00:00Z"
98 },
99 {
100 "itemId": "300000000004",
101 "url": "https://www.ebay.com/itm/300000000004",
102 "title": "Nintendo Switch OLED Console For Parts Not Working - No Power",
103 "keyword": "nintendo switch oled",
104 "categoryId": "139971",
105 "category": "Video Game Consoles",
106 "condition": "For parts or not working",
107 "conditionId": 7000,
108 "endedAt": "2026-09-20",
109 "soldPrice": "89.00",
110 "soldCurrency": "USD",
111 "shippingPrice": "0.00",
112 "shippingCurrency": "USD",
113 "shippingType": "Free",
114 "totalPrice": "89.00",
115 "listingType": "fixed_price",
116 "isBestOfferAccepted": false,
117 "buyingFormat": "FIXED_PRICE",
118 "bidCount": null,
119 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample4/s-l225.jpg",
120 "sellerUsername": "fixit_fred",
121 "sellerFeedbackScore": 88,
122 "sellerPositivePercent": 98.9,
123 "scrapedAt": "2026-09-27T08:00:00Z"
124 },
125 {
126 "itemId": "300000000005",
127 "url": "https://www.ebay.com/itm/300000000005",
128 "title": "Nintendo Switch OLED Box Only - Empty Box No Console",
129 "keyword": "nintendo switch oled",
130 "categoryId": "139971",
131 "category": "Video Game Consoles",
132 "condition": "Pre-Owned",
133 "conditionId": 3000,
134 "endedAt": "2026-09-19",
135 "soldPrice": "14.99",
136 "soldCurrency": "USD",
137 "shippingPrice": "4.99",
138 "shippingCurrency": "USD",
139 "shippingType": "Standard",
140 "totalPrice": "19.98",
141 "listingType": "fixed_price",
142 "isBestOfferAccepted": false,
143 "buyingFormat": "FIXED_PRICE",
144 "bidCount": null,
145 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample5/s-l225.jpg",
146 "sellerUsername": "collect_n_ship",
147 "sellerFeedbackScore": 2210,
148 "sellerPositivePercent": 99.9,
149 "scrapedAt": "2026-09-27T08:00:00Z"
150 },
151 {
152 "itemId": "300000000006",
153 "url": "https://www.ebay.com/itm/300000000006",
154 "title": "Carrying Case for Nintendo Switch OLED - Hard Shell Travel Case",
155 "keyword": "nintendo switch oled",
156 "categoryId": "139971",
157 "category": "Video Game Consoles",
158 "condition": "New",
159 "conditionId": 1000,
160 "endedAt": "2026-09-21",
161 "soldPrice": "16.99",
162 "soldCurrency": "USD",
163 "shippingPrice": "0.00",
164 "shippingCurrency": "USD",
165 "shippingType": "Free",
166 "totalPrice": "16.99",
167 "listingType": "fixed_price",
168 "isBestOfferAccepted": false,
169 "buyingFormat": "FIXED_PRICE",
170 "bidCount": null,
171 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample6/s-l225.jpg",
172 "sellerUsername": "accessory_hub",
173 "sellerFeedbackScore": 9021,
174 "sellerPositivePercent": 98.7,
175 "scrapedAt": "2026-09-27T08:00:00Z"
176 },
177 {
178 "itemId": "300000000007",
179 "url": "https://www.ebay.com/itm/300000000007",
180 "title": "Nintendo Switch Lite Turquoise Handheld Console",
181 "keyword": "nintendo switch oled",
182 "categoryId": "139971",
183 "category": "Video Game Consoles",
184 "condition": "Pre-Owned",
185 "conditionId": 3000,
186 "endedAt": "2026-09-23",
187 "soldPrice": "139.00",
188 "soldCurrency": "USD",
189 "shippingPrice": "0.00",
190 "shippingCurrency": "USD",
191 "shippingType": "Free",
192 "totalPrice": "139.00",
193 "listingType": "fixed_price",
194 "isBestOfferAccepted": false,
195 "buyingFormat": "FIXED_PRICE",
196 "bidCount": null,
197 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample7/s-l225.jpg",
198 "sellerUsername": "retro_flips_22",
199 "sellerFeedbackScore": 1200,
200 "sellerPositivePercent": 99.6,
201 "scrapedAt": "2026-09-27T08:00:00Z"
202 },
203 {
204 "itemId": "300000000008",
205 "url": "https://www.ebay.com/itm/300000000008",
206 "title": "Lot of 2 Nintendo Switch OLED Consoles White + Neon",
207 "keyword": "nintendo switch oled",
208 "categoryId": "139971",
209 "category": "Video Game Consoles",
210 "condition": "Pre-Owned",
211 "conditionId": 3000,
212 "endedAt": "2026-09-18",
213 "soldPrice": "455.00",
214 "soldCurrency": "USD",
215 "shippingPrice": "0.00",
216 "shippingCurrency": "USD",
217 "shippingType": "Free",
218 "totalPrice": "455.00",
219 "listingType": "fixed_price",
220 "isBestOfferAccepted": false,
221 "buyingFormat": "FIXED_PRICE",
222 "bidCount": null,
223 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample8/s-l225.jpg",
224 "sellerUsername": "bulk_buys_llc",
225 "sellerFeedbackScore": 512,
226 "sellerPositivePercent": 97.4,
227 "scrapedAt": "2026-09-27T08:00:00Z"
228 },
229 {
230 "itemId": "300000000009",
231 "url": "https://www.ebay.com/itm/300000000009",
232 "title": "Nintendo Switch OLED White 64GB with Dock - Excellent",
233 "keyword": "nintendo switch oled",
234 "categoryId": "139971",
235 "category": "Video Game Consoles",
236 "condition": "Pre-Owned",
237 "conditionId": 3000,
238 "endedAt": "2026-09-26",
239 "soldPrice": "240.00",
240 "soldCurrency": "USD",
241 "shippingPrice": "0.00",
242 "shippingCurrency": "USD",
243 "shippingType": "Free",
244 "totalPrice": "240.00",
245 "listingType": "best_offer_accepted",
246 "isBestOfferAccepted": true,
247 "buyingFormat": "FIXED_PRICE",
248 "bidCount": null,
249 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample9/s-l225.jpg",
250 "sellerUsername": "thrift_to_profit",
251 "sellerFeedbackScore": 77,
252 "sellerPositivePercent": 100,
253 "scrapedAt": "2026-09-27T08:00:00Z"
254 },
255 {
256 "itemId": "300000000010",
257 "url": "https://www.ebay.com/itm/300000000010",
258 "title": "Nintendo Switch OLED Console Neon - minor scratches on screen",
259 "keyword": "nintendo switch oled",
260 "categoryId": "139971",
261 "category": "Video Game Consoles",
262 "condition": "Pre-Owned",
263 "conditionId": 3000,
264 "endedAt": "2026-09-16",
265 "soldPrice": "185.00",
266 "soldCurrency": "USD",
267 "shippingPrice": "14.00",
268 "shippingCurrency": "USD",
269 "shippingType": "Standard",
270 "totalPrice": "199.00",
271 "listingType": "fixed_price",
272 "isBestOfferAccepted": false,
273 "buyingFormat": "FIXED_PRICE",
274 "bidCount": null,
275 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample10/s-l225.jpg",
276 "sellerUsername": "weekend.reseller",
277 "sellerFeedbackScore": 190,
278 "sellerPositivePercent": 99.4,
279 "scrapedAt": "2026-09-27T08:00:00Z",
280 "sellerDescriptionText": "Works perfectly. Minor scratches on screen, not visible when on. Joy-Cons have slight drift."
281 },
282 {
283 "itemId": "300000000011",
284 "url": "https://www.ebay.com/itm/300000000011",
285 "title": "Nintendo Switch OLED Model White - Open Box, Unused",
286 "keyword": "nintendo switch oled",
287 "categoryId": "139971",
288 "category": "Video Game Consoles",
289 "condition": "Open box",
290 "conditionId": 1500,
291 "endedAt": "2026-09-17",
292 "soldPrice": "265.00",
293 "soldCurrency": "USD",
294 "shippingPrice": "0.00",
295 "shippingCurrency": "USD",
296 "shippingType": "Free",
297 "totalPrice": "265.00",
298 "listingType": "fixed_price",
299 "isBestOfferAccepted": false,
300 "buyingFormat": "FIXED_PRICE",
301 "bidCount": null,
302 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample11/s-l225.jpg",
303 "sellerUsername": "dealsdirect_us",
304 "sellerFeedbackScore": 15400,
305 "sellerPositivePercent": 99.2,
306 "scrapedAt": "2026-09-27T08:00:00Z"
307 },
308 {
309 "itemId": "300000000012",
310 "url": "https://www.ebay.com/itm/300000000012",
311 "title": "Nintendo Switch OLED Model Console White",
312 "keyword": "nintendo switch oled",
313 "categoryId": "139971",
314 "category": "Video Game Consoles",
315 "condition": "Pre-Owned",
316 "conditionId": 3000,
317 "endedAt": "2026-09-15",
318 "soldPrice": "95.00",
319 "soldCurrency": "USD",
320 "shippingPrice": "0.00",
321 "shippingCurrency": "USD",
322 "shippingType": "Free",
323 "totalPrice": "95.00",
324 "listingType": "fixed_price",
325 "isBestOfferAccepted": false,
326 "buyingFormat": "FIXED_PRICE",
327 "bidCount": null,
328 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample12/s-l225.jpg",
329 "sellerUsername": "quick.cash.store",
330 "sellerFeedbackScore": 3,
331 "sellerPositivePercent": 100,
332 "scrapedAt": "2026-09-27T08:00:00Z"
333 },
334 {
335 "itemId": "300000000013",
336 "url": "https://www.ebay.com/itm/300000000013",
337 "title": "Nintendo Switch OLED Model White Console (UK plug)",
338 "keyword": "nintendo switch oled",
339 "categoryId": "139971",
340 "category": "Video Game Consoles",
341 "condition": "Pre-Owned",
342 "conditionId": 3000,
343 "endedAt": "2026-09-21",
344 "soldPrice": "189.00",
345 "soldCurrency": "GBP",
346 "shippingPrice": "0.00",
347 "shippingCurrency": "GBP",
348 "shippingType": "Free",
349 "totalPrice": "189.00",
350 "listingType": "fixed_price",
351 "isBestOfferAccepted": false,
352 "buyingFormat": "FIXED_PRICE",
353 "bidCount": null,
354 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample13/s-l225.jpg",
355 "sellerUsername": "uk_console_deals",
356 "sellerFeedbackScore": 640,
357 "sellerPositivePercent": 99.8,
358 "scrapedAt": "2026-09-27T08:00:00Z"
359 },
360 {
361 "itemId": "300000000014",
362 "url": "https://www.ebay.com/itm/300000000014",
363 "title": "Nintendo Switch OLED Model w/ White Joy-Con - Tested",
364 "keyword": "nintendo switch oled",
365 "categoryId": "139971",
366 "category": "Video Game Consoles",
367 "condition": "Pre-Owned",
368 "conditionId": 3000,
369 "endedAt": "2026-09-12",
370 "soldPrice": "229.00",
371 "soldCurrency": "USD",
372 "shippingPrice": "0.00",
373 "shippingCurrency": "USD",
374 "shippingType": "Free",
375 "totalPrice": "229.00",
376 "listingType": "fixed_price",
377 "isBestOfferAccepted": false,
378 "buyingFormat": "FIXED_PRICE",
379 "bidCount": null,
380 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample14/s-l225.jpg",
381 "sellerUsername": "pawnshop_pdx",
382 "sellerFeedbackScore": 4380,
383 "sellerPositivePercent": 99.1,
384 "scrapedAt": "2026-09-27T08:00:00Z"
385 },
386 {
387 "itemId": "300000000015",
388 "url": "https://www.ebay.com/itm/300000000015",
389 "title": "Nintendo Switch OLED Handheld Console White, Dock, Charger",
390 "keyword": "nintendo switch oled",
391 "categoryId": "139971",
392 "category": "Video Game Consoles",
393 "condition": "Pre-Owned",
394 "conditionId": 3000,
395 "endedAt": "2026-09-09",
396 "soldPrice": "235.00",
397 "soldCurrency": "USD",
398 "shippingPrice": "0.00",
399 "shippingCurrency": "USD",
400 "shippingType": "Free",
401 "totalPrice": "235.00",
402 "listingType": "fixed_price",
403 "isBestOfferAccepted": false,
404 "buyingFormat": "FIXED_PRICE",
405 "bidCount": null,
406 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample15/s-l225.jpg",
407 "sellerUsername": "familygames4u",
408 "sellerFeedbackScore": 58,
409 "sellerPositivePercent": 100,
410 "scrapedAt": "2026-09-27T08:00:00Z"
411 },
412 {
413 "itemId": "300000000016",
414 "url": "https://www.ebay.com/itm/300000000016",
415 "title": "Nintendo Switch OLED Model Neon Red/Blue - Brand New Sealed",
416 "keyword": "nintendo switch oled",
417 "categoryId": "139971",
418 "category": "Video Game Consoles",
419 "condition": "New",
420 "conditionId": 1000,
421 "endedAt": "2026-09-08",
422 "soldPrice": "299.00",
423 "soldCurrency": "USD",
424 "shippingPrice": "0.00",
425 "shippingCurrency": "USD",
426 "shippingType": "Free",
427 "totalPrice": "299.00",
428 "listingType": "fixed_price",
429 "isBestOfferAccepted": false,
430 "buyingFormat": "FIXED_PRICE",
431 "bidCount": null,
432 "thumbnailUrl": "https://i.ebayimg.com/images/g/sample16/s-l225.jpg",
433 "sellerUsername": "bigbox_liquidation",
434 "sellerFeedbackScore": 22100,
435 "sellerPositivePercent": 98.8,
436 "scrapedAt": "2026-09-27T08:00:00Z"
437 }
438 ],
439 "discoveryInput": {}
440};
441
442
443const run = await client.actor("rich_minds/ebay-sold-comps-ai").call(input);
444
445
446console.log('Results from dataset');
447console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
448const { items } = await client.dataset(run.defaultDatasetId).listItems();
449items.forEach((item) => {
450 console.dir(item);
451});
452
453