# Flipp Weekly Deals & Grocery Ad Scraper (`crawlerbros/flipp-weekly-deals-scraper`) Actor

Scrape Flipp - the #1 grocery deals platform used by Walmart, Lidl, Costco, Target, Kroger, and 2000+ US retailers. Get current weekly flyer items with prices, discounts, and validity dates. Search by keyword or browse specific store weekly ads.

- **URL**: https://apify.com/crawlerbros/flipp-weekly-deals-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Automation, E-commerce, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

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

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Flipp Weekly Deals & Grocery Ad Scraper

Scrape [Flipp](https://flipp.com) — the #1 grocery deals platform in North America, featuring weekly ads from Walmart, Lidl, Costco, Target, Kroger, CVS, Walgreens, and 2,000+ US retailers. Get real-time weekly flyer items with prices, discounts, sale badges, and validity dates. No login or API key required.

### What data do you get?

Each deal record includes:

| Field | Description |
|---|---|
| `productId` | Flipp deal item ID |
| `name` | Product name |
| `merchantName` | Store/retailer name |
| `merchantId` | Flipp numeric merchant ID (region-specific) |
| `currentPrice` | Current sale price (USD) |
| `originalPrice` | Original price before discount (if available) |
| `discount` | Savings amount in USD |
| `discountPercent` | Percentage saved |
| `pricePrefix` | Price prefix text (e.g., "From") |
| `priceSuffix` | Price suffix text (e.g., "ea.", "/lb") |
| `saleBadge` | Sale badge text (e.g., "Buy 1 Get 1 Free", "Save 25%") |
| `category` | L1 product category |
| `subcategory` | L2 product subcategory |
| `validFrom` | Deal start date (ISO 8601) |
| `validTo` | Deal end date (ISO 8601) |
| `flyerId` | Flipp flyer ID |
| `flyerName` | Name of the flyer the deal belongs to (flyer-based modes) |
| `flyerValidFrom` | Flyer start date, ISO 8601 (flyer-based modes) |
| `flyerValidTo` | Flyer end date, ISO 8601 (flyer-based modes) |
| `imageUrl` | Product image URL |
| `merchantLogoUrl` | Store logo URL |
| `isPremium` | Whether this is a premium/sponsored placement |
| `sourceUrl` | Direct link to deal on Flipp |
| `recordType` | Always `"deal"` |
| `scrapedAt` | ISO timestamp of scrape |

### Modes

#### Weekly deals (`mode=weeklyDeals`)
Get all items from the current weekly flyer of a specific store. Perfect for tracking Lidl, Walmart, or any retailer's weekly specials.

**Input:**
```json
{
  "mode": "weeklyDeals",
  "merchant": "Lidl",
  "postalCode": "10001",
  "maxItems": 100
}
````

#### Search deals (`mode=search`)

Search across all stores by keyword to find the best deals on a specific product.

**Input:**

```json
{
  "mode": "search",
  "searchQuery": "chicken breast",
  "postalCode": "10001",
  "category": "Groceries",
  "maxItems": 50
}
```

#### By merchant (`mode=byMerchant`)

List all current active flyers for a specific retailer.

**Input:**

```json
{
  "mode": "byMerchant",
  "merchant": "Lidl",
  "postalCode": "22201",
  "maxItems": 10
}
```

Each flyer record (`recordType: "flyer"`) includes `flyerId`, `flyerName`, `merchantName`, `merchantId`, `merchantLogoUrl`, `validFrom`/`validTo` (when the flyer's deals are active), `availableFrom`/`availableTo` (when the flyer itself is browsable — sometimes a day or two earlier than `validFrom`), `isPremium` (sponsored flyer flag), `thumbnailUrl`, `categories`, and `sourceUrl`.

### Supported stores

Lidl, Walmart, Target, Kroger, Costco, Aldi, CVS Pharmacy, Walgreens, Safeway, Publix, Whole Foods Market, Dollar General, Dollar Tree, Food Lion, Harris Teeter, Meijer, Giant Food, Stop & Shop, ShopRite, H-E-B, Weis Markets, Winn-Dixie, Rite Aid, Albertsons

### Sample output record

```json
{
  "productId": "1020582129",
  "name": "Crystal Geyser® Sparkling Water",
  "merchantName": "Lidl",
  "currentPrice": 2.19,
  "priceSuffix": "ea.",
  "category": "Food, Beverages & Tobacco",
  "subcategory": "Beverages",
  "validFrom": "2026-06-24T04:00:00+00:00",
  "validTo": "2026-07-01T03:59:59+00:00",
  "flyerId": 7985465,
  "imageUrl": "https://f.wishabi.net/page_items/424025910/1781586849/extra_large.jpg",
  "isPremium": false,
  "sourceUrl": "https://flipp.com/flyers/lidl/7985465/items/1020582129",
  "recordType": "deal",
  "scrapedAt": "2026-06-30T12:00:00+00:00"
}
```

### Use cases

- Track grocery prices and deals across multiple stores
- Build price comparison tools for budget shoppers
- Monitor competitor pricing for retail market intelligence
- Find the best deals on specific products in your area
- Automate weekly deal newsletters or savings alerts
- Analyze promotional patterns by retailer or category

### FAQ

**How often does data update?**
Flipp flyers update weekly — most stores publish new ads on Wednesday for the following week. This scraper always fetches the currently active flyer.

**Why do I need a postal code?**
Flipp flyers are location-specific — store availability and prices can vary by region. The default postal code (10001 = New York City) works for most major national chains.

**Does this require login?**
No — Flipp's deal data is publicly accessible without authentication.

**What if my merchant isn't in the list?**
The dropdown shows the most common US retailers. If your store is not listed, you can still use `mode=search` to search across all available stores.

**Are prices in USD?**
Yes — this scraper targets the US Flipp platform. Prices are in USD.

**Data source**
[Flipp](https://flipp.com) — powered by Wishabi's flyer platform. Data is publicly accessible weekly ad content from participating US retailers.

# Actor input Schema

## `mode` (type: `string`):

What to scrape from Flipp.

## `merchant` (type: `string`):

Store to pull deals from. Supported: Lidl, Walmart, Target, Kroger, Costco, Aldi, CVS, Walgreens, Safeway, Publix, Whole Foods, Dollar General, etc.

## `postalCode` (type: `string`):

US ZIP code to find local store flyers. Flipp coverage varies by region.

## `searchQuery` (type: `string`):

Keyword to search across all store flyers (e.g. 'chicken', 'yogurt', 'detergent').

## `category` (type: `string`):

Filter deals by product category.

## `maxItems` (type: `integer`):

Maximum number of deal records to return.

## Actor input object example

```json
{
  "mode": "weeklyDeals",
  "merchant": "Lidl",
  "postalCode": "10001",
  "searchQuery": "chicken",
  "category": "All",
  "maxItems": 20
}
```

# Actor output Schema

## `deals` (type: `string`):

Dataset containing all scraped weekly deal items from Flipp.

# 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 = {
    "mode": "weeklyDeals",
    "merchant": "Lidl",
    "postalCode": "10001",
    "searchQuery": "chicken",
    "category": "All",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/flipp-weekly-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 = {
    "mode": "weeklyDeals",
    "merchant": "Lidl",
    "postalCode": "10001",
    "searchQuery": "chicken",
    "category": "All",
    "maxItems": 20,
}

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

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

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

```

## CLI example

```bash
echo '{
  "mode": "weeklyDeals",
  "merchant": "Lidl",
  "postalCode": "10001",
  "searchQuery": "chicken",
  "category": "All",
  "maxItems": 20
}' |
apify call crawlerbros/flipp-weekly-deals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/flipp-weekly-deals-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Flipp Weekly Deals & Grocery Ad Scraper",
        "description": "Scrape Flipp - the #1 grocery deals platform used by Walmart, Lidl, Costco, Target, Kroger, and 2000+ US retailers. Get current weekly flyer items with prices, discounts, and validity dates. Search by keyword or browse specific store weekly ads.",
        "version": "1.0",
        "x-build-id": "xdRV7nnqnbhz8bw5f"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~flipp-weekly-deals-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-flipp-weekly-deals-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/crawlerbros~flipp-weekly-deals-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-flipp-weekly-deals-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/crawlerbros~flipp-weekly-deals-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-flipp-weekly-deals-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "weeklyDeals",
                            "search",
                            "byMerchant"
                        ],
                        "type": "string",
                        "description": "What to scrape from Flipp.",
                        "default": "weeklyDeals"
                    },
                    "merchant": {
                        "title": "Retailer / Store (mode=weeklyDeals, mode=byMerchant)",
                        "enum": [
                            "Lidl",
                            "Walmart",
                            "Target",
                            "Kroger",
                            "Costco",
                            "Aldi",
                            "CVS Pharmacy",
                            "Walgreens",
                            "Safeway",
                            "Publix",
                            "Whole Foods Market",
                            "Dollar General",
                            "Dollar Tree",
                            "Food Lion",
                            "Harris Teeter",
                            "Meijer",
                            "Giant Food",
                            "Stop & Shop",
                            "ShopRite",
                            "H-E-B",
                            "Weis Markets",
                            "Winn-Dixie",
                            "Rite Aid",
                            "Albertsons"
                        ],
                        "type": "string",
                        "description": "Store to pull deals from. Supported: Lidl, Walmart, Target, Kroger, Costco, Aldi, CVS, Walgreens, Safeway, Publix, Whole Foods, Dollar General, etc.",
                        "default": "Lidl"
                    },
                    "postalCode": {
                        "title": "US Postal Code",
                        "type": "string",
                        "description": "US ZIP code to find local store flyers. Flipp coverage varies by region.",
                        "default": "10001"
                    },
                    "searchQuery": {
                        "title": "Search query (mode=search)",
                        "type": "string",
                        "description": "Keyword to search across all store flyers (e.g. 'chicken', 'yogurt', 'detergent').",
                        "default": "chicken"
                    },
                    "category": {
                        "title": "Category filter",
                        "enum": [
                            "All",
                            "Groceries",
                            "General Merchandise",
                            "Pharmacy",
                            "Electronics",
                            "Home & Garden",
                            "Automotive",
                            "Baby & Kids",
                            "Fashion",
                            "Sporting Goods",
                            "Pets",
                            "Restaurants"
                        ],
                        "type": "string",
                        "description": "Filter deals by product category.",
                        "default": "All"
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of deal records to return.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
