eBay Fast Scraper
Pricing
from $10.00 / 1,000 results
eBay Fast Scraper
Scrapes eBay search and category pages and every item they list: price, was-price, availability, sold count, seller, location, categories, brand, MPN, EAN, UPC and more. No headless browser — Chrome-fingerprinted HTTP via impit.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
Tin
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
3
Monthly active users
2 months ago
Last modified
Categories
Features
Share
eBay Fast Scraper — Node.js / Apify
Apify Actor that scrapes eBay search and category pages and every item they
list, with the same input and output as
dtrungtin/ebay-items-scraper.
No headless browser: plain HTTP through impit,
which reproduces Chrome's TLS and HTTP/2 fingerprint.
Setup
Requires Node.js 20.18.1+ (the Actor image uses Node 24).
npm installnpm test # parser + crawler tests (offline, against saved pages)
Run locally with the Apify CLI (or write the same JSON to
storage/key_value_stores/default/INPUT.json and run npm start):
apify run --input='{"startUrls": [{ "url": "https://www.ebay.com/sch/i.html?_nkw=drone" }],"maxItems": 20,"proxyConfig": { "useApifyProxy": false }}'
useApifyProxy: false sends requests from your own IP, which is fine for a
few dozen pages. Apify Proxy only works outside the platform if the account
has Proxy external access; without it the default proxy gives no proxy
URLs locally, the log says "No proxy configured", and requests go out
directly too.
Input
| field | type | description |
|---|---|---|
startUrls | array | Required. eBay search (/sch/…) or category (/b/…) pages on any eBay site. Item pages (/itm/<number>) are accepted too. |
maxItems | integer | Limit of items across all start URLs, at most 5,000 per run. Empty = 5,000. |
proxyConfig | object | Default: Apify RESIDENTIAL. With no country set, each eBay site gets proxies from its own country (ebay.com → US, ebay.de → DE, …); a country set here is used for every site. |
Parallelism isn't an input: the number of workers is set from the run's memory (see Memory and speed). To go faster, give the run more memory.
Search URLs without _ipg get _ipg=240 added (240 results per page, eBay's
maximum, instead of 60), so runs with maxItems ≤ 240 per search need no
pagination at all. Set _ipg yourself to override.
Memory and speed
Run memory is limited to 1–4 GB (default 2 GB) in .actor/actor.json. The scraper itself needs only ~300–360 MB; memory matters because Apify allocates CPU from it (1 core per 4 GB) and parsing is CPU-bound (~0.26 s of CPU per item). Node parses on a single thread, so more than 4 GB / 1 core would be wasted.
The worker count (each with its own proxy session) follows memory:
| memory | CPU | workers | ~speed | 1,000 items |
|---|---|---|---|---|
| 1024 MB | 0.25 core | 3 | 1 item/s | ~17 min |
| 2048 MB | 0.5 core | 5 | 2 items/s | ~9 min |
| 4096 MB | 1 core | 10 | 3.8 items/s | ~4.5 min |
Measured offline against the saved pages with simulated network latency; real runs are slower by the Akamai warm-up and retries. Compute cost per item is about the same at every size (~0.3 CU per 1,000 items) — more memory just finishes sooner. Residential proxy traffic (~0.15 GB per 1,000 items) costs far more than compute.
Output
One dataset record per item — the same 31 fields, in the same order, as dtrungtin/ebay-items-scraper. Example from ebay.de:
{"url": "https://www.ebay.de/itm/254195517252","categories": ["Spielzeug","Bausets & Konstruktion","LEGO (R) Konstruktionsspielzeuge","LEGO (R) Bausteine & Einzelteile"],"itemNumber": "254195517252","title": "100 Lego Technic Kleinteile ca 30g bunt gemischt z.B. Pin Stopper Kreuz Stange","subTitle": null,"whyToBuy": ["Ganz entspannt. Rückgaben akzeptiert.","In guter Gesellschaft. 11 Leute beobachten das.","Geld zurück, wenn etwas mit diesem Artikel nicht stimmt.","Nach EU-Recht haben Sie Rechte, wenn der Artikel fehlerhaft ist oder von der Beschreibung abweicht."],"endedDate": null,"condition": "Gebraucht","lastUpdated": "27. Sep. 2026 20:54:51 MESZ","price": 2.59,"priceWithCurrency": "EUR 2,59","wasPrice": null,"wasPriceWithCurrency": null,"available": 56,"availableText": "56 verfügbar","sold": 29,"image": "https://i.ebayimg.com/images/g/jwgAAeSwBJRqetD8/s-l1600.jpg","images": ["https://i.ebayimg.com/images/g/jwgAAeSwBJRqetD8/s-l1600.jpg","https://i.ebayimg.com/images/g/ZnMAAeSw~8JqetD9/s-l1600.webp","https://i.ebayimg.com/images/g/nGsAAeSwk-9qetD~/s-l1600.webp","https://i.ebayimg.com/images/g/rmcAAeSwMCBqetEA/s-l1600.webp"],"seller": "www-steinpalast-de","itemLocation": "Mylau, Deutschland","ean": "4059632016718","mpn": null,"upc": null,"brand": "LEGO®","type": null,"sellerAwayMessage": null,"statusMessage": null,"shippingCost": 8.99,"shippingCostWithCurrency": "EUR 8,99","excludesShipping": "Brasilien, Chile, Französisch-Polynesien, Israel, Kasachstan, Litauen, Russische Föderation, USA, Uruguay","shipsTo": "Amerika, Asien, Australien, Europa"}
Field notes:
- Fields eBay doesn't show for a listing are
null:wasPricewithout a discount,availableon single-quantity Buy It Now listings,endedDatewithout a timer, etc. Texts (condition,availableText,shipsTo, ...) are in the eBay site's language. price/priceWithCurrencyare the listing's own price and currency (what eBay shows in large type), not the "approximately …" conversion into the visitor's currency. Prices are parsed per locale:EUR 2,59→ 2.59.shippingCost(0 for free shipping),shipsToandexcludesShippingdepend on where eBay thinks the visitor is, i.e. the proxy's country.endedDateis the text after the item's timer label: a countdown such as2d 16h("Sale ends in:", auctions) or the end of an ended listing.whyToBuyis the trust/highlights panel on the item page — eBay's current layout no longer has a box titled "Why to buy".categoriesis the item's breadcrumb path;imagesare all gallery images at full size (s-l1600),imageis the first one.ean,mpn,upc,brandcome from the page's JSON-LD when present, else from Item specifics; values likeDoes not applyare kept as-is.- Category pages also show catalog products (
/p/<epid>) that group many listings; those cards are skipped — only real listings are scraped.
Sold and completed listings are not supported. eBay only shows
LH_Sold=1 / LH_Complete=1 searches to signed-in accounts: on Apify with
residential proxies (2026-10-03) every such search either got 403s or
eBay's sign-in page. The Actor recognises the sign-in page, doesn't retry
it, and fails the run with an explanation if nothing else was scraped.
The run's outcome counters are stored in the key-value store as summary.
Pages that return 200 but can't be parsed (layout change, soft block) are
saved there as debug-list-<n> / debug-item-<n> (first 10 per run).
Migrations. The crawl state (queue, seen pages, maxItems budget,
counters) is saved to the key-value store as CRAWLER_STATE every minute
and when Apify moves the run to another server. On a move the crawler first
stops taking pages and waits for dataset pushes under way, so the resumed
run continues exactly where it stopped: no item is scraped — or charged —
twice.
How it gets past eBay's bot protection
eBay sits behind Akamai, probed 2026-10-02:
| request | result |
|---|---|
curl, got-scraping (any HTTP version) | 403 Error Page on every URL — TLS fingerprint rejected at the edge |
impit (chrome151), first request on a site | 403, but sets bm_s / bm_so cookies |
…retry ~2 s later with those cookies + Referer + Sec-Fetch-Site: same-origin | 200, real page |
| …retry immediately | flaky (5/8 trials passed vs 8/8 with the delay) |
…retry with cookies but no Referer | /splashui/challenge "Pardon Our Interruption" (Argon2 proof-of-work) |
…retry with Referer but no cookies | still 403 |
So src/ebay/session.js does what a browser reload
would: on a session's first 403 it waits 1.5–3 s and re-requests the same URL
as a same-origin navigation (up to 3 times). After that, every page load
carries the cookies and a Referer (the list page an item was found on, the
previous page for pagination). Each crawler worker keeps one session — one
sticky proxy IP and cookie jar — until it is blocked, then starts a fresh one.
There is also a second layer (Radware Bot Manager cookies __uzma…__uzmf).
It hasn't interfered at low volume. In testing, a single residential IP
started getting 403s even after the cookie bounce once it had made ~150
requests within an hour — at scale you need rotating residential proxies.
Search pages 2+ are guarded harder than anything else. On Apify with
RESIDENTIAL US proxies (500 items, 2026-10-03), every one of the run's 8
blocks hit a search page: page 2 loaded on its 4th try, page 3 on its 6th.
Item pages were essentially never blocked. So the crawler gives list pages up
to 10 retries (items: 5), each on a fresh session (= fresh proxy IP) after a
2–4 s pause; a blocked try costs only ~2 KB of proxy traffic. _ipg=240
keeps the number of list pages to a minimum.
Codebase
- src/main.js — Actor entry: input, proxy, dataset output, summary.
- src/ebay/crawler.js — task queue, workers, session
rotation, retries, pagination,
maxItemsbudget. Pagination follows eBay's own "next" link with the current page as Referer — eBay rewrites the query (e.g. it drops a_sacatcategory with no matches), and a hand-built_pgn=2URL that no browser would navigate to gets an empty page or a 403. - src/ebay/session.js — impit client, per-site cookie jar, Akamai cookie bounce, response classification.
- src/ebay/parse.js — list page and item page parsers.
- src/ebay/parse.test.js — tests against real pages in src/ebay/fixtures/ (gzipped; captured from a Vietnamese IP, hence some VND prices on search pages).
- .actor/ — Apify Actor manifest, Dockerfile and schemas: input,
output (links to the items, the Overview table and the
summaryrecord) and dataset (type/description of every output field plus the Overview view). Apify validates each pushed item against the datasetfields, so keep .actor/dataset_schema.json in step withparseItemPage()when adding or changing a field.
Log lines look like:
[w2] sess=hy5bk1sr9i3p item item_ok status=200 bounces=0 dur=1.3s try=1 ebay.com/itm/316914175972 | GBP 14.51 12VDC Heated Massage …
Outcomes: list_ok, list_empty (search with no results), item_ok,
blocked (Akamai 403), challenge (splashui), ratelimit, not_found,
http_error, transport_error, unparsable; *_failed counts pages that
ran out of retries.