# eBay Scraper - Listings, Prices, Item Details & Sellers (`socialscrapers/ebay-scraper`) Actor

Scrape eBay, no login: search results with filters, sellers' and stores' listings and item pages from 11 eBay sites with price, shipping, condition, bids, time left, seller feedback, location, images, item specifics and descriptions. Export JSON, CSV, Excel. $1.50 per 1,000 listings.

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

## Pricing

from $1.20 / 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/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

**eBay Scraper** extracts public eBay listings — without an eBay account, cookies or login — from search results, sellers' and stores' listings and item pages, on 11 eBay sites (ebay.com, .co.uk, .de, .fr, .it, .es, .ca, .com.au, .at, .ch, .ie). Get each listing's item number, title, price and currency, shipping cost, condition, buying format (auction or Buy It Now), bids, time left, seller name with feedback score and positive percentage, location, image and link, and with item details on: item specifics, the seller's description, quantity available and sold, return policy, all images, category path and exact end time. It costs **$1.50 per 1,000 listings**, or **$4.00 per 1,000 listings with item details**.

> 💡 **Need a feature that isn't here? Just ask.** Open an issue on the **Issues** tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.

> ⭐ **Found it useful?** A short review on the **Reviews** tab helps other people find this scraper, and tells us what to build next.

### What does eBay Scraper do?

- **Search eBay like a buyer.** Type keywords such as `lego technic`, pick the eBay site, and filter by condition (new, used, open box, refurbished, for parts), buying format (auction, Buy It Now, accepts offers) and price range, sorted by best match, ending soonest, newly listed or price plus shipping.
- **Any eBay link.** Paste a search from your browser (it keeps its own filters and sort), a seller's profile (`/usr/...`), a store (`/str/...`) or an item (`/itm/...`) from any supported site.
- **Sellers' listings.** Add seller user ids and get all their active listings, with the same filters.
- **Items by number.** A list of item numbers or item links gives one complete item per listing.
- **Item details when you need them.** Switch on **Include item details** to open each listing's page: item specifics (brand, model, MPN, size...), the seller's description as text, quantity available and sold, return policy, all images in full size, the category path, exact start and end times and the full item location.
- **Shipping to the site's own country.** Shipping costs are quoted to the site's country (the United States on ebay.com, the United Kingdom on ebay.co.uk...), as numbers, ready for spreadsheets.

### What data can you extract?

One item per listing. Every field is always present; `null` or `[]` means eBay shows nothing for it. Fields marked *details* are filled when **Include item details** is on (and always for listings given by item link or number).

| Field | Description |
|---|---|
| `itemId`, `url`, `site` | eBay's item number, the listing's link and the eBay site |
| `title`, `condition`, `conditionDescription` | The title, the condition as shown (Brand New, Pre-Owned...), and the seller's note on it (*details*) |
| `price`, `priceMax`, `currency`, `originalPrice` | The price (current bid for auctions), the top of a price range for listings with variations, ISO currency code, crossed-out earlier price |
| `shippingCost`, `shippingText` | Shipping to the site's country (`0` = free) and the shipping line as shown |
| `buyingFormat`, `bestOfferEnabled`, `bids` | `auction`, `buy_it_now` or `auction_or_buy_it_now`; whether offers are accepted; bids so far |
| `timeLeft`, `endTime`, `startTime` | Time left as shown, when the listing ends (exact with *details*), when it started (*details*) |
| `soldCount`, `watchers`, `quantityAvailable`, `quantityText`, `inStock` | Units sold, watchers, units available and the quantity line (*details*) |
| `location` | Where the item is (country on search pages, full place with *details*) |
| `sellerName`, `sellerFeedbackScore`, `sellerFeedbackPercent`, `sellerType`, `sellerStoreUrl`, `topRatedSeller` | The seller's user id, feedback score and positive percentage, private or business (where shown), store link (*details*), top rated mark |
| `freeReturns`, `returnPolicy`, `returnsAccepted`, `returnDays` | Free returns mark, and the return policy (*details*) |
| `brand`, `categories`, `itemSpecifics`, `description` | Brand, category path, every item specific and the seller's description (*details*) |
| `imageUrl`, `images`, `hasVariations`, `epid` | Main image, all images in full size (*details*), variations, eBay's catalog product id |
| `notes` | Other lines eBay shows on the listing ("Last one", "Save up to 6% when you buy more"...) |
| `position`, `page`, `searchKeyword`, `searchUrl` | Rank in the search, result page, and the search that found it |
| `input`, `inputType`, `detailsStatus`, `detailsNote` | Which input it came from, and whether its details were read (`ok`, `not_requested`, `unavailable`, `not_finished`, `not_found`) with the reason |
| `sourceUrl`, `scrapedAt` | The page the data was read from, and when |

