# Faire Product Scraper (`powerai/faire-search-scraper`) Actor

Scrape wholesale products from Faire.com with automatic pagination and comprehensive product, brand, and review data.

- **URL**: https://apify.com/powerai/faire-search-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** E-commerce, Integrations, Other
- **Stats:** 20 total users, 4 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## 🛍️ Faire Product Scraper

This actor allows you to scrape wholesale products from Faire.com by providing a search URL. It automatically handles pagination and extracts comprehensive product information including images, brands, ratings, and review counts.

### Features

- **URL-based Scraping:** Extract products by providing a complete Faire search URL
- **Automatic Pagination:** Automatically loads more products until reaching the end or max items limit
- **Comprehensive Product Data:** Extract detailed information including:
  - Product names and images
  - Direct links to product detail pages
  - Brand names and brand profile links
  - Product ratings and review counts
- **Smart Deduplication:** Automatically removes duplicate products
- **Proxy Support:** Optional proxy configuration for reliable scraping

### Input Parameters

| Field                 | Type    | Required | Description                                    |
|----------------------|---------|----------|------------------------------------------------|
| `searchUrl`          | string  | Yes      | Complete Faire search URL to scrape            |
| `maxItems`           | integer | No       | Maximum number of products to fetch (default: unlimited) |
| `proxyConfiguration` | object  | No       | Proxy settings for the actor                   |

#### How to Get Search URL

1. Go to [Faire.com](https://www.faire.com)
2. Use the search bar to find products or browse categories
3. Apply any filters you need (brand, price, rating, etc.)
4. Copy the complete URL from your browser's address bar
5. Paste it into the `searchUrl` field

Example search URL:

```
https://www.faire.com/search?q=iron+on+patches&refReqId=vdeqszna67g3cw5shm8a747yg&refType=SUGGESTIONS_SEARCH_QUERIES
```

### Output

The output is a dataset of product objects, each containing:

- `searchUrl`: The original search URL used
- `productName`: Product name
- `imageUrl`: URL of the product image
- `detailUrl`: Direct link to the product detail page
- `brandName`: Name of the brand/maker
- `brandUrl`: Link to the brand's profile page
- `rating`: Product rating (e.g., "5.0")
- `reviewCount`: Number of customer reviews
- `scrapedAt`: Timestamp of when the product was scraped

Example output:

```json
[
  {
    "searchUrl": "https://www.faire.com/search?q=iron+on+patches",
    "productName": "Wild Child Iron On Patch",
    "imageUrl": "https://cdn.faire.com/fastly/356717e79b1fde0429dca8ca1998446be957e3f1af52794c1a06f9417859716f.jpeg",
    "detailUrl": "https://www.faire.com/search?brand=b_xzn3nr7cjg&product=p_vd4z237w6q",
    "brandName": "Kosmic Soul",
    "brandUrl": "https://www.faire.com/brand/b_xzn3nr7cjg",
    "rating": "5.0",
    "reviewCount": "42",
    "scrapedAt": "2025-11-08T01:09:06.251Z"
  },
  ...
]
```

### Use Cases

- Wholesale product sourcing and discovery
- Market research and competitor analysis
- Price comparison across brands
- Brand performance analysis
- Product catalog building
- Trend identification in wholesale markets
- Supplier discovery and evaluation

### Notes

- Works with all Faire.com search results and categories
- Results are saved incrementally as they are found
- All timestamps are in ISO 8601 format
- Rating is provided as a decimal string (e.g., "5.0")
- Review count shows the total number of reviews
- Proxy configuration is optional but recommended for large scraping jobs

***

**Start discovering wholesale products on Faire today!**

# Actor input Schema

## `searchUrl` (type: `string`):

The complete Faire search URL to scrape (e.g., https://www.faire.com/search?q=patches)

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

Maximum number of products to fetch

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

Proxy settings for the actor

## Actor input object example

```json
{
  "searchUrl": "https://www.faire.com/search?q=iron+on+patches",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/faire-search-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("powerai/faire-search-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 '{}' |
apify call powerai/faire-search-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/42RnukMI8WhyOe31S/builds/aEDUZTRoxRHlWVjkr/openapi.json
