AI Product Matcher avatar
AI Product Matcher
Try for free

No credit card required

View all Actors
AI Product Matcher

AI Product Matcher

equidem/ai-product-matcher
Try for free

No credit card required

Match products across multiple e-commerce websites. Use this AI product matching Actor whenever you need to find matching pairs of products from different online shops for dynamic pricing, competitor analysis or market research.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "dataset1_ids": [
11        "GYVCj4hEeqnX3dJyu"
12    ],
13    "dataset2_ids": [
14        "OmzHV4VEByO4KohMF"
15    ],
16    "input_mapping": {
17        "eshop1": {
18            "id": "url",
19            "name": "name",
20            "price": "price",
21            "short_description": "shortDescription",
22            "long_description": "longDescription",
23            "specification": "specification",
24            "code": [
25                "sku",
26                "productModel"
27            ]
28        },
29        "eshop2": {
30            "id": "url",
31            "name": "name",
32            "price": "price",
33            "short_description": "shortDescription",
34            "long_description": "longDescription",
35            "specification": "specification",
36            "code": [
37                "sku",
38                "productModel"
39            ]
40        }
41    }
42};
43
44(async () => {
45    // Run the Actor and wait for it to finish
46    const run = await client.actor("equidem/ai-product-matcher").call(input);
47
48    // Fetch and print Actor results from the run's dataset (if any)
49    console.log('Results from dataset');
50    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
51    const { items } = await client.dataset(run.defaultDatasetId).listItems();
52    items.forEach((item) => {
53        console.dir(item);
54    });
55})();
56
57// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Apify
Actor metrics
  • 31 monthly users
  • 52.6% runs succeeded
  • 13.0 days response time
  • Created in Apr 2023
  • Modified 4 months ago