$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "sourceMode": "list",
< "itemDescription": "Nintendo Switch OLED console with dock and Joy-Cons, working, any colour",
< "maxDiscoveryChargeUsd": 0.5,
< "itemsList": [
< {
< "itemId": "300000000001",
< "url": "https://www.ebay.com/itm/300000000001",
< "title": "Nintendo Switch OLED Model White Console with Dock and Joy-Cons",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-24",
< "soldPrice": "219.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "219.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample1/s-l225.jpg",
< "sellerUsername": "retro_flips_22",
< "sellerFeedbackScore": 1200,
< "sellerPositivePercent": 99.6,
< "scrapedAt": "2026-09-27T08:00:00Z",
< "itemSpecifics": {
< "Brand": "Nintendo",
< "Model": "Nintendo Switch OLED",
< "Color": "White",
< "Storage Capacity": "64 GB"
< }
< },
< {
< "itemId": "300000000002",
< "url": "https://www.ebay.com/itm/300000000002",
< "title": "Nintendo Switch OLED 64GB Neon Red/Blue - Tested, Works Great",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-22",
< "soldPrice": "199.50",
< "soldCurrency": "USD",
< "shippingPrice": "12.00",
< "shippingCurrency": "USD",
< "shippingType": "Standard",
< "totalPrice": "211.50",
< "listingType": "auction",
< "isBestOfferAccepted": false,
< "buyingFormat": "AUCTION",
< "bidCount": 23,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample2/s-l225.jpg",
< "sellerUsername": "garage.sale.gamer",
< "sellerFeedbackScore": 341,
< "sellerPositivePercent": 100,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000003",
< "url": "https://www.ebay.com/itm/300000000003",
< "title": "NEW Nintendo Switch OLED Model White - Factory Sealed",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "New",
< "conditionId": 1000,
< "endedAt": "2026-09-25",
< "soldPrice": "309.99",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "309.99",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample3/s-l225.jpg",
< "sellerUsername": "dealsdirect_us",
< "sellerFeedbackScore": 15400,
< "sellerPositivePercent": 99.2,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000004",
< "url": "https://www.ebay.com/itm/300000000004",
< "title": "Nintendo Switch OLED Console For Parts Not Working - No Power",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "For parts or not working",
< "conditionId": 7000,
< "endedAt": "2026-09-20",
< "soldPrice": "89.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "89.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample4/s-l225.jpg",
< "sellerUsername": "fixit_fred",
< "sellerFeedbackScore": 88,
< "sellerPositivePercent": 98.9,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000005",
< "url": "https://www.ebay.com/itm/300000000005",
< "title": "Nintendo Switch OLED Box Only - Empty Box No Console",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-19",
< "soldPrice": "14.99",
< "soldCurrency": "USD",
< "shippingPrice": "4.99",
< "shippingCurrency": "USD",
< "shippingType": "Standard",
< "totalPrice": "19.98",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample5/s-l225.jpg",
< "sellerUsername": "collect_n_ship",
< "sellerFeedbackScore": 2210,
< "sellerPositivePercent": 99.9,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000006",
< "url": "https://www.ebay.com/itm/300000000006",
< "title": "Carrying Case for Nintendo Switch OLED - Hard Shell Travel Case",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "New",
< "conditionId": 1000,
< "endedAt": "2026-09-21",
< "soldPrice": "16.99",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "16.99",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample6/s-l225.jpg",
< "sellerUsername": "accessory_hub",
< "sellerFeedbackScore": 9021,
< "sellerPositivePercent": 98.7,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000007",
< "url": "https://www.ebay.com/itm/300000000007",
< "title": "Nintendo Switch Lite Turquoise Handheld Console",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-23",
< "soldPrice": "139.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "139.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample7/s-l225.jpg",
< "sellerUsername": "retro_flips_22",
< "sellerFeedbackScore": 1200,
< "sellerPositivePercent": 99.6,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000008",
< "url": "https://www.ebay.com/itm/300000000008",
< "title": "Lot of 2 Nintendo Switch OLED Consoles White + Neon",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-18",
< "soldPrice": "455.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "455.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample8/s-l225.jpg",
< "sellerUsername": "bulk_buys_llc",
< "sellerFeedbackScore": 512,
< "sellerPositivePercent": 97.4,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000009",
< "url": "https://www.ebay.com/itm/300000000009",
< "title": "Nintendo Switch OLED White 64GB with Dock - Excellent",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-26",
< "soldPrice": "240.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "240.00",
< "listingType": "best_offer_accepted",
< "isBestOfferAccepted": true,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample9/s-l225.jpg",
< "sellerUsername": "thrift_to_profit",
< "sellerFeedbackScore": 77,
< "sellerPositivePercent": 100,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000010",
< "url": "https://www.ebay.com/itm/300000000010",
< "title": "Nintendo Switch OLED Console Neon - minor scratches on screen",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-16",
< "soldPrice": "185.00",
< "soldCurrency": "USD",
< "shippingPrice": "14.00",
< "shippingCurrency": "USD",
< "shippingType": "Standard",
< "totalPrice": "199.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample10/s-l225.jpg",
< "sellerUsername": "weekend.reseller",
< "sellerFeedbackScore": 190,
< "sellerPositivePercent": 99.4,
< "scrapedAt": "2026-09-27T08:00:00Z",
< "sellerDescriptionText": "Works perfectly. Minor scratches on screen, not visible when on. Joy-Cons have slight drift."
< },
< {
< "itemId": "300000000011",
< "url": "https://www.ebay.com/itm/300000000011",
< "title": "Nintendo Switch OLED Model White - Open Box, Unused",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Open box",
< "conditionId": 1500,
< "endedAt": "2026-09-17",
< "soldPrice": "265.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "265.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample11/s-l225.jpg",
< "sellerUsername": "dealsdirect_us",
< "sellerFeedbackScore": 15400,
< "sellerPositivePercent": 99.2,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000012",
< "url": "https://www.ebay.com/itm/300000000012",
< "title": "Nintendo Switch OLED Model Console White",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-15",
< "soldPrice": "95.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "95.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample12/s-l225.jpg",
< "sellerUsername": "quick.cash.store",
< "sellerFeedbackScore": 3,
< "sellerPositivePercent": 100,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000013",
< "url": "https://www.ebay.com/itm/300000000013",
< "title": "Nintendo Switch OLED Model White Console (UK plug)",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-21",
< "soldPrice": "189.00",
< "soldCurrency": "GBP",
< "shippingPrice": "0.00",
< "shippingCurrency": "GBP",
< "shippingType": "Free",
< "totalPrice": "189.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample13/s-l225.jpg",
< "sellerUsername": "uk_console_deals",
< "sellerFeedbackScore": 640,
< "sellerPositivePercent": 99.8,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000014",
< "url": "https://www.ebay.com/itm/300000000014",
< "title": "Nintendo Switch OLED Model w/ White Joy-Con - Tested",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-12",
< "soldPrice": "229.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "229.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample14/s-l225.jpg",
< "sellerUsername": "pawnshop_pdx",
< "sellerFeedbackScore": 4380,
< "sellerPositivePercent": 99.1,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000015",
< "url": "https://www.ebay.com/itm/300000000015",
< "title": "Nintendo Switch OLED Handheld Console White, Dock, Charger",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "Pre-Owned",
< "conditionId": 3000,
< "endedAt": "2026-09-09",
< "soldPrice": "235.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "235.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample15/s-l225.jpg",
< "sellerUsername": "familygames4u",
< "sellerFeedbackScore": 58,
< "sellerPositivePercent": 100,
< "scrapedAt": "2026-09-27T08:00:00Z"
< },
< {
< "itemId": "300000000016",
< "url": "https://www.ebay.com/itm/300000000016",
< "title": "Nintendo Switch OLED Model Neon Red/Blue - Brand New Sealed",
< "keyword": "nintendo switch oled",
< "categoryId": "139971",
< "category": "Video Game Consoles",
< "condition": "New",
< "conditionId": 1000,
< "endedAt": "2026-09-08",
< "soldPrice": "299.00",
< "soldCurrency": "USD",
< "shippingPrice": "0.00",
< "shippingCurrency": "USD",
< "shippingType": "Free",
< "totalPrice": "299.00",
< "listingType": "fixed_price",
< "isBestOfferAccepted": false,
< "buyingFormat": "FIXED_PRICE",
< "bidCount": null,
< "thumbnailUrl": "https://i.ebayimg.com/images/g/sample16/s-l225.jpg",
< "sellerUsername": "bigbox_liquidation",
< "sellerFeedbackScore": 22100,
< "sellerPositivePercent": 98.8,
< "scrapedAt": "2026-09-27T08:00:00Z"
< }
< ],
< "discoveryInput": {}
<}
<EOF
$curl "https://api.apify.com/v2/actors/rich_minds~ebay-sold-comps-ai/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'