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.

Do you want to learn more about this Actor?

Get a demo

You can access the AI Product Matcher programmatically from your own JavaScript applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

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

🎯 Match products with AI API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use AI Product Matcher API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

npm install apify-client

Other API clients include:

Developer
Maintained by Apify
Actor metrics
  • 24 monthly users
  • 9 stars
  • 85.0% runs succeeded
  • 49 days response time
  • Created in Apr 2023
  • Modified 5 months ago