# eBay Listing Scraper (`nifty.codes/ebay-listingdetails-scraper`) Actor

Extract detailed item specifications, prices, seller info, and images from individual eBay listing pages. Powered by eBay Scraper.

- **URL**: https://apify.com/nifty.codes/ebay-listingdetails-scraper.md
- **Developed by:** [Nifty](https://apify.com/nifty.codes) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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 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 Listing Scraper

This actor extracts Listing Details from eBay. It processes individual product pages to retrieve granular data including pricing, seller metrics, and item specifications. It supports multiple international eBay domains.

#### Data Fields

| Field Name | Description | Example |
| --- | --- | --- |
| Item Title | Full name of the product | Vintage 1970s Chronograph Watch |
| Item URL | Direct link to the listing | https://www.ebay.com/itm/123456789 |
| Current Bid Price | Highest current bid amount | 150.00 |
| Buy It Now Price | Fixed purchase price | 200.00 |
| Currency | Currency code for the listing | USD |
| Bid Count | Number of bids placed | 12 |
| Auction End Time | When the listing expires | 2023-12-01T20:00:00Z |
| Item Condition | State of the product | Pre-owned |
| Seller Username | eBay handle of the seller | watch_collector_99 |
| Seller Feedback Count | Total feedback received | 1450 |
| Seller Positive Percentage | Percentage of positive ratings | 99.8 |
| Seller Store URL | Link to seller's eBay store | https://www.ebay.com/str/watchstore |
| Seller Member Since | Date seller joined eBay | 2015-05-12 |
| Seller Response Time | Average time to reply | Within 24 hours |
| Seller Location | Physical location of item | New York, United States |
| Shipping Cost | Price for delivery | 15.50 |
| Shipping Service | Carrier or method used | USPS Priority Mail |
| Specifications | Technical details table | {"Movement": "Manual", "Case Size": "38mm"} |
| Item Description | Full text description | Rare vintage watch in working order... |
| Watch Count | Number of users watching | 45 |
| Sold Count | Total units sold | 3 |
| In Carts | Number of users with item in cart | 5 |
| Recent Sales | Number of sales in last 24h | 1 |
| Recent Views | View count in last 24h | 120 |
| Last Updated | Last time listing was edited | 2023-11-25T10:00:00Z |
| Listing Type | Format of the sale | Auction |
| Is Best Offer Available | If seller accepts offers | true |
| Is Top Rated Seller | Seller status badge | true |
| Is Fast N Free Shipping | Shipping speed badge | false |
| Is Authenticity Guarantee | If item is verified | true |
| Brand | Manufacturer name | Seiko |
| Model | Product model name | 6139-6002 |
| Color | Product color | Blue |
| Condition Description | Detailed condition notes | Minor scratches on crystal |
| All Images | List of product image URLs | ["https://i.ebayimg.com/img1.jpg"] |

#### Input

- `urls`: Array of strings. Use individual eBay listing URLs from supported hostnames like ebay.com, ebay.co.uk, or ebay.de.
- `maxItems`: Maximum number of items to process per URL. Default is 100.

#### Example Input

```json
{
  "urls": ["https://www.ebay.com/itm/123456789012"],
  "maxItems": 1
}
````

#### Example Output

```json
[
  {
    "itemTitle": "Apple iPhone 13 - 128GB - Midnight (Unlocked)",
    "itemUrl": "https://www.ebay.com/itm/123456789012",
    "currentBidPrice": null,
    "buyItNowPrice": 450.00,
    "currency": "USD",
    "bidCount": 0,
    "auctionEndTime": null,
    "itemCondition": "Used",
    "sellerUsername": "tech_resale",
    "sellerFeedbackCount": 5200,
    "sellerPositivePercentage": 98.5,
    "sellerStore URL": "https://www.ebay.com/str/techresale",
    "sellerMemberSince": "2018-02-10",
    "sellerResponseTime": "Within 12 hours",
    "sellerLocation": "Los Angeles, CA",
    "shippingCost": 0.00,
    "shippingService": "Free Standard Shipping",
    "specifications": {"Storage": "128GB", "Color": "Midnight"},
    "itemDescription": "Excellent condition iPhone 13...",
    "watchCount": 12,
    "soldCount": 85,
    "inCarts": 2,
    "recentSales": 4,
    "recentViews": 300,
    "lastUpdated": "2023-11-20T15:30:00Z",
    "listingType": "Fixed Price",
    "isBestOfferAvailable": false,
    "isTopRatedSeller": true,
    "isFastNFreeShipping": true,
    "isAuthenticityGuarantee": false,
    "brand": "Apple",
    "model": "iPhone 13",
    "color": "Midnight",
    "conditionDescription": "Minor wear on edges",
    "allImages": ["https://i.ebayimg.com/01.jpg", "https://i.ebayimg.com/02.jpg"]
  },
  {
    "itemTitle": "Sony PlayStation 5 Console - White",
    "itemUrl": "https://www.ebay.com/itm/987654321098",
    "currentBidPrice": 350.00,
    "buyItNowPrice": 500.00,
    "currency": "USD",
    "bidCount": 15,
    "auctionEndTime": "2023-12-05T18:00:00Z",
    "itemCondition": "New",
    "sellerUsername": "gaming_central",
    "sellerFeedbackCount": 890,
    "sellerPositivePercentage": 100.0,
    "sellerStore URL": "https://www.ebay.com/str/gamingcentral",
    "sellerMemberSince": "2020-01-15",
    "sellerResponseTime": "Within 2 hours",
    "sellerLocation": "Chicago, IL",
    "shippingCost": 12.99,
    "shippingService": "FedEx Ground",
    "specifications": {"Platform": "PS5", "Region": "NTSC"},
    "itemDescription": "Brand new factory sealed PS5...",
    "watchCount": 88,
    "soldCount": 1,
    "inCarts": 10,
    "recentSales": 0,
    "recentViews": 1500,
    "lastUpdated": "2023-11-28T09:00:00Z",
    "listingType": "Auction",
    "isBestOfferAvailable": true,
    "isTopRatedSeller": false,
    "isFastNFreeShipping": false,
    "isAuthenticityGuarantee": true,
    "brand": "Sony",
    "model": "PlayStation 5",
    "color": "White",
    "conditionDescription": "Factory sealed",
    "allImages": ["https://i.ebayimg.com/p5_01.jpg"]
  }
]
```

#### Want more from eBay?

This actor only covers **Listing Details**. The full **eBay Scraper** browser extension also includes **Products in a List, Seller Details, Feedback in a List** with unlimited personal use, real-time scraping with your logged-in sessions, CSV/Excel/JSON export, field customization, and scheduled monitoring.

**[Get the eBay Scraper extension](https://nifty.codes/e/ebay-scraper)**

#### Disclaimer

This tool extracts publicly available data. Users are responsible for compliance with applicable terms of service.

# Actor input Schema

## `urls` (type: `array`):

URLs to scrape. Must match: ebay.com, ebay.com.au, ebay.at, ebay.ca, ebay.fr, ebay.de, ebay.com.hk, ebay.ie, ebay.it, ebay.com.my, ebay.nl, ebay.ph, ebay.pl, ebay.com.sg, ebay.es, ebay.ch, ebay.co.uk

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

Maximum number of items to extract per URL

## Actor input object example

```json
{
  "urls": [
    "https://www.ebay.com/itm/356605681295"
  ],
  "maxItems": 100
}
```

# 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("nifty.codes/ebay-listingdetails-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("nifty.codes/ebay-listingdetails-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 nifty.codes/ebay-listingdetails-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "eBay Listing Scraper",
        "description": "Extract detailed item specifications, prices, seller info, and images from individual eBay listing pages. Powered by eBay Scraper.",
        "version": "3.2",
        "x-build-id": "zKnE1BfQH9uBAstWa"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/nifty.codes~ebay-listingdetails-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-nifty.codes-ebay-listingdetails-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/nifty.codes~ebay-listingdetails-scraper/runs": {
            "post": {
                "operationId": "runs-sync-nifty.codes-ebay-listingdetails-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/nifty.codes~ebay-listingdetails-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-nifty.codes-ebay-listingdetails-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": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "URLs",
                        "type": "array",
                        "description": "URLs to scrape. Must match: ebay.com, ebay.com.au, ebay.at, ebay.ca, ebay.fr, ebay.de, ebay.com.hk, ebay.ie, ebay.it, ebay.com.my, ebay.nl, ebay.ph, ebay.pl, ebay.com.sg, ebay.es, ebay.ch, ebay.co.uk",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "https://www.ebay.com/itm/356605681295"
                        ]
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of items to extract per URL",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
