App Logo
ebay.com

Search eBay products

Automatically search eBay products on ebay.com. Search eBay (ebay.com) by keyword, one page of 60 listings at a time. Returns eBay's result count, whether a next page exists, and for each listing its item id (the productId other eBay scripts take), title, link, price, currency, shipping cost, image and the card's attribute lines (buying format, location, returns, seller feedback) verbatim. Listings eBay pads a short result with are returned apart in related. A query with no match returns an empty list with eBay's notice when it gives one. A page past the last one returns an empty list. Sold items need a signed-in browser and are not offered.

Inputs

query required

Search keywords, e.g. "lego star wars".

page optional

Result page, 60 listings each. has_next_page says when to stop.

Default: 1
sort optional

eBay's sort options.

Default: "best_match"

Output

page required
items required

Listings that match the query.

query required
related required

Listings eBay adds below the matches when they run out. They are not matches for the query.

has_next_page required
total optional

The number in that heading (a lower bound when it ends with +).

total_text optional

eBay's count heading, verbatim ("260,000+ results for lego star wars").

empty_reason optional

eBay's notice when it shows no result and says why; null otherwise.

FAQ

Search eBay (ebay.com) by keyword, one page of 60 listings at a time. Returns eBay's result count, whether a next page exists, and for each listing its item id (the productId other eBay scripts take), title, link, price, currency, shipping cost, image and the card's attribute lines (buying format, location, returns, seller feedback) verbatim. Listings eBay pads a short result with are returned apart in related. A query with no match returns an empty list with eBay's notice when it gives one. A page past the last one returns an empty list. Sold items need a signed-in browser and are not offered.
Ask an AI agent connected to Reduck to run reduck/ebay.com/search-products, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/ebay.com/search-products
You do not need one. "Search eBay products" drives the real ebay.com pages in a browser, so it works whether or not ebay.com offers an API for this.
Required: query. Optional: page, sort.
It returns page, items, query, total, related, total_text, empty_reason, has_next_page.
No. It only uses pages of ebay.com that are reachable without signing in.
It only reads. It looks things up on ebay.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/ebay.com/search-products, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/ebay.com/search-products
It is one of Reduck's official scripts.

Start building not clicking