1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "identifiers": [
10 "B0BN72FYFG",
11 "https://www.amazon.com/Apple-2025-MacBook-15-inch-Laptop/dp/B0DZDBDCFH/",
12 "https://www.amazon.com/sp?seller=A387EP4YCCRXCH",
13 "https://keepa.com/deals#%7B%22page%22%3A0%2C%22domainId%22%3A%221%22%2C%22excludeCategories%22%3A%5B%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%5D%2C%22includeCategories%22%3A%5B%5B%5D%2C%5B172282%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%2C%5B%5D%5D%2C%22priceTypes%22%3A%5B0%5D%2C%22deltaPercentRange%22%3A%5B20%2C80%5D%2C%22salesRankRange%22%3A%5B-1%2C-1%5D%2C%22currentRange%22%3A%5B500%2C40000%5D%2C%22minRating%22%3A-1%2C%22isLowest%22%3Afalse%2C%22isLowest90%22%3Afalse%2C%22isLowestOffer%22%3Afalse%2C%22isOutOfStock%22%3Afalse%2C%22titleSearch%22%3A%22%22%2C%22isRangeEnabled%22%3Atrue%2C%22isFilterEnabled%22%3Afalse%2C%22filterErotic%22%3Atrue%2C%22singleVariation%22%3Atrue%2C%22hasReviews%22%3Afalse%2C%22isPrimeExclusive%22%3Afalse%2C%22mustHaveAmazonOffer%22%3Afalse%2C%22mustNotHaveAmazonOffer%22%3Afalse%2C%22sortType%22%3A3%2C%22dateRange%22%3A1%2C%22warehouseConditions%22%3A%5B1%2C2%2C3%2C4%2C5%5D%2C%22settings%22%3A%7B%22viewTyp%22%3A0%7D%2C%22perPage%22%3A150%2C%22salesRankDisplayGroup%22%3A%5B%5D%2C%22websiteDisplayGroupName%22%3A%5B%5D%2C%22websiteDisplayGroup%22%3A%5B%5D%2C%22type%22%3A%5B%5D%2C%22manufacturer%22%3A%5B%5D%2C%22brand%22%3A%5B%5D%2C%22brandStoreName%22%3A%5B%5D%2C%22brandStoreUrlName%22%3A%5B%5D%2C%22model%22%3A%5B%5D%2C%22color%22%3A%5B%5D%2C%22size%22%3A%5B%5D%2C%22unitType%22%3A%5B%5D%2C%22scent%22%3A%5B%5D%2C%22itemForm%22%3A%5B%5D%2C%22pattern%22%3A%5B%5D%2C%22style%22%3A%5B%5D%2C%22material%22%3A%5B%5D%2C%22itemTypeKeyword%22%3A%5B%5D%2C%22targetAudienceKeyword%22%3A%5B%5D%2C%22edition%22%3A%5B%5D%2C%22format%22%3A%5B%5D%2C%22author%22%3A%5B%5D%2C%22binding%22%3A%5B%5D%2C%22languages%22%3A%5B%5D%2C%22partNumber%22%3A%5B%5D%2C%22deltaRange%22%3A%5B0%2C2147483647%5D%7D",
14 ],
15 "output_fields": [],
16}
17
18
19run = client.actor("radeance/keepa-scraper").call(run_input=run_input)
20
21
22print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
23for item in client.dataset(run.default_dataset_id).iterate_items():
24 print(item)
25
26