# Trader Joe's Scraper - Product Prices & New Products (USA) (`superslowsloth/traderjoes-products`) Actor

Trader Joe's scraper: the whole catalogue or a category, search or price range to one row per product with USD price, size, department and category, new-product flag, first-published date, origin, dietary tags and link. For weekly price watch and new-product alerts.

- **URL**: https://apify.com/superslowsloth/traderjoes-products.md
- **Developed by:** [Superslow Sloth](https://apify.com/superslowsloth) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 product scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Trader Joe's scraper: product prices and new-product alerts (USA)

This Trader Joe's scraper reads [traderjoes.com](https://www.traderjoes.com)'s product
catalogue (about 2,600 groceries, wine, flowers and household goods) and returns **one row per
product**: the **USD price**, the pack size and unit, the department and category, the
**new-product flag** and the **date Trader Joe's first published the product**, the photo,
where it comes from, its dietary tags (Gluten Free, Kosher, Organic, Vegan...) and its link.
Read the **whole catalogue**, one **category**, a **search**, only the **new products**, or a
**price range**. Run it weekly and diff the datasets for a **Trader Joe's price watch and a
new-product alert**.

No account, no API key, no login, no browser. It calls the GraphQL service the website's own
product pages call.

### Input

| Field | Notes |
|---|---|
| `category` | One category and everything under it, as its path on traderjoes.com: lower-case slugs joined with `/`. Empty reads the whole catalogue. The paths are listed below. |
| `searchTerm` | Keep only what traderjoes.com's own search finds for this text (`chocolate`, `cheese`). Results come in the site's relevance order, and the search is looser than an exact match. |
| `newOnly` | Keep only the products flagged new (87 of 2,614 on 2026-11-18). |
| `minPrice`, `maxPrice` | Price bounds in US dollars; either can be left empty. |
| `maxItems` | Stop after writing this many products (default 100, up to 5,000). The whole catalogue is read 100 products per request. |
| `proxyConfiguration` | Apify's automatic datacenter proxy by default; traderjoes.com answered datacenter addresses when this actor was built. |

All filters combine. Example input (the new products under Food priced from $2 to $6):

```json
{
  "category": "food",
  "newOnly": true,
  "minPrice": 2,
  "maxPrice": 6,
  "maxItems": 30
}
```

Category paths (read live from the site's category menu on 2026-11-18; a path covers its
sub-categories): `food`, `food/bakery`, `food/cheese`, `food/dairy-eggs`,
`food/dips-sauces-dressings`, `food/fresh-prepared-foods`, `food/from-the-freezer`,
`food/fresh-fruits-veggies`, `food/meat-seafood-plant-based`, `food/for-the-pantry`,
`food/snacks-sweets`, `beverages`, `beverages/juices-more`, `beverages/water-sparkling-still`,
`beverages/non-dairy-bev`, `beverages/coffee-tea`, `beverages/sodas-mixers`,
`beverages/wine-beer-liquor`, `flowers-plants`, `everything-else`,
`everything-else/household-essentials`, `everything-else/for-the-face-body`,
`everything-else/pet-stuff`, `everything-else/nutritional-supplements`. Each row's
`category_url_path` is the path of its own category, so you can read it back as the input.

### Output

One row per product. `sku` is the unique key of a row; `scraped_at` is when it was read, so keep
the datasets of scheduled runs and compare them to see a price move or a product that appeared.

| Field | Notes |
|---|---|
| `sku` | Trader Joe's item number, a zero-padded string (`086539`). |
| `name`, `internal_name` | The customer-facing title (`Good Thins Gluten Free Sesame Rice Crackers`) and the store's internal short name (`GOOD THINS RICE CRACKERS`). |
| `url`, `image_url` | The product page (`https://www.traderjoes.com/home/products/pdp/<sku>`) and the photo, absolute addresses. `image_url` is null when the catalogue has no photo (1 of 2,614). |
| `price`, `currency` | The shelf price in US dollars as the catalogue sends it, and `USD`. **Both null where the catalogue holds `0.00`** (7 of 2,614 on 2026-11-18, fresh produce): that is no price, not a free product. |
| `size`, `size_unit` | Pack size and its unit as sent: `3.5` and `Oz`, `750` and `mL`. Units seen: Oz, Fl Oz, Lb, mL, L, Pint, Qt, Doz, Each, Bag. |
| `department`, `category`, `category_path`, `category_url_path` | The department (`Beverages`), the deepest category the product is filed under (`Wine, Beer & Liquor`), the names from the department down, and the same path as the `category` input takes it (`beverages/wine-beer-liquor`). |
| `is_new` | True when Trader Joe's flags the product new, false when it does not. |
| `first_published_at`, `last_published_at` | When the catalogue first and last published the product, as sent (`2026-11-16 18:31:03`, no time zone given). Sort by `first_published_at` to find what entered the catalogue since your last run; 168 products share the earliest month, 2021-02, so very old dates probably come from the catalogue's first load rather than from a product's first sale (not verified). |
| `fun_tags` | Trader Joe's occasion tags (`["Date Night", "Game Night"]`); an empty list when none. |
| `characteristics` | Dietary and sourcing flags (`["Gluten Free", "Kosher"]`); an empty list when none (about half the products). |
| `country_of_origin` | Where the product comes from as written (`U.S.A.`, `Howell Mountain AVA, Napa Valley, CA`); null when absent (116 of 2,614). |
| `search_term`, `search_category` | The search text and category input that found the row; null when you gave none. |
| `scraped_at` | When the row was read, UTC, ISO 8601. |

Example row (a real row, 2026-11-18):

```json
{
  "sku": "086539",
  "name": "Good Thins Gluten Free Sesame Rice Crackers",
  "internal_name": "GOOD THINS RICE CRACKERS",
  "url": "https://www.traderjoes.com/home/products/pdp/086539",
  "image_url": "https://www.traderjoes.com/content/dam/trjo/products/m21001/86539.png",
  "price": 3.99,
  "currency": "USD",
  "size": 3.5,
  "size_unit": "Oz",
  "department": "Food",
  "category": "Chips, Crackers & Crunchy Bites",
  "category_path": ["Food", "Snacks & Sweets", "Chips, Crackers & Crunchy Bites"],
  "category_url_path": "food/snacks-sweets/chips-crackers-crunchy-bites",
  "is_new": false,
  "first_published_at": "2026-11-16 18:28:57",
  "last_published_at": "2026-11-16 18:28:57",
  "fun_tags": ["Cheese Board", "Family Style", "Game Night", "Midday Snacks", "The \"X\" Factor"],
  "characteristics": ["Gluten Free", "Kosher"],
  "country_of_origin": "U.S.A.",
  "search_term": null,
  "search_category": null,
  "scraped_at": "2026-11-18T09:15:42Z"
}
```

#### Honest nulls

A value the catalogue did not carry is `null` (or an empty list for `category_path`, `fun_tags`
and `characteristics`), never `0` or `""`.

- **One national price, no stock.** Trader Joe's shows one retail price per product online. The
  service carries no per-store price and no shelf stock (its availability field reads "1" for
  all 2,614 products and its stock flag depends on a store the request does not choose), so a
  row says nothing about what a particular store has, and the actor does not read either field.
- **No price history.** One run is one reading. Schedule it and keep the datasets: a changed
  `price` between two runs of the same `sku` is the price move, and a `sku` that is new in the
  later run entered the catalogue.

### Pricing

Pay per event:

- **$0.002** per run (`actor-start`), charged only after your input is validated, so a run that
  fails on bad input costs nothing.
- **$0.0014** per product written (`product-scraped`)

That is $1.40 per 1,000 products, so a full read of the 2,614-product catalogue costs about
$3.66 plus the start fee. A row is charged only after it is written. A product returned twice, a
category that does not exist and a search that matches nothing write and charge no rows.

### How it fetches

It calls `GET https://www.traderjoes.com/api/graphql?query=...` with a Magento `products` query:
`filter:{published:{eq:true}}` plus `category_url_path`, `new_product` and `price` filters when
you set them, the top-level `search` argument for a search text, `pageSize:100` and `currentPage`.
The website's category pages are an empty shell that draws its lists in the browser from this
call. Measured from the Apify platform on a probe run of 10 requests per route (2026-11-18:
**datacenter answered the product list 10 of 10 times, residential 8 of 10 and the platform's
own address 10 of 10**), which is why the default is the automatic datacenter proxy. A refusal
(403, 429, 5xx), a 200 that is not a product list, or a dropped connection is treated as the
address being blocked: the actor retries from a fresh exit address **and a different browser
fingerprint** (four are tried in turn, one attempt each). A GraphQL error about the query itself
(a category that does not exist) is not retried.

Things worth knowing, all measured on 2026-11-18:

- **Page size.** The service answers 100, 500 and 1,000 products a page and fails (HTTP 5xx) at
  2,000, so a run reads 100 at a time, or fewer when `maxItems` is smaller. The default order is
  stable: reading all 27 pages of the whole catalogue gave 2,614 distinct products.
- **The index can change mid-read.** For about a minute on 2026-11-17 the service answered
  different totals for different pages of one walk (2,144, 2,199, 2,416 for pages 1, 20 and 21,
  and 138 products for a category that holds 162) and then went back to 2,614 and 162 on every
  read (40 of 40). The actor does not trust the total to end a walk, writes each product once,
  and logs a warning when pages disagree; if you see it, run again for a consistent read.
- **A search is looser than a phrase match**: `cheese` matches 402 products, of which 198 have
  the word in their title.
- **A category path covers its sub-categories**: `beverages` is 360 products and
  `beverages/wine-beer-liquor` 162, on 2026-11-18.

If traderjoes.com changes the service, the run fails with a message instead of returning empty rows.

# Actor input Schema

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

Read one category and everything under it. Write its path as traderjoes.com names it, lower-case slugs joined with '/': 'food', 'beverages', 'flowers-plants', 'everything-else', or a group inside one such as 'food/snacks-sweets', 'beverages/wine-beer-liquor', 'everything-else/household-essentials'. Leave empty to read the whole catalogue. A path that does not exist fails the run with a message and writes no rows.

## `searchTerm` (type: `string`):

Keep only the products traderjoes.com's own search finds for this text, as typed in the website's search box: 'chocolate', 'cheese', 'dumplings'. It can be combined with a category, the new-products switch and the price range. Results come in the website's relevance order. Leave empty for no text filter.

## `newOnly` (type: `boolean`):

Keep only the products Trader Joe's flags as new (87 of 2,614 on 2026-11-18). Switch this on and schedule the run weekly for a new-product alert; each row also carries its first-published date.

## `minPrice` (type: `number`):

Keep only products priced at or above this many US dollars (for example 2.50). Leave empty for no lower bound.

## `maxPrice` (type: `number`):

Keep only products priced at or below this many US dollars (for example 5). Leave empty for no upper bound.

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

Stop after writing this many product rows. The whole catalogue is about 2,600 products, read 100 at a time, so 5,000 always covers it. A product returned twice is written and charged once.

## `proxyConfiguration` (type: `object`):

Use Apify's automatic datacenter proxy (the default). traderjoes.com answered Apify datacenter addresses with the full product list when this actor was built; the residential group was not needed. A refused request is retried from a fresh address and a different browser fingerprint.

## Actor input object example

```json
{
  "newOnly": false,
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `items` (type: `string`):

No description

# 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 = {
    "maxItems": 30,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("superslowsloth/traderjoes-products").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 = {
    "maxItems": 30,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("superslowsloth/traderjoes-products").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 '{
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call superslowsloth/traderjoes-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,superslowsloth/traderjoes-products"
        }
    }
}
```

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/us6Q0CPEokYCHNMhA/builds/cOb6QWMHvZNhd8dSW/openapi.json
