# Amazon Deals Scraper (`axesso_data/amazon-deals-scraper`) Actor

Our Amazon Deals Dataset contains all active deals from Amazon. We update this dataset several times per day to ensure the data is always fresh. Save time and money by subscribing and using our Deals Dataset instead of updating and maintaining your own.

- **URL**: https://apify.com/axesso_data/amazon-deals-scraper.md
- **Developed by:** [AxCrawler](https://apify.com/axesso_data) (community)
- **Categories:** E-commerce
- **Stats:** 82 total users, 1 monthly users, 100.0% runs succeeded, 6 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.01 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### How does Axesso Amazon Deals Scraper works?

Our Actor aggregates all available data from Amazon deals page. We are prefetching all deals on our servers and updating these deals several time per day resulting in an Actor runtime <1min! You can use this Actor by providing the respective domain code list for which you would like to fetch deals from. Currently, this Actor supports com, de and fr Amazon domains. Please find in the following an example of an input json including com domain Code:

```
{
"domainCodes": [
    "com"
    ]
}
```

### Sample Output

```
[
    {
    "domainCode": "com",
    "id": "dd65c987",
    "dealType": "LIGHTNING_DEAL",
    "title": "KYX Car Bike Rack 180lbs Max Load, Tow Hitch Bike Racks for E-Bike, 5\" Fat Tire Bike, Folds Up Compactly, Tiltable Down, Double Anti-Swag System Bicycle Car Racks 2\" Receiver for SUV, Truck, RV",
    "imageUrls": "[\"https://m.media-amazon.com/images/I/61Ixa8mI-BL.jpg\",\"https://m.media-amazon.com/images/I/71Ldwikb9WL.jpg\",\"https://m.media-amazon.com/images/I/6102p1pnUIL.jpg\",\"https://m.media-amazon.com/images/I/61-GuHg9B0L.jpg\",\"https://m.media-amazon.com/images/I/61vf0ZXEaLL.jpg\",\"https://m.media-amazon.com/images/I/61tJnTXanhL.jpg\",\"https://m.media-amazon.com/images/I/71D8PM8ECML.jpg\"]",
    "dealState": "AVAILABLE",
    "url": "https://www.amazon.com/KYX-Compactly-Tiltable-Anti-Swag-Receiver/dp/B0CT32C2JH",
    "startsAt": "2024-08-15 07:35:00 UTC",
    "endsAt": "2024-08-15 19:05:00 UTC",
    "price": 254.99,
    "retailPrice": 299.99,
    "savingAmount": 45,
    "type": "LIGHTNING_DEAL",
    "asin": "B0CT32C2JH",
    "badgeMessage": "Limited time deal",
    "departments": "[3375301]",
    "savingPercentage": 15
    }
]
```

### How much does Axesso Amazon Deals Scraper cost?

Since we prefetch all deals on our side, this Actor is actually only loading the rows which results in very cheap cost. On the top for the rent fee, the run cost for this Actor is approx. 0.4$ per run.

### What to consider when using this Actor?

Axesso - Data Service is performing Web Crawling activities since over one decade. All our expertises are included in this Actor, this means the user of this Actor is not required to deal with any inconveniences of web scraping.

In details it means we cover the whole lifecycle including

1. **Proxy Rotation:** We Use our own Proxy Pool including several Millions of Proxies in all countries worldwide avoiding that our Scraper can be blocked.

2. **Geo Targeting:** We determine the correct location based on the provided URL. If you would like to fetch result for amazon.com domain, we only use Proxies from USA for the corresponding request. Thus, we support all Amazon domains available while using always the right Proxy location.

3. **Captchas and 503 Status Code:** Captchas and temporary are completly handled by this Actor under the hood ensuring the user to get always the required data.

4. **Further rotation** As already mentioned, our Actor is covering all required activities to ensure a smooth user experience at any point in time.

### Where else you can find Axesso - Data Service solutions?

Our solutions are available and distributed via different channels. You can find our full API selection either on own [API Portal](https://axesso.developer.azure-api.net/apis)  or on [Rapid API](https://rapidapi.com/search?term=axesso\&sortBy=ByRelevance).

On RapidAPI our solutions are already available since 5 years given by track record which in sum is reflected by over 3000 subscriber split up over all our APIs. Check it out, to gain trust in our experience!

### Use cases for our Axesso Actors\*\*

1. **Market Research:** Businesses can utilize our Axesso APIs to gather product information, pricing data, customer reviews, and seller details from Amazon. This information can help in understanding market trends, competitor analysis, and identifying gaps in the market.

2. **Price Monitoring:** E-commerce retailers can track prices of their own products as well as competitor products on Amazon using our Axesso APIs. This enables them to adjust their pricing strategies in real-time to stay competitive and maximize profits.

3. **Inventory Management:** Sellers can automate inventory management by leveraging our Axesso APIs to monitor stock levels, product availability, and any changes in product attributes on Amazon. This ensures timely restocking and prevents stockouts or overstocking.

4. **Product Catalog Management:** Retailers with large product catalogs can efficiently update their product listings on Amazon using our Axesso APIs. This includes extracting product titles, descriptions, images, and specifications from their database and synchronizing them with Amazon listings.

5. **Review Monitoring and Sentiment Analysis:** Brands can monitor customer reviews of their products on Amazon using our Axesso APIs. By analyzing sentiment and identifying common issues or positive feedback, brands can improve their products and customer satisfaction.

6. **Lead Generation:** Businesses can leverage our Axesso APIs to scrape Amazon for contact information of sellers or manufacturers to identify potential suppliers, distributors, or partners. This data can be used for targeted outreach and business development efforts.

7. **Content Aggregation and Curation:** Content creators, bloggers, and publishers can use our Axesso APIs to aggregate product information, images, and customer reviews from Amazon to create curated content such as product reviews, comparison articles, or buying guides.

8. **Price Comparison Websites:** Price comparison websites can utilize our Axesso APIs to collect pricing data from Amazon and other e-commerce platforms. This enables consumers to compare prices across different retailers and make informed purchasing decisions.

9. **Ad Campaign Optimization:** Advertisers can scrape Amazon using our Axesso APIs to gather insights into popular products, keywords, and advertising strategies. This data can be used to optimize Amazon PPC (pay-per-click) campaigns and maximize return on ad spend (ROAS).

# Actor input Schema

## `domainCodes` (type: `array`):

Provide one or multiple domainCodes

## Actor input object example

```json
{
  "domainCodes": [
    "com",
    "de"
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domainCodes": [
        "com",
        "de"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("axesso_data/amazon-deals-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "domainCodes": [
        "com",
        "de",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("axesso_data/amazon-deals-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domainCodes": [
    "com",
    "de"
  ]
}' |
apify call axesso_data/amazon-deals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,axesso_data/amazon-deals-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Sek9UhWzurtIWSG98/builds/AlPqzWIVikFpu1rW8/openapi.json
