# eBay Scraper 🔥 $0.70/1K Search Results, Prices & Details ⚡ (`azzouzana/ebay-scraper`) Actor

From $0.70/1K 💰 Fast eBay scraper for search results, product details, prices & sellers! Paste any search or item URL or enter keywords. Structured data: specs, high-res photos, watchers & demand. Export JSON, CSV, Excel. Start now! 🚀

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

## Pricing

from $0.70 / 1,000 listings

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

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

## eBay Scraper — Search Results, Prices, Sellers & Product Details

Fast, lightweight, and structured eBay scraper. Extract live active listings, confirmed historical sold prices (resale comps), full seller store inventories, and rich item details across global eBay marketplaces.

👉 [**Start free on Apify**](https://apify.com/sign-up?fpr=cbgdsf) — **no credit card required!**

***

### ⚡ Features & Why This Scraper Beats the Competition

- **Active & Sold Listings (Comps)**: Toggle between live active items or historical sold transactions to compute market value and profit margins.
- **Unified Single Input (`target`)**: Pass search keywords (e.g. `iphone 15 pro`), a direct item URL (e.g. `https://www.ebay.com/itm/257388279541`), a seller username (`seller:techstore`), or paste any complex eBay search URL with existing filters.
- **Advanced Filters with Zero Overrides**: All filter fields are completely optional and unset by default. When you specify a filter (e.g. `listingStatus: "sold"`, `condition: "new"`, `minPrice`, `freeShipping`), it is strictly enforced over any pasted URL defaults.
- **Multi-Marketplace Routing**: Regional domains (UK, Germany, France, Italy, Spain, Australia, Canada) automatically deliver accurate local currencies and domestic shipping fees.
- **Deep Item Details (`fetchFullDetails`)**: Enriches listings in parallel with complete Item Specifics, full high-resolution image galleries (1600px), clean HTML-stripped plain-text seller descriptions, and verified return policies.
- **Item Popularity & Buyer Demand Signals**: Captures real-time item popularity metrics including active buyer watchers (`watchCount` / `favoritesCount`), items in cart (`inCartCount`), 24-hour page views (`viewsLast24Hours`), 24-hour sales velocity (`soldLast24Hours`), total units sold (`quantitySold`), and seller feedback.
- **High-Speed Execution**: Fast fixed 250ms response cycle and high-density pagination returning 50+ items per batch.

***

### ▶️ How to Get Started

1. 👉 [**Create a free Apify account**](https://apify.com/sign-up?fpr=cbgdsf) (If you don't have one) — **no credit card required!** (Includes $5 free monthly credits).
2. Open [**eBay Scraper**](https://apify.com/azzouzana/ebay-scraper) in your Apify Console.
3. Enter your search keywords, seller username, or paste any eBay URL into **`target`**.
4. Click **Start** and download clean structured data in JSON, CSV, or Excel.

***

### 🛠️ Input Parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `target` | String | **Yes** | **Target**: Enter search keywords (`playstation 5`), barcode (`upc:045496590420`), an item ID / URL (`https://www.ebay.com/itm/257388279541`), a seller username (`seller:cellfeee`), or paste a full eBay search/store URL. |
| `maxItems` | Integer | **Yes** | Maximum listings to collect (default: `100`). |
| `fetchFullDetails` | Boolean | No | When enabled, fetches full Item Specifics, clean HTML-stripped descriptions, high-res image galleries, and real-time item popularity signals in parallel (default: `false`). |
| `listingStatus` | String | No | Filter by listing status: `active` for live listings, `sold` for completed & sold sales (resale comps), or `all`. No default (empty). |
| `marketplace` | String | No | Target eBay marketplace (e.g. `EBAY-US`, `EBAY-GB`, `EBAY-DE`, `EBAY-FR`, `EBAY-IT`, `EBAY-ES`, `EBAY-AU`, `EBAY-CA`). No default (empty, auto-detects from URL). |
| `condition` | String | No | Filter by item condition: `new`, `open_box`, `refurbished`, `used`. No default (empty). |
| `buyingFormat` | String | No | Filter by `buy_it_now` or `auction`. No default (empty). |
| `minPrice` | Number | No | Filter items above or equal to this price. |
| `maxPrice` | Number | No | Filter items below or equal to this price. |
| `freeShipping` | Boolean | No | Only return listings offering free delivery. No default (empty). |
| `returnsAccepted` | Boolean | No | Only return listings where seller accepts returns. No default (empty). |
| `sortBy` | String | No | Sort results by `best_match`, `newly_listed`, `ending_soonest`, `lowest_price`, or `highest_price`. No default (empty). |
| `postalCode` | String | No | Optional destination zip/postal code (e.g. `90210`, `SW1A 1AA`) for exact localized shipping costs. |

> \[!IMPORTANT]
> **Barcode Search vs eBay Item ID Format Requirement**:
>
> - **Barcodes (UPC, EAN, ISBN)**: **Must** be preceded by `upc:` or `ean:` (e.g. `upc:045496590420` or `ean:0711719541523`).
> - **Raw Numbers**: Any standalone 9 to 14-digit number is strictly interpreted as an eBay Item ID. Always use `upc:` or `ean:` to search by barcode.

> **Important**: All fields under **Advanced filters** take precedence over URL defaults when explicitly set. If left unset/empty, the query runs with natural search results or preserves the filters from your pasted URL.

***

### 📋 JSON Input Examples

#### 1. Search Keywords with Price Filter & Free Shipping

Search for active listings matching specific keywords with a defined budget and free delivery:

```json
{
  "target": "sony wh-1000xm5 headphones",
  "maxItems": 50,
  "minPrice": 150,
  "maxPrice": 300,
  "condition": "refurbished",
  "freeShipping": true,
  "fetchFullDetails": false
}
```

#### 2. Sold Listings & Resale Comps (Market Valuation & Arbitrage)

Extract historical completed and sold items to evaluate real resale values and selling frequency:

```json
{
  "target": "pokemon booster box 151",
  "maxItems": 100,
  "listingStatus": "sold",
  "sortBy": "newly_listed",
  "fetchFullDetails": false
}
```

#### 3. Seller Store Catalog Extraction

Scrape an entire seller's live product catalog to monitor inventory, pricing, and volume:

```json
{
  "target": "seller:anker_direct",
  "maxItems": 200,
  "buyingFormat": "buy_it_now",
  "sortBy": "best_match",
  "fetchFullDetails": true
}
```

#### 4. Single Item URL Deep Scraping

Pass a direct eBay item URL to extract all technical specifications, high-res photos, clean description, and real-time item popularity demand signals:

```json
{
  "target": "https://www.ebay.com/itm/257388279541",
  "maxItems": 1,
  "fetchFullDetails": true
}
```

#### 5. Multi-Marketplace Search with Custom Sorting

Target international regional eBay marketplaces (e.g. UK) with localized currency, domestic postage, and ending-soonest sorting:

```json
{
  "target": "vintage mechanical watch",
  "maxItems": 50,
  "marketplace": "EBAY-GB",
  "buyingFormat": "auction",
  "sortBy": "ending_soonest",
  "fetchFullDetails": false
}
```

***

### 📊 Output Dataset

Each record in the dataset is 100% flat with zero omitted fields:

| Field | Type | Description |
|---|---|---|
| `itemId` | String | Unique eBay item ID. |
| `title` | String | Listing title. |
| `url` | String | Direct canonical listing URL. |
| `price` | Number | Current price or final sold price (numeric). |
| `currency` | String | Three-letter currency code (`USD`, `GBP`, `EUR`, `AUD`, `CAD`). |
| `priceDisplay` | String | Formatted display price (e.g. `$495.99` or `£496.30`). |
| `originalPrice` | Number | Previous strikethrough price if discounted. |
| `discountText` | String | Discount percentage label (e.g. `55% off`). |
| `savingsAmount` | String | Calculated savings string (e.g. `US$ 603.01`). |
| `shippingCost` | Number | Shipping cost (0 if free delivery). |
| `shippingType` | String | Shipping delivery label or service. |
| `isFreeShipping` | Boolean | `true` if shipping is free. |
| `deliverySummary` | String | Fast delivery speed label (e.g. `Free 2-3 day delivery`). |
| `shippingCarrier` | String | Shipping carrier or method (e.g. `FedEx 2Day®`). |
| `estimatedDelivery` | String | Estimated delivery dates. |
| `shipsTo` | String | Shipping destinations accepted. |
| `itemLocation` | String | Physical item location. |
| `condition` | String | Item condition text (`Brand New`, `Open Box`, `Very Good - Refurbished`). |
| `conditionDetails` | String | Additional seller notes on condition. |
| `buyingFormat` | String | `BUY_IT_NOW` or `AUCTION`. |
| `bidCount` | Integer | Current number of bids (if auction). |
| `quantityAvailable`| String | Available stock inventory text. |
| `quantitySold` | String | Total units sold from listing. |
| `outOfStock` | Boolean | `true` if item is out of stock. |
| `isSold` | Boolean | `true` if listing is confirmed sold/completed. |
| `soldDate` | String | Date the item was sold (for sold comps). |
| `watchCount` | Integer | Total active buyers watching this item. |
| `favoritesCount` | Integer | Buyer favorites / watcher count. |
| `inCartCount` | Integer | Item popularity signal showing how many shoppers currently have this item in their cart. |
| `viewsLast24Hours` | Integer | Item popularity signal showing total listing views recorded in the last 24 hours. |
| `soldLast24Hours` | Integer | Item popularity sales velocity showing units purchased in the last 24 hours. |
| `productRating` | Number | Average product star rating (1.0 to 5.0). |
| `productReviewCount` | Integer | Total product reviews. |
| `returnsAccepted` | Boolean | `true` if seller accepts returns. |
| `returnPeriod` | String | Return window policy (e.g. `Accepted within 30 days`). |
| `returnShippingPayer`| String | Who pays return postage (`Seller pays return shipping`). |
| `sellerUsername` | String | Seller's eBay username. |
| `sellerStoreName` | String | Seller's store name. |
| `sellerFeedbackScore` | Integer | Seller feedback score count. |
| `sellerPositivePercent` | String | Seller positive feedback percentage. |
| `sellerProfileUrl` | String | Direct link to seller's store profile. |
| `imageUrl` | String | Primary high-res photo URL. |
| `highResImageUrl` | String | Highest quality 1600px photo URL. |
| `images` | Array | Full array of high-resolution 1600px gallery image URLs. |
| `imagesCount` | Integer | Total count of gallery photos. |
| `sellerDescription` | String | Clean plain-text seller description (HTML tags stripped). |
| `scrapedAt` | String | ISO 8601 timestamp. |
| `spec_<Name>` | String | Dynamically flattened Item Specifics (e.g. `spec_Brand`, `spec_Model`, `spec_Storage_Capacity`, `spec_Processor`, `spec_Color`, `spec_RAM`) *(when fetchFullDetails is on)*. |
| `itemSpecificsSummary`| String | Complete Item Specifics summary string *(when fetchFullDetails is on)*. |

***

### 💡 Example Output (`fetchFullDetails: true` — 100% Flat Structure)

```json
{
  "itemId": "257388279541",
  "title": "Apple iPhone 15 Pro 256GB Unlocked - Good",
  "url": "https://www.ebay.com/itm/257388279541?_skw=iphone+15+pro&epid=17104453538&hash=item3bed8976f5:g:1~IAAeSwynJq24so",
  "epid": "17104453538",
  "price": 495.99,
  "currency": "USD",
  "priceDisplay": "$495.99",
  "originalPrice": 1099,
  "discountText": "55% off",
  "savingsAmount": "US$ 603.01",
  "couponPrice": null,
  "priceDrop": null,
  "promotionalOffer": null,
  "shippingCost": 0,
  "shippingType": null,
  "isFreeShipping": true,
  "deliverySummary": "Free 2-3 day delivery",
  "shippingCarrier": "FedEx 2Day One Rate Pak®",
  "estimatedDelivery": "Est. delivery: Get it between Tue, Nov 10 and Thu, Nov 12",
  "shipsTo": "United States",
  "condition": "Good - Refurbished",
  "conditionDetails": "This iPhone 15 Pro is 100% functional in Good condition, item will include scratches and dents on the front, back, and corners of the product. It does NOT come in its original packaging but will include a generic UL certified cable.",
  "buyingFormat": "BUY_IT_NOW",
  "bidCount": null,
  "quantityAvailable": "9 available",
  "quantitySold": "72 sold, 9 available",
  "outOfStock": false,
  "isLastOne": false,
  "hasVariations": true,
  "isBestOffer": false,
  "isCertifiedRefurbished": true,
  "isSold": false,
  "soldDate": null,
  "watchCount": 114,
  "favoritesCount": 114,
  "inCartCount": 51,
  "viewsLast24Hours": 178,
  "soldLast24Hours": null,
  "listingEndDate": "2026-12-02T22:21:24.000Z",
  "productRating": 5,
  "productReviewCount": 2,
  "returnsAccepted": true,
  "returnPeriod": "Accepted within 30 days",
  "returnShippingPayer": "Seller pays return shipping",
  "sellerUsername": "cellfeee",
  "sellerStoreName": "Cellfeee",
  "sellerFeedbackScore": 222193,
  "sellerPositivePercent": "99.5%",
  "isTopRatedPlus": true,
  "sellerProfileUrl": "https://www.ebay.com/usr/cellfeee?_trksid=p4429486.m3561.l49544",
  "itemLocation": "Astoria, New York, United States",
  "imageUrl": "https://i.ebayimg.com/images/g/1~IAAeSwynJq24so/s-l1600.jpg",
  "highResImageUrl": "https://i.ebayimg.com/images/g/1~IAAeSwynJq24so/s-l1600.jpg",
  "images": [
    "https://i.ebayimg.com/images/g/1~IAAeSwynJq24so/s-l1600.jpg",
    "https://d3d71ba2asa5oz.cloudfront.net/12003181/images/65254dfsdfe71_sd.jpg",
    "https://d3d71ba2asa5oz.cloudfront.net/12003181/images/6525471csdfsfv12d.jpg",
    "https://d3d71ba2asa5oz.cloudfront.net/12003181/images/6525471sdgvcv11d.jpg",
    "https://d3d71ba2asa5oz.cloudfront.net/12003181/images/15problack.jpg",
    "https://d3d71ba2asa5oz.cloudfront.net/12003181/images/15problack2.jpg",
    "https://d3d71ba2asa5oz.cloudfront.net/12003181/images/SZcAAOSw1LdieqO4/s-l1600.jpg"
  ],
  "imagesCount": 22,
  "imageWidth": 521,
  "imageHeight": 640,
  "sellerDescription": "Discounted Prices. Secure Shopping. Fast Free Shipping 1 Business Day. 30 Day Money Back Guarantee. Apple iPhone 15 Pro 256GB Unlocked. Condition: Good - Refurbished. Fully functional with moderate cosmetic wear such as scratches, scuffs, or small dents. Non-new items are professionally inspected and tested for functionality through Phonecheck before shipment.",
  "scrapedAt": "2026-11-07T21:58:56.746Z",
  "imageGalleryUrls": "https://i.ebayimg.com/images/g/1~IAAeSwynJq24so/s-l1600.jpg, https://d3d71ba2asa5oz.cloudfront.net/12003181/images/65254dfsdfe71_sd.jpg, https://d3d71ba2asa5oz.cloudfront.net/12003181/images/SZcAAOSw1LdieqO4/s-l1600.jpg",
  "spec_Condition": "Good - Refurbished. The item shows moderate wear and is backed by a one year warranty. It is fully functional and has been professionally refurbished, inspected and cleaned to good condition by qualified sellers.",
  "spec_Condition_details_from_seller": "This iPhone 15 Pro is 100% functional in Good condition, item will include scratches and dents on the front, back, and corners of the product. It does NOT come in its original packaging but will include a generic UL certified cable.",
  "spec_Quantity": "72 sold, 9 available",
  "spec_Item_Number": "257388279541",
  "spec_Brand": "Apple",
  "spec_Model": "iPhone 15 Pro",
  "spec_Storage_Capacity": "256GB",
  "spec_Network": "Unlocked",
  "spec_Screen_Size": "6.1\"",
  "spec_Lock_Status": "Unlocked",
  "spec_Processor": "Hexa-core",
  "spec_RAM": "8GB",
  "spec_Features": "Face ID, accelerometer, gyro, proximity, compass, barometer, Ultra Wideband 2 (UWB) support, Emergency SOS via satellite",
  "spec_Operating_System": "iOS",
  "spec_Contract": "Without Contract",
  "itemSpecificsSummary": "Condition: Good - Refurbished | Brand: Apple | Model: iPhone 15 Pro | Storage Capacity: 256GB | Network: Unlocked | Screen Size: 6.1\" | Lock Status: Unlocked | Processor: Hexa-core | RAM: 8GB | Operating System: iOS"
}
```

***

### 🚀 Use Cases

- **Resale & Arbitrage Comps**: Track real historical sold prices and volume to price inventory accurately on eBay, Amazon, or Mercari.
- **Item Popularity & Demand Analysis**: Leverage real-time watcher counts, in-cart statistics, and 24-hour page view velocity to detect high-converting trending products before competitors.
- **Competitor Monitoring**: Scrape competitor seller stores to analyze inventory volume, pricing strategies, and top-selling items.
- **Deal Sourcing**: Monitor live listings filtered by high discounts, free shipping, or ending-soonest auctions.
- **Cross-Border Intelligence**: Compare local prices and international shipping charges across 10+ regional eBay marketplaces.

***

### 🔗 Related eBay Scraping Tools

Looking for specialized scrapers tailored to specific e-commerce workflows? Check out our dedicated tools:

- [**eBay Sold Comps & Completed Listings Scraper**](https://apify.com/azzouzana/ebay-sold-comps-scraper) — Dedicated historical price checker for resellers, flippers, and TCG collectors. Toggle between confirmed sales (`LH_Sold=1`) and all completed listings (`LH_Complete=1`) to calculate sell-through rates (STR).
- [**eBay Seller Store & Competitor Inventory Scraper**](https://apify.com/azzouzana/ebay-seller-store-scraper) — Extract and monitor complete seller store catalogs, inventory stock counts, out-of-stock items, and newly listed inventory drops.
- [**eBay Trending Products & Buyer Demand Hunter**](https://apify.com/azzouzana/ebay-trending-products-hunter) — Discover high-velocity winning products with real-time buyer demand signals: items in cart, 24-hour page views, sales velocity, and watcher counts.
- [**eBay Sellers Reviews Scraper PRO**](https://apify.com/azzouzana/ebay-feedback-profile-scraper) — Extract complete seller feedback profiles, positive/negative reviews, buyer comments, ratings, and verified purchase context across +20 eBay markets.

***

### 🔎 SEO Keywords

eBay scraper, eBay sold listings, eBay prices scraper, eBay active listings, eBay seller inventory, eBay comps, resale arbitrage, product price tracker, eBay sold items, eBay search URL scraper, eBay store catalog, eBay product details, eBay item specifics, high-res photos scraper, eBay discount tracker, eBay Black Friday deals, eBay buyer demand, watcher count, item popularity, eBay dropshipping data, ecommerce market research, eBay data export JSON CSV Excel.

***

### Contact 📬

**Need a custom filter, dedicated integration, or feature request?**\
We'd love to hear from you!

- 💬 **Discord**: `@azzouzana`
- 📧 **Email**: <labs@azzouzana.com>

***

### ⚠️ Disclaimer

This actor is an **independent tool** and is **not affiliated with, endorsed by, or sponsored by** eBay Inc. or any of its subsidiaries. **eBay** and related marks are registered trademarks of eBay Inc.

The actor collects **publicly available** listing, pricing, and seller metrics for competitive intelligence and research. You are responsible for ensuring your use complies with **eBay’s terms of use**, applicable **privacy laws**, and your local regulations. For general guidance on scraping legal considerations, see [Apify's legality guide](https://blog.apify.com/is-web-scraping-legal?fpr=cbgdsf).

# Actor input Schema

## `target` (type: `string`):

Enter search keywords (e.g. 'iphone 15 pro'), a prefixed barcode (e.g. 'upc:045496590420'), an item ID / URL (e.g. 'https://www.ebay.com/itm/305315521632'), a seller (e.g. 'seller:adidas_official'), or paste any eBay URL.

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

Maximum listings to save to dataset.

## `fetchFullDetails` (type: `boolean`):

When enabled, enriches listings with complete Item Specifics, clean HTML-stripped seller description, full high-resolution image galleries, and real-time item popularity metrics (watchers/favorites, in-cart count, 24h views).

## `listingStatus` (type: `string`):

Scrape active listings, completed & sold listings (for comps and resale prices), or all.

## `marketplace` (type: `string`):

Target eBay regional marketplace for localized pricing, currency, and domestic shipping.

## `condition` (type: `string`):

Filter by condition.

## `buyingFormat` (type: `string`):

Filter listings by Buy It Now or Auction.

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

Filter items with price greater than or equal to this amount.

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

Filter items with price less than or equal to this amount.

## `freeShipping` (type: `boolean`):

Filter only listings offering free shipping.

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

Sorting order for listings (e.g. Best Match, Newly Listed, or Lowest Price).

## Actor input object example

```json
{
  "target": "iphone 15 pro",
  "maxItems": 100,
  "fetchFullDetails": false
}
```

# Actor output Schema

## `results` (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 = {
    "target": "iphone 15 pro",
    "maxItems": 100,
    "fetchFullDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/ebay-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 = {
    "target": "iphone 15 pro",
    "maxItems": 100,
    "fetchFullDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("azzouzana/ebay-scraper").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 '{
  "target": "iphone 15 pro",
  "maxItems": 100,
  "fetchFullDetails": false
}' |
apify call azzouzana/ebay-scraper --silent --output-dataset

```

## MCP server setup

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

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/gM4Dgfn4UtQYwG8Bi/builds/tOhI5U105WVgNRXUq/openapi.json
