# eBay Details Scraper (By Search Keywords)

Scrape product title, price, and seller information from eBay

- Template page: [https://www.octoparse.com/template/ebay_details](https://www.octoparse.com/template/ebay_details)
- Categories: E-Commerce
- Status: `PUBLISHED`
- Run mode: `CLOUD`

## Pricing

Current price: **$0.8/1,000 lines**. Billing is based on output rows; an Octoparse subscription may be required.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from search-results pages, detail pages.

## Output

The current workflow extracts 13 fields, including `Availability`, `Condition`, `Epid`, `Feedback_Score`, `Image_URLs`, `Item_Number`, `Page_URL`, `Price`, `Product_Title`, `Seller_Name`, `Seller_Rating`, `Sold`, `Was_Price`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Keywords, Page(1-100) and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keywords

Required. 关键词 Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=1000.

### Page(1-100)

Optional. 爬取页数 Constraints: minimum=1, maximum=100.

## How to Use

# eBay Details Scraper (By Search Keywords)

Searches eBay by keyword, paginates through requested search-result pages, follows listings to detail pages, and returns structured product and seller rows. Data source: [eBay](https://www.ebay.com/).

## Pricing
**$0.8/1,000 lines**. Billing is based on the output lines produced by the task.

## Inputs
- **Keywords** (Required) — eBay search keywords, one per entry. Up to 10,000 entries per run.
- **Page(1-100)** / **Page** (Optional) — Number of eBay search result pages to collect per keyword. Accepted range: 1 to 100.

Complete **Keywords**, **Page(1-100)**, and **Page** using these limits.

## Output
Returns one structured row per item with product and seller details. Review and export fields such as `Product_Title`, `Page_URL`, `Seller_Rating`, `Item_Number`, and `Epid`; `msg_type` and `content` are also included.

## How to Use
1. Open **eBay Details Scraper (By Search Keywords)** and click **Try it!**.
2. Complete **Keywords**, **Page(1-100)**, and **Page** using the formats and limits above.
3. Run it in the Octoparse cloud and start the task.
4. Review fields such as `Product_Title`, `Page_URL`, and `Seller_Rating`, then export the rows in the format you need.

## Tips
- Start with focused **Keywords** so the first run is easy to review before widening the search.
- Keep `Page_URL` in the export so every row can be traced to its originating input or page.

## Use Cases
- Monitor market prices using `Price`, `Was_Price`, and `Condition`.
- Compare seller reputation using `Seller_Rating` and `Feedback_Score`.
- Track demand and supply signals using `Sold` and `Availability`.
- Build listing catalogs using `Product_Title`, `Item_Number`, `Image_URLs`, and `Page_URL`.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [eBay Listing Page Scraper (by keyword)](https://www.octoparse.com/template/ebay-product-list-scraper-by-keyword)
- [eBay Spain Product Details Scraper](https://www.octoparse.com/template/ebay-detalles-scraper)
- [eBay Product Details Scraper (for Germany)](https://www.octoparse.com/template/ebay-produkt-details-scraper)
- [eBay Scraper](https://www.octoparse.com/template/ebay-scraper)
- [Google Maps Listings Scraper (by Keywords)](https://www.octoparse.com/template/google-maps-scraper-listing-page-by-keyword)

## Input Schema

```json
{
  "title": "eBay Details Scraper (By Search Keywords) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "Keywords",
      "description": "关键词",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "page": {
      "title": "Page(1-100)",
      "description": "爬取页数",
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords": [
    "keyword1",
    "keyword2"
  ]
}
```

Example 2

```json
{
  "keywords": [
    "labubu"
  ]
}
```

Example 3

```json
{
  "keywords": [
    "ford fiesta mk7 headlight used",
    "vw golf mk7 alternator used",
    "vauxhall corsa e front door"
  ],
  "page": 1
}
```

Example 4

```json
{
  "keywords": [
    "lexus rear crossmember"
  ],
  "page": 100
}
```

Example 5

```json
{
  "keywords": [
    "keyword1",
    "keyword2"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Availability": {
      "type": "string",
      "description": ""
    },
    "Condition": {
      "type": "string",
      "description": ""
    },
    "Epid": {
      "type": "string",
      "description": ""
    },
    "Feedback_Score": {
      "type": "string",
      "description": ""
    },
    "Image_URLs": {
      "type": "string",
      "description": ""
    },
    "Item_Number": {
      "type": "string",
      "description": ""
    },
    "Page_URL": {
      "type": "string",
      "description": ""
    },
    "Price": {
      "type": "string",
      "description": ""
    },
    "Product_Title": {
      "type": "string",
      "description": ""
    },
    "Seller_Name": {
      "type": "string",
      "description": ""
    },
    "Seller_Rating": {
      "type": "string",
      "description": ""
    },
    "Sold": {
      "type": "string",
      "description": ""
    },
    "Was_Price": {
      "type": "string",
      "description": ""
    }
  },
  "title": "eBay Details Scraper (By Search Keywords) output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Availability": "3 available",
  "Condition": "New",
  "Epid": "",
  "Feedback_Score": "100%",
  "Image_URLs": "https://i.ebayimg.com/images/g/W1EAAeSwNj1q6mdc/s-l500.webp;https://i.ebayimg.com/images/g/aB4AAeSwndRq6mdc/s-l500.webp;https://i.ebayimg.com/images/g/XIMAAeSw5BRq6mdc/s-l500.webp;https://i.ebayimg.com/images/g/aIkAAeSwE~pq6mdc/s-l500.webp;https://i.ebayimg.com/images/g/W1UAAeSwEdxq6mdc/s-l500.webp;https://i.ebayimg.com/images/g/aF0AAeSwOVNq6mdc/s-l500.webp;https://i.ebayimg.com/images/g/V2cAAeSw6ZBq6mdc/s-l500.webp",
  "Item_Number": "227596541248",
  "Page_URL": "https://www.ebay.com/itm/227596541248",
  "Price": "US $26.41",
  "Product_Title": "78pcs MTG Dice Counters Life Keyword +1/+1 Tokens Set for TCG Gaming",
  "Seller_Name": "bulkbuydepot",
  "Seller_Rating": "48",
  "Sold": "",
  "Was_Price": ""
}
```

Example 2

```json
{
  "Availability": "2 available",
  "Condition": "New",
  "Epid": "",
  "Feedback_Score": "99.8%",
  "Image_URLs": "https://i.ebayimg.com/images/g/kUAAAeSwb-JqC5ZU/s-l500.webp;https://i.ebayimg.com/images/g/OI4AAeSwEJpqC5ZU/s-l500.webp;https://i.ebayimg.com/images/g/1XYAAeSwCbZqC5ZT/s-l500.webp;https://i.ebayimg.com/images/g/3fMAAeSwm5BqC5ZU/s-l500.webp;https://i.ebayimg.com/images/g/T9gAAeSwQW9qC5ZT/s-l500.webp;https://i.ebayimg.com/images/g/XrsAAeSwUvhqC5ZU/s-l500.webp;https://i.ebayimg.com/images/g/5VgAAeSw3w1qC5ZT/s-l500.webp;https://i.ebayimg.com/images/g/nOIAAeSwPKtqC5ZU/s-l500.webp;https://i.ebayimg.com/images/g/kIAAAeSwtmpqC5ZU/s-l500.webp;https://i.ebayimg.com/images/g/0OMAAeSwK4lqC5ZT/s-l500.webp;https://i.ebayimg.com/images/g/oVsAAeSw77xqC5ZU/s-l500.webp",
  "Item_Number": "336590139568",
  "Page_URL": "https://www.ebay.com/itm/336590139568",
  "Price": "US $22.40",
  "Product_Title": "LOYALTY POP MART Labubu The Monsters Big Into Energy Serie Plush Doll Authentic",
  "Seller_Name": "Jackpot.Cards",
  "Seller_Rating": "921",
  "Sold": "27",
  "Was_Price": "US $32.00"
}
```

Example 3

```json
{
  "Availability": "",
  "Condition": "Used",
  "Epid": "",
  "Feedback_Score": "99.8%",
  "Image_URLs": "https://i.ebayimg.com/images/g/aS8AAeSwrsxqv5Gh/s-l500.webp;https://i.ebayimg.com/images/g/4Z4AAeSwmwpqv5Gk/s-l500.webp;https://i.ebayimg.com/images/g/pLgAAeSwBGFqv5Gl/s-l500.webp;https://i.ebayimg.com/images/g/B~oAAeSw7sxqv5Gi/s-l500.webp;https://i.ebayimg.com/images/g/AmMAAeSwVABqv5Gg/s-l500.webp;https://i.ebayimg.com/images/g/HJAAAeSwOoxqv5Gm/s-l500.webp;https://i.ebayimg.com/images/g/FsgAAeSw3jJqv5Gp/s-l500.webp;https://i.ebayimg.com/images/g/a4wAAeSwILxqv5Gt/s-l500.webp;https://i.ebayimg.com/images/g/DtwAAeSwS8Jqv5Go/s-l500.webp;https://i.ebayimg.com/images/g/z5wAAeSw5XZqv5Gh/s-l500.webp;https://i.ebayimg.com/images/g/7UYAAeSwWSVqv5Gq/s-l500.webp;https://i.ebayimg.com/images/g/5LsAAeSwusxqv5Gq/s-l500.webp;https://i.ebayimg.com/images/g/DOcAAOSw8NplLtwK/s-l500.webp",
  "Item_Number": "267801500596",
  "Page_URL": "https://www.ebay.com/itm/267801500596",
  "Price": "US $71.24",
  "Product_Title": "2014 to 2019 Ford Fiesta Left Driver LH Halogen Headlight Oem AI1313 DW",
  "Seller_Name": "parts4less-43",
  "Seller_Rating": "167380",
  "Sold": "",
  "Was_Price": "US $74.99"
}
```

Example 4

```json
{
  "Availability": "27 available",
  "Condition": "New",
  "Epid": "",
  "Feedback_Score": "99.7%",
  "Image_URLs": "https://i.ebayimg.com/images/g/R8sAAeSwzf9qlpPh/s-l500.webp;https://i.ebayimg.com/images/g/eVoAAeSwzadqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/pZkAAeSw2npqlpPh/s-l500.webp;https://i.ebayimg.com/images/g/TgEAAeSwislqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/-RsAAeSwpLBqlpPh/s-l500.webp;https://i.ebayimg.com/images/g/TjAAAeSwU~lqlpPh/s-l500.webp;https://i.ebayimg.com/images/g/Z7IAAeSwWihqlpPh/s-l500.webp;https://i.ebayimg.com/images/g/l6oAAeSwrd5qlpPi/s-l500.webp;https://i.ebayimg.com/images/g/DpwAAeSw5rdqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/f4EAAeSwwTlqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/wpwAAeSwL3VqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/AtYAAeSwpEtqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/27kAAeSwbS9qlpPi/s-l500.webp;https://i.ebayimg.com/images/g/JpQAAeSwrWpqlpPh/s-l500.webp;https://i.ebayimg.com/images/g/p8cAAeSwW8NqlpPh/s-l500.webp;https://i.ebayimg.com/images/g/hJMAAeSwkAlqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/27EAAeSwbS9qlpPi/s-l500.webp;https://i.ebayimg.com/images/g/4K8AAeSwG9FqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/ctMAAeSwc8FqlpPh/s-l500.webp;https://i.ebayimg.com/images/g/5bAAAeSwMf5qlpPi/s-l500.webp;https://i.ebayimg.com/images/g/nwkAAeSw1LlqlpPi/s-l500.webp;https://i.ebayimg.com/images/g/nogAAeSwoxhqlpPh/s-l500.webp;https://i.ebayimg.com/images/g/DOcAAOSw8NplLtwK/s-l500.webp",
  "Item_Number": "287557781324",
  "Page_URL": "https://www.ebay.com/itm/287557781324",
  "Price": "US $233.00",
  "Product_Title": "Rear Subframe Crossmember W/ Laterals For 2002-2011 Toyota Camry 2002-2006 Lexus",
  "Seller_Name": "DIY-Auto1",
  "Seller_Rating": "33072",
  "Sold": "28",
  "Was_Price": ""
}
```

Example 5

```json
{
  "Availability": "Last one",
  "Condition": "New",
  "Epid": "",
  "Feedback_Score": "99.1%",
  "Image_URLs": "https://i.ebayimg.com/images/g/tKQAAeSw1blpJLBB/s-l500.webp;https://i.ebayimg.com/images/g/uu8AAeSwDJhpJLBK/s-l500.webp;https://i.ebayimg.com/images/g/sycAAeSw0kppJLBQ/s-l500.webp;https://i.ebayimg.com/images/g/uq0AAeSwhSppJLBX/s-l500.webp;https://i.ebayimg.com/images/g/xskAAeSwdCVpJLBd/s-l500.webp;https://i.ebayimg.com/images/g/yYkAAeSwkD9pJLBi/s-l500.webp;https://i.ebayimg.com/images/g/r5MAAeSwXfdpJLBr/s-l500.webp;https://i.ebayimg.com/images/g/MaYAAeSwPdBpJLBy/s-l500.webp;https://i.ebayimg.com/images/g/t-cAAeSwcyxpJLB5/s-l500.webp;https://i.ebayimg.com/images/g/x6QAAeSwdCVpJLCA/s-l500.webp",
  "Item_Number": "317582037918",
  "Page_URL": "https://www.ebay.com/itm/317582037918",
  "Price": "US $69.14",
  "Product_Title": "Vacuum Cleaner 3-in-1 Handheld Stick Corded Lightweight Swivel Blue",
  "Seller_Name": "Perast Co",
  "Seller_Rating": "3927",
  "Sold": "2",
  "Was_Price": "US $86.42"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "ebay_details",
  "taskName": "eBay Details Scraper (By Search Keywords)",
  "parameters": "{\"keywords\":[\"keyword1\",\"keyword2\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"keywords\":[\"keyword1\",\"keyword2\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "ebay_details",
        "taskName": "eBay Details Scraper (By Search Keywords)",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "ebay_details",
  "taskName": "eBay Details Scraper (By Search Keywords)",
  "parameters": "{\"keywords\":[\"keyword1\",\"keyword2\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `ebay_details`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/ebay_details.json)
- [Manifest](https://www.octoparse.com/templates/ebay_details-manifest.json)
