# 🛒 eBay Store Scraper (`scrapier/ebay-store-scraper`) Actor

- **URL**: https://apify.com/scrapier/ebay-store-scraper.md
- **Developed by:** [Scrapier](https://apify.com/scrapier) (community)
- **Categories:** Automation, E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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

## 🛒 eBay Store Scraper

Turn any **eBay store** into a clean, structured product feed. Paste one or more store URLs and this Actor walks the storefront, opens every listing, and returns a rich record per product — seller stats, the full image gallery, price, condition, shipping, delivery, returns, item specifics, and the full description.

Built for reliability: it starts on a **direct connection** and automatically escalates through **Datacenter → Residential** proxies the moment eBay rate-limits it, so your run keeps flowing instead of failing.

### ✨ Why Choose This Actor?

- 🧩 **Complete records** — not just title & price, but condition, shipping, delivery estimate, return policy, every item specific, the full gallery, and the long-form description.
- 🛡️ **Anti-block by design** — Chrome TLS/HTTP impersonation + a self-escalating proxy ladder (direct → datacenter → residential, sticky once escalated).
- 💾 **Live results** — every product is saved the instant it's scraped, so a long run is never lost.
- 📊 **Sectioned output views** — browse results as Seller, Product, Shipping & Returns, or Details tables.
- 🔢 **Bulk input** — scrape many stores in a single run, with an optional per-store cap.

### 🔑 Key Features

| Feature | Description |
|---------|-------------|
| Bulk store URLs | `/usr/<name>` and `/str/<name>` storefronts both supported |
| Full gallery | All `i.ebayimg.com` gallery images per listing |
| Item specifics | Brand, type, material, year, country of origin, … |
| Smart proxy ladder | Direct → Datacenter → Residential, escalates only when blocked |
| Live saving | Partial datasets survive interruptions |

### 📥 Input

```json
{
  "storeUrls": [
    "https://www.ebay.com/usr/shakaexpress",
    "https://www.ebay.com/str/swaxbox"
  ],
  "proxyConfiguration": { "useApifyProxy": true }
}
````

| Field | Type | Description |
|-------|------|-------------|
| `storeUrls` | array | One or more eBay store URLs. Bulk input supported. **Required.** |
| `proxyConfiguration` | object | Apify proxy settings. Keep enabled for best results. |

### 📤 Output

Each dataset item:

```json
{
  "seller_name": "shakaexpress",
  "seller_items_sold": "453",
  "positive_feedback": "100% positive",
  "product_title": "Vintage Bulova Accutron P0 1980 Swiss Quartz Day / Date Watch",
  "product_image": ["https://i.ebayimg.com/images/g/.../s-l1600.jpg", "..."],
  "product_price": "US $299.00;or Best Offer",
  "product_condition": "Pre-owned - Good",
  "shipping_info": "US $34.53 eBay International Shipping. Located in: Waipahu, HI, United States",
  "delivery_info": "Estimated between Thu, Jul 16 and Wed, Aug 5",
  "return_policy": "30 days returns. Buyer pays for return shipping.",
  "item_number": "157302898203",
  "item_description": "Here is a vintage Bulova Accutron Swiss Quartz Day / Date Watch from 1980...",
  "item_specifics": { "Brand": "Bulova", "Year Manufactured": "1980", "Department": "Men's" },
  "detail_url": "https://www.ebay.com/itm/157302898203?..."
}
```

| Field | Description |
|-------|-------------|
| `seller_name` | Store / seller handle |
| `seller_items_sold` | Lifetime items sold |
| `positive_feedback` | Positive feedback percentage |
| `product_title` | Listing title |
| `product_image` | Ordered gallery image URLs |
| `product_price` | Price as shown (incl. "or Best Offer") |
| `product_condition` | Short condition label |
| `shipping_info` | Shipping cost + location |
| `delivery_info` | Estimated delivery window |
| `return_policy` | Return terms |
| `item_number` | eBay item number |
| `item_description` | Full seller description |
| `item_specifics` | Key/value specifics |
| `detail_url` | Canonical listing URL |

### 🚀 How to Use (Apify Console)

1. Log in at [console.apify.com](https://console.apify.com) → **Actors**.
2. Open **eBay Store Scraper**.
3. Paste your store URLs and (optionally) set a per-store limit.
4. Click **Start**.
5. Watch products stream into the run log in real time.
6. Open the **Output** tab — switch between the **Seller**, **Product**, **Shipping & Returns**, and **Details** views.
7. Export to JSON / CSV / XLSX.

### 🤖 Use via API

```bash
curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"storeUrls":["https://www.ebay.com/usr/shakaexpress"]}'
```

### 🎯 Best Use Cases

- 📈 Competitor & price monitoring across whole stores
- 🗂️ Catalog building and product research
- 🔁 Dropshipping / reselling sourcing
- 📊 Market & condition analysis

### 💵 Pricing

This Actor uses **pay-per-event**: you are charged per **product item** returned (`row_result`), plus standard Apify platform usage. You only pay for products actually delivered to your dataset, and the run stops cleanly if your spend limit is reached.

### ❓ FAQ

**Which store URL formats work?** Both `https://www.ebay.com/usr/<name>` and `https://www.ebay.com/str/<name>`. A bare username also works.

