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

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "dataset1_ids": ["GYVCj4hEeqnX3dJyu"],
9    "dataset2_ids": ["OmzHV4VEByO4KohMF"],
10    "input_mapping": {
11        "eshop1": {
12            "id": "url",
13            "name": "name",
14            "price": "price",
15            "short_description": "shortDescription",
16            "long_description": "longDescription",
17            "specification": "specification",
18            "code": [
19                "sku",
20                "productModel",
21            ],
22        },
23        "eshop2": {
24            "id": "url",
25            "name": "name",
26            "price": "price",
27            "short_description": "shortDescription",
28            "long_description": "longDescription",
29            "specification": "specification",
30            "code": [
31                "sku",
32                "productModel",
33            ],
34        },
35    },
36}
37
38# Run the Actor and wait for it to finish
39run = client.actor("equidem/ai-product-matcher").call(run_input=run_input)
40
41# Fetch and print Actor results from the run's dataset (if there are any)
42print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
43for item in client.dataset(run["defaultDatasetId"]).iterate_items():
44    print(item)
45
46# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Apify
Actor metrics
  • 21 monthly users
  • 5 stars
  • 40.7% runs succeeded
  • Created in Apr 2023
  • Modified about 1 month ago