Alert

Actor is under maintenance

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

Mass Shopee Product Crawler

Mass Shopee products crawling. Enter URLs having the following formats: https://<shopee-domain>/product/<shopid>/<itemid> or https://<shopee-domain>/<product-name>-i.<shopid>.<itemid> Examples: https://shopee.vn/product/159804633/4638129333 or https://shopee.vn/kinh-mat-V-i.34266970.4949864081

Free trial for 7 days

Then $20.00/month

No credit card required now

Mass Shopee Product Crawler

Free trial for 7 days

Then $20.00/month

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "starturls": [
        {
            "url": "https://shopee.vn/%C3%81o-s%C6%A1-mi-nam-tr%C6%A1n-d%C3%A0i-tay-c%C3%B4ng-s%E1%BB%9F-d%C3%A1ng-%C3%B4m-H%C3%A0n-Qu%E1%BB%91c,-%C3%A1o-tr%E1%BA%AFng-nam-v%E1%BA%A3i-l%E1%BB%A5a-th%C3%A1i-cao-c%E1%BA%A5p-ch%E1%BB%91ng-nh%C4%83n-Vettino-i.61261760.1140923554"
        }
    ],
    "proxy": {
        "useApifyProxy": true
    }
};

(async () => {
    // Run the Actor and wait for it to finish
    const run = await client.actor("timki.vn/mass-shopee-product-crawler").call(input);

    // Fetch and print Actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();