### How to scrape eBay listings

1. Open the Actor and add search keywords, eBay links, seller user ids, or item links and numbers.
2. Choose the **eBay site** for keywords, sellers and item numbers, and the filters you need.
3. Set **Max listings per search** (`0` = all of them) and switch on **Include item details** if you want item specifics, descriptions, quantities and return policies.
4. Click **Start**, then download the results as JSON, CSV, Excel, XML or HTML, or read them through the API.

### How much does it cost?

You pay per listing delivered to the dataset: **$1.50 per 1,000 listings** from search results, and **$4.00 per 1,000 listings with item details** (each listing's own page read too). Apify subscribers pay less: **Silver −10%** and **Gold −20%**. Each run also carries an Actor start charge of $0.021.

| Job | Listings | Price (no discount) |
|---|---|---|
| Top 100 results for 10 keywords | 1,000 | $1.50 + $0.021 start |
| A seller's 2,000 active listings | 2,000 | $3.00 + $0.021 start |
| 500 listings with item specifics, description and returns | 500 | $2.00 + $0.021 start |
| Daily price check of 50 items, for a month | 1,500 | $6.00 + 30 starts ($0.63) |

Searches with no results, links that lead nowhere and listings eBay does not show cost nothing. A listing whose own page eBay did not show is charged as a search result. To cap spending, set a **maximum total charge** in the run options: the Actor stops cleanly once it is reached and keeps everything collected so far.

### Input example

```json
{
    "searchKeywords": ["lego technic", "vintage film camera"],
    "site": "ebay.com",
    "condition": "used",
    "listingType": "buy_it_now",
    "minPrice": 20,
    "maxPrice": 300,
    "sort": "price_shipping_lowest",
    "maxItemsPerSearch": 200,
    "includeDetails": false
}
```

Sellers and items work the same way: `"sellers": ["some_seller"]`, `"itemUrls": ["296234827217"]`, or links in `"startUrls"`.

### Output example

```json
{
    "itemId": "307281602229",
    "title": "New Sealed LEGO Technic McLaren P1 42172 Complete Set",
    "url": "https://www.ebay.com/itm/307281602229",
    "site": "ebay.com",
    "price": 380,
    "priceMax": null,
    "currency": "USD",
    "originalPrice": null,
    "shippingCost": 0,
    "shippingText": "Free delivery",
    "condition": "Brand New",
    "buyingFormat": "buy_it_now",
    "bestOfferEnabled": true,
    "bids": null,
    "timeLeft": null,
    "endTime": null,
    "soldCount": 16,
    "watchers": null,
    "location": "United States",
    "sellerName": "example_seller",
    "sellerFeedbackScore": 1300,
    "sellerFeedbackPercent": 99,
    "topRatedSeller": false,
    "imageUrl": "https://i.ebayimg.com/images/g/AbCdEfGhIjKlMnOp/s-l1600.webp",
    "notes": ["Almost gone"],
    "position": 3,
    "page": 1,
    "searchKeyword": "lego technic",
    "input": "lego technic",
    "inputType": "keyword",
    "detailsStatus": "not_requested",
    "sourceUrl": "https://www.ebay.com/sch/i.html?_nkw=lego+technic",
    "scrapedAt": "2026-11-26T10:00:00.000Z"
}
```

With item details on, the same item also has `itemSpecifics` (for example `{"Brand": "LEGO", "LEGO Set Number": "42172", "Theme": "Technic"}`), `description`, `quantityAvailable`, `quantityText`, `returnPolicy` ("30 days returns. Buyer pays for return shipping."), `returnDays`, `images`, `categories`, `startTime`, `endTime` and the full `location`.

### Use cases

- **Price research and repricing:** compare prices, shipping and conditions across sellers and eBay sites.
- **Auction tracking:** follow bids and end times of auctions in a category, ending soonest first.
- **Competitor and seller monitoring:** watch a seller's listings, prices, quantities sold and new listings.
- **Product research:** find what sells (sold counts, watchers) and how listings are described (item specifics).
- **Lead lists and catalogs:** build listing and seller lists for a niche, with images and links.

### API, Python, JavaScript & integrations

Run the Actor from your own code with the Apify API and client libraries.

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('socialscrapers/ebay-scraper').call({
    searchKeywords: ['lego technic'],
    site: 'ebay.com',
    maxItemsPerSearch: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("socialscrapers/ebay-scraper").call(run_input={
    "itemUrls": ["296234827217"],
    "site": "ebay.com",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["itemId"], item["price"], item["quantityAvailable"], item["returnPolicy"])
```

Connect it to **Make, Zapier, n8n, Google Sheets** and other tools with [Apify integrations](https://docs.apify.com/platform/integrations), get notified with [webhooks](https://docs.apify.com/platform/integrations/webhooks), run it on a [schedule](https://docs.apify.com/platform/schedules), or call it from AI agents through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).

### Limits

- **Active listings only.** eBay shows sold and completed listings to signed-in members only, so they are not part of what a logged-out visitor sees. A sold-listings search ends with a status that says so, and nothing is charged for it.
- **Category pages need search words.** A category page without search words is not read; search inside the category on eBay (type search words with the category selected) and paste that link instead.
- **eBay's own limits.** eBay shows up to about 10,000 results per search; split a broad search by price range or condition to go further. Result counts and feedback scores on search pages ("11.7K") are eBay's rounded figures; item details give the exact feedback score.
- **Item details take longer.** Each listing page is one more page to read. A listing whose page eBay does not show is still returned with its search result fields, and `detailsStatus` says `unavailable`.
- **A run with 0 results still succeeds.** When a search has no results or an item does not exist, the run ends as Succeeded with a status message naming each input and why, and no results are charged. When nothing in the input can be used, the run also ends as Succeeded, with a status message that starts "Nothing to scrape:" and says why and how to fix the input.

### FAQ

**Is it legal to scrape eBay?**
The Actor reads only public listing information that eBay shows to every visitor, without logging in. You are responsible for using the data lawfully, including eBay's terms and the laws that apply to you. Seller user ids and locations can be personal data: if you store or process them, the GDPR, the CCPA and similar laws may apply.

**Do I need an eBay account or cookies?**
No. The Actor works logged out.

**Can I get sold listings and sold prices?**
No. eBay shows them to signed-in members only. The Actor returns active listings, with sold counts ("16 sold") where eBay shows them.

**Which eBay sites are supported?**
ebay.com, ebay.co.uk, ebay.de, ebay.fr, ebay.it, ebay.es, ebay.ca, ebay.com.au, ebay.at, ebay.ch and ebay.ie. Links from any of them work as they are.

**How fast is it?**
Search results come 240 listings per page, and the first ones can take a minute or two to arrive. In our tests 1,000 listings from one search took about 3 minutes, and 40 listings with item details about 3 minutes; item details are read several at a time. Set a long enough run timeout for big jobs: if the timeout comes first, the run saves everything it read and ends as Succeeded.

**Why do some items have no details?**
eBay did not show that listing's page after several tries, so the item keeps its search result fields, `detailsStatus` is `unavailable`, and it is charged as a search result. Running the item number again later usually fills it in.

### Other scrapers by Social Scrapers

| Scraper | What it gets |
| --- | --- |
| [TikTok API](https://apify.com/socialscrapers/tiktok-api) | Profiles, Videos and Comments |
| [TikTok Comments Scraper](https://apify.com/socialscrapers/tiktok-comments-scraper) | Comments, Replies and Likes |
| [TikTok Hashtag Scraper](https://apify.com/socialscrapers/tiktok-hashtag-scraper) | Top Videos, Views and Likes |
| [TikTok Profile Scraper](https://apify.com/socialscrapers/tiktok-profile-scraper) | Followers, Bio, Stats and Videos |
| [TikTok Scraper](https://apify.com/socialscrapers/tiktok-scraper) | Videos, Profiles, Hashtags and Comments |
| [TikTok Sound Scraper](https://apify.com/socialscrapers/tiktok-sound-scraper) | Videos Using a Sound and Music Info |
| [TikTok Transcript Scraper](https://apify.com/socialscrapers/tiktok-transcript-scraper) | Video Captions and Subtitles to Text |
| [TikTok Video Scraper](https://apify.com/socialscrapers/tiktok-video-scraper) | Views, Likes, Captions and Comments |
| [Instagram API](https://apify.com/socialscrapers/instagram-api) | Profiles, Posts, Reels, Comments and Hashtags |
| [Instagram Comments Scraper](https://apify.com/socialscrapers/instagram-comments-scraper) | Comments, Likes and Reply Counts |
| [Instagram Email Scraper](https://apify.com/socialscrapers/instagram-email-scraper) | Emails and Phones from Public Profiles |
| [Instagram Hashtag Scraper](https://apify.com/socialscrapers/instagram-hashtag-scraper) | Reels and Keyword Search |
| [Instagram Post Details Scraper](https://apify.com/socialscrapers/instagram-post-details-scraper) | Likes, Comments, Views and Media |
| [Instagram Post Scraper](https://apify.com/socialscrapers/instagram-post-scraper) | Posts, Reels and Comments |
| [Instagram Profile Scraper](https://apify.com/socialscrapers/instagram-profile-scraper) | Followers, Bio, Posts and Reels |
| [Instagram Reels Scraper](https://apify.com/socialscrapers/instagram-reels-scraper) | Reels, Plays, Likes and Comments |
| [Instagram Reels Transcript Scraper](https://apify.com/socialscrapers/instagram-reels-transcript-scraper) | Speech to Text and Captions |
| [Instagram Scraper](https://apify.com/socialscrapers/instagram-scraper) | Posts, Profiles, Reels, Comments and Hashtags |
| [YouTube API](https://apify.com/socialscrapers/youtube-api) | Videos, Transcripts, Search, Channels and Comments |
| [YouTube Channel Scraper](https://apify.com/socialscrapers/youtube-channel-scraper) | Videos, Shorts, Subscribers and About |
| [YouTube Comments Scraper](https://apify.com/socialscrapers/youtube-comments-scraper) | Comments, Replies and Likes |
| [YouTube Scraper](https://apify.com/socialscrapers/youtube-scraper) | Videos, Shorts, Channels and Comments |
| [YouTube Search Scraper](https://apify.com/socialscrapers/youtube-search-scraper) | Videos, Channels, Views and Filters |
| [YouTube Shorts Scraper](https://apify.com/socialscrapers/youtube-shorts-scraper) | Shorts, Views, Likes and Search |
| [YouTube Transcript Scraper](https://apify.com/socialscrapers/youtube-transcript-scraper) | Subtitles, Captions and SRT |
| [YouTube Video Details Scraper](https://apify.com/socialscrapers/youtube-video-details-scraper) | Stats, Subtitles and Comments |
| [Facebook Ads Library Scraper](https://apify.com/socialscrapers/facebook-ads-library-scraper) | Meta Ad Library and Spend |
| [Facebook Comments Scraper](https://apify.com/socialscrapers/facebook-comments-scraper) | Posts, Reels, Videos and Replies |
| [Facebook Events Scraper](https://apify.com/socialscrapers/facebook-events-scraper) | Public Events, Dates and Hosts |
| [Facebook Groups Scraper](https://apify.com/socialscrapers/facebook-groups-scraper) | Public Group Posts and Reactions |
| [Facebook Marketplace Scraper](https://apify.com/socialscrapers/facebook-marketplace-scraper) | Prices, Locations and Sellers |
| [Facebook Page Contact Info Scraper](https://apify.com/socialscrapers/facebook-page-contact-scraper) | Email, Phone and WhatsApp |
| [Facebook Posts Scraper](https://apify.com/socialscrapers/facebook-profile-posts-scraper) | Pages, Profiles and Timelines |
| [Facebook Pages Scraper](https://apify.com/socialscrapers/facebook-profile-scraper) | Profiles, Contact Info and Reviews |
| [Facebook Reels Scraper](https://apify.com/socialscrapers/facebook-reels-scraper) | Reels, Videos, Plays and Captions |
| [X (Twitter) Profile Scraper](https://apify.com/socialscrapers/x-profile-scraper) | Followers, Bio and Tweets |
| [X (Twitter) Tweet Scraper](https://apify.com/socialscrapers/x-tweet-scraper) | Latest Posts by Profile |
| [Threads Profile Scraper](https://apify.com/socialscrapers/threads-profile-scraper) | Followers, Bio, Links and Posts |
| [Threads Replies Scraper](https://apify.com/socialscrapers/threads-replies-scraper) | Comments, Authors, Likes and Media |
| [Threads Scraper](https://apify.com/socialscrapers/threads-scraper) | Posts, Profiles, Replies and Search |
| [Threads Search Scraper](https://apify.com/socialscrapers/threads-search-scraper) | Keywords, Hashtags, Top and Recent Posts |
| [Reddit Comments Scraper](https://apify.com/socialscrapers/reddit-comments-scraper) | Threads, Replies, Votes and Authors |
| [Reddit Scraper](https://apify.com/socialscrapers/reddit-scraper) | Posts, Comments, Subreddits, Users and Search |
| [Reddit Search Scraper](https://apify.com/socialscrapers/reddit-search-scraper) | Posts by Keyword, Subreddit and Date |
| [Reddit User Scraper](https://apify.com/socialscrapers/reddit-user-scraper) | Profiles, Karma, Posts and Comments |
| [Subreddit Scraper](https://apify.com/socialscrapers/subreddit-scraper) | Hot, New and Top Posts with Comments |
| [Quora Scraper](https://apify.com/socialscrapers/quora-scraper) | Answers, Questions, Profiles and Topic Search |
| [LinkedIn Ad Library Scraper](https://apify.com/socialscrapers/linkedin-ad-library-scraper) | Ads, Advertisers and Impressions |
| [LinkedIn Company Posts Scraper](https://apify.com/socialscrapers/linkedin-company-posts-scraper) | Latest Posts, No Login |
| [LinkedIn Company Scraper](https://apify.com/socialscrapers/linkedin-company-scraper) | Company Details, Size and Website |
| [LinkedIn Job Search Scraper](https://apify.com/socialscrapers/linkedin-job-search-scraper) | Filters, Salaries and New Jobs |
| [LinkedIn Jobs Scraper](https://apify.com/socialscrapers/linkedin-jobs-scraper) | Job Listings, Salaries and Companies |
| [LinkedIn Post Comments Scraper](https://apify.com/socialscrapers/linkedin-post-comments-scraper) | Top Comments, No Login |
| [LinkedIn Posts Scraper](https://apify.com/socialscrapers/linkedin-posts-scraper) | Public Posts, Reactions and Comments |
| [LinkedIn Profile Posts Scraper](https://apify.com/socialscrapers/linkedin-profile-posts-scraper) | Latest Posts, No Login |
| [Google Maps Email Extractor](https://apify.com/socialscrapers/google-maps-email-extractor) | Emails, Phones and Social Links |
| [Google Maps Scraper](https://apify.com/socialscrapers/google-maps-scraper) | Places, Phones, Websites, Ratings and Hours |
| [Google News Scraper](https://apify.com/socialscrapers/google-news-scraper) | Headlines, Articles and Search |
| [Google Ads Transparency Scraper](https://apify.com/socialscrapers/google-ads-transparency-scraper) | Ad Creatives and Advertisers |
| [Amazon Best Sellers Scraper](https://apify.com/socialscrapers/amazon-bestsellers-scraper) | Top 100 Rankings and Prices |
| [Amazon Product Scraper](https://apify.com/socialscrapers/amazon-product-scraper) | Search Results, Prices, Ratings, ASINs |
| [Amazon Search Scraper](https://apify.com/socialscrapers/amazon-search-scraper) | Products, Prices and Ratings by Keyword |
| [Indeed Jobs Scraper](https://apify.com/socialscrapers/indeed-jobs-scraper) | Salaries, Full Descriptions, Company Data |
| [Contact Details Scraper](https://apify.com/socialscrapers/contact-details-scraper) | Emails, Phones and Social Links |
| [Telegram Channel Scraper](https://apify.com/socialscrapers/telegram-channel-scraper) | Posts, Views and Media |
| [Doximity Scraper](https://apify.com/socialscrapers/doximity-physician-scraper) | Physician Profiles and Doctor Directory |
| [KevinMD Scraper](https://apify.com/socialscrapers/kevinmd-articles-scraper) | Physician Articles and Author Specialties |
| [Op-Med Scraper](https://apify.com/socialscrapers/opmed-articles-scraper) | Physician Essays and Doctor Profiles |
| [Airbnb Reviews Scraper](https://apify.com/socialscrapers/airbnb-reviews-scraper) | Guest Reviews, Ratings and Hosts |
| [Airbnb Scraper](https://apify.com/socialscrapers/airbnb-scraper) | Listings, Prices, Reviews and Hosts |
| [Booking.com Scraper](https://apify.com/socialscrapers/booking-scraper) | Hotels, Prices and Reviews |
| [Career Site Jobs Scraper](https://apify.com/socialscrapers/career-site-jobs-scraper) | Greenhouse, Lever, Ashby and Workday |
| [Etsy Scraper](https://apify.com/socialscrapers/etsy-scraper) | Products, Prices, Shops and Reviews |
| [Google Shopping Scraper](https://apify.com/socialscrapers/google-shopping-scraper) | Products, Prices and Sellers |
| [Google Trends Scraper](https://apify.com/socialscrapers/google-trends-scraper) | Interest Over Time, Regions and Queries |
| [MercadoLibre Scraper](https://apify.com/socialscrapers/mercadolibre-scraper) | Products, Prices and Sellers |
| [Similarweb Scraper](https://apify.com/socialscrapers/similarweb-scraper) | Website Traffic, Rank and Visits |
| [Tripadvisor Reviews Scraper](https://apify.com/socialscrapers/tripadvisor-reviews-scraper) | Hotels, Restaurants and Attractions |
| [Tripadvisor Scraper](https://apify.com/socialscrapers/tripadvisor-scraper) | Hotels, Restaurants and Reviews |
| [Yelp Scraper](https://apify.com/socialscrapers/yelp-scraper) | Businesses, Reviews, Ratings and Contacts |
| [Zillow Property Scraper](https://apify.com/socialscrapers/zillow-property-scraper) | Home Details, Zestimate and History |
| [Zillow Scraper](https://apify.com/socialscrapers/zillow-scraper) | Listings, Prices, Zestimates and Agents |

# Actor input Schema

## `searchKeywords` (type: `array`):

What you would type into eBay's search box, one search per line, e.g. <code>lego technic</code>. Each keyword is searched on the site chosen under <b>eBay site</b>, with the filters below.

## `startUrls` (type: `array`):

Links copied from your browser, from any supported eBay site: a search (<code>https://www.ebay.com/sch/i.html?\_nkw=camera\&LH_BIN=1</code>, keeps its own filters and sort), a seller's profile (<code>/usr/...</code>), a store (<code>/str/...</code>) or an item (<code>/itm/...</code>). Item numbers work here too.

## `itemUrls` (type: `array`):

Listings to read directly, each with its full details: item links (<code>https://www.ebay.com/itm/296234827217</code>, any supported site) or item numbers such as <code>296234827217</code> (looked up on the site chosen under <b>eBay site</b>).

## `sellers` (type: `array`):

eBay user ids of sellers whose active listings you want, one per line, e.g. <code>some_seller</code>. The filters below apply.

## `site` (type: `string`):

The eBay site for search keywords, sellers and item numbers. Prices come in that site's currency (or the seller's, when eBay shows it so). Links always use their own site.

## `maxItemsPerSearch` (type: `integer`):

How many listings to collect from each keyword, seller and search link. <b>0 means all of them</b> (eBay shows up to about 10,000 per search).

## `includeDetails` (type: `boolean`):

Also open each listing's own page for its item specifics (brand, model, MPN...), the seller's description, quantity available and sold, return policy, all images, category path, exact end time and full location. Charged as a listing with details (see Pricing). A listing page eBay does not show is skipped: its item keeps the search result's fields, says so in <code>detailsStatus</code>, and is charged as a search result.

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

Only listings in this condition. Applies to keywords and sellers.

## `listingType` (type: `string`):

Auctions, Buy It Now, or listings that accept offers. Applies to keywords and sellers.

## `sort` (type: `string`):

The order of the results, as eBay's own sort menu offers it. Applies to keywords and sellers.

## `minPrice` (type: `integer`):

Only listings from this price on, in the site's currency (e.g. <code>25</code> for $25 on ebay.com). Applies to keywords and sellers.

## `maxPrice` (type: `integer`):

Only listings up to this price, in the site's currency. Applies to keywords and sellers.

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

Apify Proxy (the default) is recommended: the scraper picks the proxy type itself and its traffic is included in the price. Your own proxy URLs are used as given.

## Actor input object example

```json
{
  "searchKeywords": [
    "lego technic"
  ],
  "site": "ebay.com",
  "maxItemsPerSearch": 20,
  "includeDetails": false,
  "condition": "any",
  "listingType": "all",
  "sort": "best_match",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "searchKeywords": [
        "lego technic"
    ],
    "maxItemsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialscrapers/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 = {
    "searchKeywords": ["lego technic"],
    "maxItemsPerSearch": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("socialscrapers/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 '{
  "searchKeywords": [
    "lego technic"
  ],
  "maxItemsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call socialscrapers/ebay-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,socialscrapers/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/cIPZaUef1FdJFFth8/builds/hzAl30l8SaYyOyqOp/openapi.json
