# US Outdoor Gear & Sporting Goods Price Comparator (5 Stores) (`lonwabo/us-outdoor-gear-comparator`) Actor

Live multi-store price comparator and deal finder for camping gear, hiking equipment, fishing tackle, coolers, and outdoor apparel across REI, Bass Pro Shops, Dick's Sporting Goods, Amazon, and Walmart. Capacity & spec normalization, live price spread analytics, and direct purchase links.

- **URL**: https://apify.com/lonwabo/us-outdoor-gear-comparator.md
- **Developed by:** [Lonwabo Mfundisi](https://apify.com/lonwabo) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.90 / 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.

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

## US Outdoor Gear & Sporting Goods Price Comparator (6 Stores)

Live multi-store price comparator and deal arbitrage finder for outdoor gear, camping equipment, fishing tackle, coolers, and athletic goods across **Target**, **Amazon US**, **Walmart US**, **REI Co-op**, **Bass Pro Shops / Cabela's**, and **Dick's Sporting Goods**.

Built-in **capacity & spec normalization** (`45 Qt` vs `20 Qt`, `4-Person` vs `2-Person`, `65L` vs `30L`), **category isolation** (*Coolers, Tents, Sleeping Gear, Fishing Tackle, Apparel*), **live price spread analytics**, product image previews, and direct purchase links.

***

### 🌍 Geographic Access & Proxy Notice

- **Globally Accessible Retailers:** **Target**, **Amazon US**, and **Walmart US** query smoothly from any country worldwide with standard or datacenter connections.
- **US-Geofenced Retailers (Akamai / Perimeter Anti-Bot):** **Dick's Sporting Goods**, **Bass Pro Shops**, and **REI Co-op** enforce strict US regional firewalls. When executing this Actor from outside the United States, you **must enable Apify Residential Proxy (country: US)** or Apify Unblocker. Without a US IP, those 3 stores will block access with `Site Unavailable` (HTTP 403 / 418).

***

### 🏬 Supported Retailers

| Retailer | Domain | Specialty Focus | Access Requirement |
| :--- | :--- | :--- | :--- |
| **Target Outdoor & Sports** | `target.com` | Camping, Coolers, Outdoor Living, Rec Sports | Global |
| **Amazon US Sports & Outdoors** | `amazon.com` | Prime Shipping, Broad Outdoor Assortment, GPS | Global |
| **Walmart US Sports & Outdoors** | `walmart.com` | Value Tents, Coleman Gear, Fishing Rods, Coolers | Global |
| **REI Co-op** | `rei.com` | Backpacking, Hiking, Climbing, Camp Kitchen, Premium Brands | US Residential Proxy |
| **Bass Pro Shops / Cabela's** | `basspro.com` | Fishing, Hunting, Boating, Marine GPS, Trail Cameras | US Residential Proxy |
| **Dick's Sporting Goods** | `dickssportinggoods.com` | Sports, Fitness, Outdoor Rec, Hydration, Footwear | US Residential Proxy |

***

### 🔄 How the Matching Engine Works

```
                     User Query (e.g. "YETI Tundra 45 Cooler")
                                        │
           ┌────────────┬───────────────┼───────────────┬────────────┐
           ▼            ▼               ▼               ▼            ▼
        [REI]      [Bass Pro]        [Dick's]        [Amazon]    [Walmart]
           │            │               │               │            │
           └────────────┴───────────────┼───────────────┴────────────┘
                                        ▼
                               Raw Candidate Offers
                                        │
                        [Capacity & Sizing Normalization]
                        • Extracts "45 Qt", "4-Person", "65L", "32 oz"
                                        │
                           [Outdoor Category Guard]
                        • Coolers vs Tents vs Fishing vs Apparel
                                        │
                        [Dice Token Entity Resolution]
                        • Resolves brand & model cross-store matches
                                        │
                                        ▼
                     Final Multi-Store Arbitrage Records
             (Best Price, Highest Price, Spread $, Spread %, Buy Links)
```

***

### 🛡️ Store Availability & Proxy Requirements

Due to anti-bot measures and regional geographic licensing, some US retailers restrict access:

| Retailer | Global Access? | Required Proxy | Notes |
| :--- | :---: | :---: | :--- |
| **Target** (`target.com`) | ✅ **Yes** | None / Direct | Works globally without proxy via direct Redsky API. |
| **Amazon US** (`amazon.com`) | ✅ **Yes** | Standard / Direct | Works globally on all Apify plans. |
| **Walmart US** (`walmart.com`) | ✅ **Yes** | Standard / Direct | Works globally on all Apify plans. |
| **Dick's Sporting Goods** (`dickssportinggoods.com`) | ⚠️ **No (US Only)** | **US Residential Proxy** | Strictly blocks non-US IP addresses with `HTTP 418 (Site Unavailable)`. Requires Apify Residential Proxy (US). |
| **Bass Pro Shops / Cabela's** (`basspro.com`) | ⚠️ **No (US Only)** | **US Residential Proxy** | Protected by Akamai Edge. Non-US requests receive `HTTP 403 (Access Denied)`. |
| **REI Co-op** (`rei.com`) | ⚠️ **No (US Only)** | **US Residential Proxy** | Protected by Akamai Edge. Non-US requests receive `HTTP 403 (Access Denied)`. |

> **💡 Free Account Tip:** If you are running on an Apify Free account without residential proxy credits, simply leave **Target**, **Amazon**, and **Walmart** selected in the store picker. They will run with 100% success and sub-second speed!

***

### 🖥️ Interactive HTML Comparison Report (`report.html`)

In addition to exporting the structured Dataset in **JSON, CSV, Excel, or built-in HTML table (`format=html`)**, every run generates a standalone, self-contained **Interactive HTML Comparison Report (`report.html`)** directly inside the Apify Console **Output** tab (and via a shareable Key-Value Store link):

- **Horizontal View & Store Tabs** — Switch seamlessly between **Best Deals Cards**, **Side-by-Side Matrix**, and **6 dedicated individual store tabs** (**Target Outdoor**, **Amazon Outdoor**, **Walmart Outdoor**, **REI Co-op**, **Bass Pro Shops**, **Dick's Sporting**), each displaying live matched item counts.
- **Deep-Linkable Tabs (`#tab=...`)** — Every tab updates the URL hash (e.g. `#tab=matrix`) so you can bookmark or share a specific merchant view directly.
- **Aligned Deal Cards & Specs** — Product thumbnails, uniform spec & brand badges, green cheapest-store highlights, spread savings pills, and clickable **View Best Deal** buttons.
- **Live Controls, Full Screen & Instant Exports** — Keyword search, multi-column sort (`Biggest Savings ($)`, `Lowest Price ($)`, `Highest Spread %`, `Most Stores Matched`), `2+ Stores Only` toggle, plus one-click **Download CSV**, **Download JSON**, **Print / PDF Quote**, and **Full Screen (`⛶`)** buttons.

![US Outdoor Gear & Sporting Goods Comparison Report — Interactive HTML View](https://api.apify.com/v2/key-value-stores/44gjIna4ipGc3tD78/records/us-outdoor-gear-comparator-v1.png?signature=1hFCswvrkJIBqsV21MaDB)

#### ⏰ Automated Schedules & Email / Slack Alerts (Apify Integrations)

Want daily or weekly price updates delivered automatically? Instead of storing credentials inside the Actor, use Apify's built-in **Schedules** and **Integrations**:

1. Save your preferred search terms and store toggles as a **Task**, then set a recurring **Schedule** (e.g., daily at 8:00 AM or every Monday morning).
2. Open the Actor/Task **Integrations** tab in Apify Console and connect **Send Email (`apify/send-mail`)**, **Slack (`apify/slack-alert`)**, **Google Sheets**, **Make**, **Zapier**, or a **Webhook** triggered on `Run succeeded`.
3. Include `{{links.apiDefaultKeyValueStoreUrl}}/records/report.html` or `{{links.apiDefaultDatasetUrl}}/items?format=csv` in your alert payload to receive the live HTML report or spreadsheet automatically after every scheduled run.

***

### 📥 Input Parameters

| Parameter | Type | Required | Default | Description |
| :--- | :--- | :--- | :--- | :--- |
| `searchTerms` | Array of Strings | **Yes** | `["YETI Tundra 45 Cooler", "Coleman Sundome 4-Person Tent"]` | Outdoor gear keywords, model names, or brands to compare. |
| `stores` | Array of Strings | No | `["rei", "basspro", "dicks", "amazon", "walmart"]` | Retailers to query simultaneously. |
| `maxItemsPerStore`| Integer | No | `5` | Maximum search candidates to inspect per retailer (1–20). |
| `minPrice` | Number | No | `10` | Ignore gear accessories or small parts priced lower than this in USD. |
| `maxPrice` | Number | No | `2000` | Ignore items priced higher than this in USD. |
| `includeFields` | Array of Strings | No | `["productImage", "brand", "specs", "storeColumns", "dealVerdict"]` | Deselect optional dense fields to keep output lightweight. Core fields (Title, Lowest Price, Store, Spread, Link) are always included. |
| `proxyConfiguration` | Object | No | `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}` | Apify Proxy configuration (Residential recommended). |

***

### 📤 Output Dataset Schema

Each dataset item represents a consolidated cross-store outdoor gear comparison:

```json
{
  "productImage": "https://www.rei.com/media/example-yeti.jpg",
  "matchedProductTitle": "YETI Tundra 45 Cooler",
  "productName": "YETI Tundra 45 Cooler",
  "bestDealUrl": "https://www.basspro.com/shop/en/yeti-tundra-45-cooler",
  "productUrl": "https://www.basspro.com/shop/en/yeti-tundra-45-cooler",
  "bestPrice": 299.99,
  "highestPrice": 325.00,
  "priceSpread": 25.01,
  "priceSpreadPercent": 7.7,
  "cheapestStore": "basspro",
  "capacityOrSpec": "45 Qt",
  "category": "Coolers & Drinkware",
  "brand": "YETI",
  "dealVerdict": "COMPETITIVE MATCH ($25.01 DIFFERENCE)",
  "storeCount": 4,
  "reiPrice": "$325.00",
  "bassProPrice": "$299.99",
  "dicksPrice": "$325.00",
  "amazonPrice": "$325.00",
  "walmartPrice": "-",
  "stores": {
    "basspro": {
      "price": 299.99,
      "url": "https://www.basspro.com/shop/en/yeti-tundra-45-cooler",
      "inStock": true
    },
    "rei": {
      "price": 325.00,
      "url": "https://www.rei.com/product/example",
      "inStock": true
    }
  },
  "searchQuery": "YETI Tundra 45 Cooler",
  "lastUpdated": "2026-11-10T10:45:00.000Z"
}
```

***

### 🛡️ Store Availability & Proxy Requirements

Due to anti-bot measures and regional geographic licensing, some US retailers restrict access:

| Retailer | Global Access? | Required Proxy | Notes |
| :--- | :---: | :---: | :--- |
| **Target** (`target.com`) | ✅ **Yes** | None / Direct | Works globally without proxy via direct Redsky API. |
| **Amazon US** (`amazon.com`) | ✅ **Yes** | Standard / Direct | Works globally on all Apify plans. |
| **Walmart US** (`walmart.com`) | ✅ **Yes** | Standard / Direct | Works globally on all Apify plans. |
| **Dick's Sporting Goods** (`dickssportinggoods.com`) | ⚠️ **No (US Only)** | **US Residential Proxy** | Strictly blocks non-US IP addresses with `HTTP 418 (Site Unavailable)`. Requires Apify Residential Proxy (US). |
| **Bass Pro Shops / Cabela's** (`basspro.com`) | ⚠️ **No (US Only)** | **US Residential Proxy** | Protected by Akamai Edge. Non-US requests receive `HTTP 403 (Access Denied)`. |
| **REI Co-op** (`rei.com`) | ⚠️ **No (US Only)** | **US Residential Proxy** | Protected by Akamai Edge. Non-US requests receive `HTTP 403 (Access Denied)`. |

> **💡 Free Account Tip:** If you are running on an Apify Free account without residential proxy credits, simply leave **Target**, **Amazon**, and **Walmart** selected in the store picker. They will run with 100% success and sub-second speed!

***

### 🎯 High-Value Use Cases

1. **Outdoor Enthusiasts & Campers:** Ensure you get the lowest price on expensive camping shelters, coolers, and sleeping bags before your next trip.
2. **Retail Arbitrage & Amazon FBA Resellers:** Capitalize on regional clearance discounts at Dick's or Bass Pro to flip items profitably on Amazon.
3. **Gear Reviewers & Affiliate Publishers:** Display live, multi-store comparison widgets with direct purchase links on outdoor gear review articles.
4. **Anglers & Boaters:** Track seasonal markdowns on high-end fishing reels, fish finders, and trolling motors.

***

### 💡 Tips for Best Results

- **Include Capacity or Sizing:** Adding capacity (e.g. `45 Qt`, `4-Person`, `20 Degree`) produces 100% exact spec matching across outdoor stores and prevents matching a 2-person tent with a 6-person tent.
- **Filter Single-Store Noise:** Turn ON `onlyMultiStoreMatches` to focus purely on direct head-to-head price wars between competing retailers.
- **Free Account Tip:** If querying without US Residential Proxies, select **Target**, **Amazon**, and **Walmart** for instant, uninterrupted global scraping.

***

### 🔌 Integrations & Export Formats

Apify datasets can be downloaded or synced automatically into your existing tech stack:

- **Spreadsheets:** Download structured records directly as **Excel (.xlsx)** or **CSV**.
- **Google Sheets:** Sync live pricing data continuously using `=IMPORTDATA(datasetUrl)`.
- **Workflow Automation (Make / Zapier):** Trigger automated inventory alerts or push notifications whenever a profitable price gap is found.
- **Developer API:** Query results via REST API in Python, Node.js, or cURL to power your custom e-commerce comparison widgets or procurement apps.

***

### 🎛️ Standardized Store Toggles, Filter Guards & Per-Store Tabs

This Actor includes unified comparison controls matching our full suite:

#### Individual Store Toggles (`ON` / `OFF`)

Turn any retailer on or off directly from the input form without editing JSON arrays:

- **Target Outdoor** (`includeTarget`): Include Target — outdoor & camping gear.
- **Amazon Outdoor** (`includeAmazon`): Include Amazon US — camping, hiking & coolers.
- **Walmart Outdoor** (`includeWalmart`): Include Walmart US — outdoor recreation.
- **REI Co-op** (`includeRei`): Include REI Co-op (US Residential Proxy recommended).
- **Bass Pro Shops** (`includeBassPro`): Include Bass Pro Shops (US Residential Proxy recommended).
- **Dick's Sporting** (`includeDicks`): Include Dick's Sporting Goods (US Residential Proxy recommended).

#### Smart Filter & Sort Controls

- **`excludeAccessories` (Default: `true`):** Filters out cases, stands, chargers, cables, skins, and adapters when searching for main hardware/products.
- **`brandNewOnly` (Default: `true`):** Excludes used, second-hand, pre-owned, and refurbished listings from skewing the lowest retail price.
- **`inStockOnly` (Default: `true`):** Excludes out-of-stock offers so only purchasable listings are compared.
- **`onlyMultiStoreMatches` (Default: `false`):** Toggle ON to isolate products matched across 2 or more stores.
- **`sortBy`:** Sort results by **Biggest Savings ($)** (`priceSpreadDesc`), **Lowest Price ($)** (`bestPriceAsc`), **Most Stores Matched** (`storesComparedDesc`), or **Highest Discount %** (`savingsPercentDesc`).
- **`minSimilarityScore`:** Fine-tune fuzzy cross-store matching sensitivity (`0.2` – `0.9`).

#### 📊 Dataset Views (9 Organized Tabs)

| Tab Name | What You See |
| :--- | :--- |
| **Best Deals Overview** | Winning prices, brand/category specs, spreads, deal verdicts & best deal links |
| **Side-by-Side Store Matrix** | Parallel pricing and direct links across all 6 retailers side-by-side |
| **Target Outdoor** | Dedicated tab with Target Outdoor image, title, price, list price, discount %, rating, reviews, stock & link |
| **Amazon Outdoor** | Dedicated tab with Amazon Outdoor image, title, price, list price, discount %, rating, reviews, stock & link |
| **Walmart Outdoor** | Dedicated tab with Walmart Outdoor image, title, price, list price, discount %, rating, reviews, stock & link |
| **REI Co-op** | Dedicated tab with REI Co-op image, title, price, list price, discount %, rating, reviews, stock & link |
| **Bass Pro Shops** | Dedicated tab with Bass Pro Shops image, title, price, list price, discount %, rating, reviews, stock & link |
| **Dick's Sporting** | Dedicated tab with Dick's Sporting image, title, price, list price, discount %, rating, reviews, stock & link |
| **All Fields** | Complete raw dataset payload including nested offers for JSON/CSV/Excel export |

***

### 🔗 Related Price Comparators & Scrapers

Explore the complete multi-store price intelligence and retail arbitrage suite from [Lonwabo Mfundisi](https://apify.com/lonwabo):

- **[US Electronics & PC Price Comparator](https://apify.com/lonwabo/us-retail-price-comparator)** — Compare live prices across Amazon, Best Buy, Walmart, and Newegg.
- **[US Beauty & Cosmetics Price Comparator](https://apify.com/lonwabo/us-beauty-price-comparator)** — Compare live prices across Sephora, Ulta Beauty, Target, Amazon, and Walmart.
- **[US Hardware & Home Improvement Comparator](https://apify.com/lonwabo/us-hardware-price-comparator)** — Compare tools and building materials across The Home Depot, Lowe's, Ace Hardware, and Amazon.
- **[US Pet Supplies & Food Price Comparator](https://apify.com/lonwabo/us-pet-price-comparator)** — Track pet food and healthcare across Chewy, Petco, PetSmart, Amazon, and Walmart.
- **[US Book Price Comparator (6 Bookstores)](https://apify.com/lonwabo/us-book-price-comparator)** — Real-time book prices, formats, and remainder arbitrage across Amazon, Barnes & Noble, Bookshop.org, ThriftBooks, AbeBooks, and BookOutlet.
- **[US Retail Arbitrage & Deal Finder](https://apify.com/lonwabo/us-arbitrage-price-comparator)** — Cross-store arbitrage scanner finding high-spread margin opportunities for Amazon FBA & eBay sellers.
- **[US Beauty Arbitrage & Deal Alert Bot](https://apify.com/lonwabo/us-beauty-deal-alert-bot)** — Automated 24/7 watchdog sending instant Telegram & Discord push alerts for 20%+ beauty discounts.

* **[South Africa Retail Price Comparator (Takealot, Makro, Amazon ZA, Bob Shop, Game)](https://apify.com/lonwabo/south-africa-retail-price-comparator)** — Compare ZAR prices across South Africa's top 5 online retailers.

***

### 💬 Support & Feedback

Need a custom outdoor outfitter added, feature request, or assistance?

- Use the **Issues** tab on this Actor's page in the Apify Console.
- Follow and contact [Lonwabo Mfundisi on Apify](https://apify.com/lonwabo).

# Actor input Schema

## `searchTerms` (type: `array`):

List of outdoor brands, camping equipment, fishing gear, coolers, or apparel to compare (e.g. 'Sleeping Bag', 'Chest Cooler', 'Coleman Sundome 4-Person Tent', 'YETI Tundra 45 Cooler').

## `includeTarget` (type: `boolean`):

Include Target — outdoor & camping gear.

## `includeAmazon` (type: `boolean`):

Include Amazon US — camping, hiking & coolers.

## `includeWalmart` (type: `boolean`):

Include Walmart US — outdoor recreation.

## `includeRei` (type: `boolean`):

Include REI Co-op (US Residential Proxy recommended).

## `includeBassPro` (type: `boolean`):

Include Bass Pro Shops (US Residential Proxy recommended).

## `includeDicks` (type: `boolean`):

Include Dick's Sporting Goods (US Residential Proxy recommended).

## `maxItemsPerStore` (type: `integer`):

Maximum candidate search results to inspect per store for each search term.

## `minPrice` (type: `integer`):

Ignore cheap gear accessories or replacement parts priced lower than this threshold in USD.

## `maxPrice` (type: `integer`):

Upper price ceiling in USD to exclude high-end commercial expedition rigs.

## `excludeAccessories` (type: `boolean`):

Automatically filters out stands, chargers, cases, covers, skins, and cables when searching for main hardware/products.

## `brandNewOnly` (type: `boolean`):

Excludes second-hand, used, pre-owned, and refurbished listings from skewing the lowest price comparison.

## `inStockOnly` (type: `boolean`):

Only include store offers currently available in stock.

## `onlyMultiStoreMatches` (type: `boolean`):

When enabled, only outputs products found in 2 or more stores for direct price comparison.

## `sortBy` (type: `string`):

Choose how the comparison dataset is ordered.

## `includeFields` (type: `array`):

Deselect optional dense fields to keep dataset lightweight. Core comparison fields (Product Name, Best Price, Lowest Store, Spread/Savings, Deal URL) are permanently included and cannot be removed.

## `minSimilarityScore` (type: `number`):

Similarity score (0.2 to 0.9) required to match products across different stores. Default 0.35 is calibrated for this category.

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

Recommended: Apify Residential Proxy (country: US) to unlock US-only retailers (Dick's Sporting Goods, Bass Pro Shops, REI) and bypass Akamai geo-blocking.

## Actor input object example

```json
{
  "searchTerms": [
    "Sleeping Bag",
    "Chest Cooler"
  ],
  "includeTarget": true,
  "includeAmazon": true,
  "includeWalmart": true,
  "includeRei": true,
  "includeBassPro": true,
  "includeDicks": true,
  "maxItemsPerStore": 5,
  "minPrice": 10,
  "maxPrice": 2000,
  "excludeAccessories": true,
  "brandNewOnly": true,
  "inStockOnly": true,
  "onlyMultiStoreMatches": false,
  "sortBy": "priceSpreadDesc",
  "includeFields": [
    "productImage",
    "brand",
    "specs",
    "storeColumns",
    "dealVerdict"
  ],
  "minSimilarityScore": 0.35,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `htmlReport` (type: `string`):

Interactive side-by-side comparison cards, store tabs, matrix view, search/sort controls, Full Screen toggle, and CSV/JSON/Print export.

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

Structured dataset containing matched multi-store prices, spreads, store columns, stock status, and direct buy links.

# 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 = {
    "searchTerms": [
        "Sleeping Bag",
        "Chest Cooler"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lonwabo/us-outdoor-gear-comparator").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 = { "searchTerms": [
        "Sleeping Bag",
        "Chest Cooler",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lonwabo/us-outdoor-gear-comparator").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 '{
  "searchTerms": [
    "Sleeping Bag",
    "Chest Cooler"
  ]
}' |
apify call lonwabo/us-outdoor-gear-comparator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lonwabo/us-outdoor-gear-comparator"
        }
    }
}
```

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/IL9N7avZ4JGzXnKxX/builds/Pe41cgMCLwlWynYwR/openapi.json
