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 mode

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    const { items } = await client.dataset(run.defaultDatasetId).listItems();
51    items.forEach((item) => {
52        console.dir(item);
53    });
54})();
Developer
Maintained by Apify
Actor metrics
  • 32 monthly users
  • 65.6% runs succeeded
  • 12.0 days response time
  • Created in Apr 2023
  • Modified 4 months ago