# Rakuten US Coupons & Deals Scraper (`apt_marble/rakuten-us-coupons-deals-scraper`) Actor

Scrape every live Rakuten US coupon code, deal and Cash Back boost into a clean dataset. Merchant, offer text, coupon code, current and previous Cash Back rate and deal link in one row per deal. Perfect for deal aggregators, affiliate publishers and cashback comparison tools.

- **URL**: https://apify.com/apt_marble/rakuten-us-coupons-deals-scraper.md
- **Developed by:** [Hamza](https://apify.com/apt_marble) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 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

## Rakuten US Coupons & Deals Scraper

Scrape every live Rakuten US coupon code, deal and Cash Back boost into a clean dataset: merchant, offer text, coupon code, current and previous Cash Back rate and the link that activates the deal - one row per offer.

The actor reads Rakuten's public coupon feeds, so the data is fresh on every run without accounts or cookies. Schedule it daily and you have a rolling capture of every promotion Rakuten US publishes, the moment it appears.

### Why this scraper

- **Every live offer** - coupon codes, deals and Cash Back boosts in one dataset.
- **Rate history in the row** - current and previous Cash Back side by side.
- **Ready to publish** - merchant, offer text, code and activation link per row.
- **Fast and cookieless** - public feeds, no setup.

### Input

| Input | Type | What it does |
|-------|------|--------------|
| `slugs` | string | Comma-separated Rakuten content feed slugs to scrape. The coupons feed holds today's coupon codes, deals and cash back boosts. |
| `maxResults` | integer | Maximum number of deals pushed to the dataset. |
| `concurrency` | integer | How many feeds are fetched at the same time. |

Example input:

```json
{
  "slugs": "coupons",
  "maxResults": 100,
  "concurrency": 5
}
```

### How to use

1. Set your input on the actor page - every field comes prefilled with a working example.
2. Click **Start** and watch results arrive live, one row at a time.
3. When the run finishes, download the dataset as JSON, CSV or Excel, or pull it through the Apify API.

### Output

Results land in the run's dataset, one row per deal or coupon. `couponCode` is empty for automatic deals that need no code, and `ctaUrl` is the link that activates the offer.

#### Output fields

| Field | Type | What it is |
|-------|------|------------|
| `image` | string (image URL) | Category illustration, store or merchant logo, shown as a thumbnail in the results table |
| `merchantName` | string | Store or brand the deal belongs to |
| `dealText` | string | Deal or offer text as shown on Rakuten |
| `couponCode` | string | Coupon code to enter at checkout (empty for automatic deals) |
| `cashBack` | string | Current Cash Back rate for the store |
| `previousCashBack` | string | Previous Cash Back rate before the current boost (empty when unchanged) |
| `ctaText` | string | Button text on the deal |
| `ctaUrl` | string (URL) | Link that activates the deal |

#### Example output

```json
{
  "image": "https://www.rakuten.com/media/.../nike.png",
  "merchantName": "Nike",
  "dealText": "Up to 50% off select styles + 10% Cash Back",
  "couponCode": "SAVE20",
  "cashBack": "10% Cash Back",
  "previousCashBack": "4% Cash Back",
  "ctaText": "Shop Now",
  "ctaUrl": "https://www.rakuten.com/nike.com"
}
```

### Use cases

- **Deal aggregation** - feed a coupon site, newsletter or bot with fresh Rakuten offers daily.
- **Affiliate publishing** - every row already has the offer text and the activation link.
- **Promotion tracking** - watch merchants' discount and Cash Back patterns over time.

### FAQ

**Do I need proxies or an account?**

No. Connection handling and retries are built in - just set your input and run. There is nothing to configure.

**How fresh is the data?**

Every run collects live data at the moment it executes. Schedule the actor to keep your dataset current.

**Which export formats are supported?**

JSON, CSV and Excel from the dataset page, plus the Apify API for direct integration into your own tools.

**Can I schedule automatic runs?**

Yes. Add the actor to an Apify schedule (hourly, daily, weekly) and every run lands in a fresh dataset you can export or sync.

***

Questions or feature requests? Open an issue on the actor page and we will get back to you.

# Actor input Schema

## `slugs` (type: `string`):

Comma-separated Rakuten content feed slugs to scrape. The coupons feed holds today's coupon codes, deals and cash back boosts.

## `maxResults` (type: `integer`):

Maximum number of deals pushed to the dataset.

## `concurrency` (type: `integer`):

How many feeds are fetched at the same time.

## Actor input object example

```json
{
  "slugs": "coupons",
  "maxResults": 100,
  "concurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing all data scraped by Rakuten US Coupons & Deals Scraper.

# 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 = {
    "slugs": "coupons",
    "maxResults": 100,
    "concurrency": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_marble/rakuten-us-coupons-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 = {
    "slugs": "coupons",
    "maxResults": 100,
    "concurrency": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("apt_marble/rakuten-us-coupons-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 '{
  "slugs": "coupons",
  "maxResults": 100,
  "concurrency": 5
}' |
apify call apt_marble/rakuten-us-coupons-deals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apt_marble/rakuten-us-coupons-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/Jzf4LtrNbvNagGWCL/builds/e0GmseL7KbzbePrcJ/openapi.json