**Why does the log mention switching networks?** eBay rate-limits aggressive traffic. The Actor automatically moves from a direct connection to datacenter, then residential proxies, and sticks with the stronger route — no action needed from you.

**Do I need proxies?** Keep Apify Proxy enabled. Residential proxies give the best success rate against eBay's challenge pages.

**Some items show only card data.** If an individual listing page is temporarily blocked, the Actor falls back to the storefront card data so you still get the product rather than nothing.

### 🛟 Support & Feedback

Found a bug or want a new field? Open an issue on the Actor's **Issues** tab in Apify Console.

> Data is collected from **publicly available** eBay store pages. You are responsible for compliance with eBay's Terms of Service and applicable laws (GDPR, CCPA, etc.).

# Actor input Schema

## `storeUrls` (type: `array`):

List of eBay store URLs — e.g. https://www.ebay.com/usr/shakaexpress or https://www.ebay.com/str/swaxbox. Bulk input supported: add as many as you like.

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

The scraper starts on a direct connection and automatically escalates to Datacenter, then Residential proxies if eBay rate-limits it. Keep Apify Proxy enabled for best results.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.ebay.com/usr/shakaexpress",
    "https://www.ebay.com/str/swaxbox"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "storeUrls": [
        "https://www.ebay.com/usr/shakaexpress"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapier/ebay-store-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 = {
    "storeUrls": ["https://www.ebay.com/usr/shakaexpress"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapier/ebay-store-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 '{
  "storeUrls": [
    "https://www.ebay.com/usr/shakaexpress"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapier/ebay-store-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "🛒 eBay Store Scraper",
        "version": "0.1",
        "x-build-id": "NZIzzZ8ZT0DzbHlXa"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapier~ebay-store-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapier-ebay-store-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/scrapier~ebay-store-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapier-ebay-store-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/scrapier~ebay-store-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapier-ebay-store-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": [
                    "storeUrls"
                ],
                "properties": {
                    "storeUrls": {
                        "title": "🔗 Store URLs",
                        "uniqueItems": false,
                        "type": "array",
                        "description": "List of eBay store URLs — e.g. https://www.ebay.com/usr/shakaexpress or https://www.ebay.com/str/swaxbox. Bulk input supported: add as many as you like.",
                        "default": [
                            "https://www.ebay.com/usr/shakaexpress"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "proxyConfiguration": {
                        "title": "🌐 Proxy configuration",
                        "type": "object",
                        "description": "The scraper starts on a direct connection and automatically escalates to Datacenter, then Residential proxies if eBay rate-limits it. Keep Apify Proxy enabled for best results.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
