Commerce5 min readBy Purrkey teamUpdated

How to search active eBay listings by keyword and price

Search active eBay listings by keyword and filter by price, condition, listing type, and sort order in one normalized response

On this page

You have 25 active Nintendo Switch listings to compare before buying inventory, and you need a shortlist that accounts for price plus shipping. The worksheet below is the deliverable, and no run has been executed for this guide, so the table is a design, not a result

The task and the shortlist table

The buying brief is a keyword search with a price range, a condition filter and a sort by lowest price plus shipping. Use anyapi.ebay.search for the search and keep one row per listing in the worksheet. Values here are placeholders showing the shape

itemIdtitlepricecurrencyconditionshippingCostsellerNamesellerFeedbackPercentsellerFeedbackCountlistingTypebidCounturlshortlist
item-0001Example listing title199USDused12.50seller_example99.11234FixedPrice0item URL placeholderreview

Use keep when the row meets the price, condition and shipping brief; use review when seller fields or listingType are null; use drop when the row misses the brief. Leave bidCount at 0 for a fixed-price listing in this design

Example input and the fields to set

Example inputs, invented for this guide. Replace the keyword and limits with your own buying brief

FieldExample value
querynintendo switch oled
limit25
condition["used", "refurbished"]
listingTypebuy_it_now
minPrice150
maxPrice250
sortprice_low

query is required. The contract lists limit, condition, listingType, minPrice, maxPrice, sort and requireFields as optional. minPrice and maxPrice are in USD. Set condition from the enum values new, open_box, refurbished, used and for_parts. Set listingType to auction or buy_it_now, or leave it out for both formats. Set sort to price_low for lowest price plus shipping first, or use another sort enum when the brief changes

A single call cannot return more than 25 records: limit accepts 1 to 25 and defaults to 25, so a 25-result search is one call. Agents call it through POST /v1/runs with toolId anyapi.ebay.search. Optional requireFields names output fields the request must be able to return, such as sellerName; it can raise the price when the cheapest source cannot return a named field. A named field can still be absent on a listing that genuinely lacks it. Naming a combination no single source returns together is refused as invalid input, with no charge

How to read the output fields

The response has found and data. When found is false, reason is present and is not_found; the contract calls a found false answer a successful call, not an error. When data.items is populated, read each listing record with these fields

  • itemId, title and url: the listing identity and the page to open
  • price and currency: the item price and its ISO currency code
  • condition and listingType: the condition and format; listingType can be null when the serving source does not publish it
  • shippingCost: the shipping cost or delivery label
  • sellerName, sellerFeedbackPercent and sellerFeedbackCount: seller checks; these fields can be null when the serving source does not publish them
  • bidCount: bids placed so far, for auction listings
  • image: the primary listing image URL

For a single listing record, the companion article covers inspecting an eBay listing offer record

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search active eBay
listings for the example buying brief. Check the current inputs and price of
anyapi.ebay.search before running. Call anyapi.ebay.search once with query
"nintendo switch oled", limit 25, condition ["used", "refurbished"],
listingType "buy_it_now", minPrice 150, maxPrice 250 and sort "price_low".
Return a table with itemId, title, price, currency, condition, shippingCost,
sellerName, sellerFeedbackPercent, sellerFeedbackCount, listingType,
bidCount, url and shortlist. Set shortlist to keep, review or drop using the
article rules. Do not buy, bid or message a seller.

Replace the example values with your own before you run it. Keep the first run to one 25-result search so you can inspect the shortlist columns

Estimated tool cost

The unit is max_call, which the catalog defines as "Maximum per call. Successful runs settle at the actual AnyAPI charge." Prices below are from the Purrkey catalog, read November 13, 2026, and the totals are ceilings

StepFormulaUnit pricePlanned quantityTotal
One 25-result keyword searchcalls x max price$0.0655 per call1 call$0.0655
Weekly six-keyword refreshcalls x max price$0.0655 per call6 calls$0.393

A 25-result search is one call at most $0.0655. A weekly refresh of six keywords is six calls at most $0.393. Model fees for the agent are not counted

Open the eBay search tool page and run one 25-result search with the example buying brief

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with eBay.
Explore eBay tools and pricing

FAQ

How do I search active eBay listings by keyword and price?

Call anyapi.ebay.search with query and set minPrice, maxPrice, condition, listingType and sort from the buying brief. The response returns listing records with price, shipping, condition and seller fields.

What inputs does anyapi.ebay.search take?

The contract lists query as required. It lists limit, condition, listingType, minPrice, maxPrice, sort and requireFields as optional.

What does the limit field accept?

limit accepts 1 to 25 results and defaults to 25. A 25-result search is one call.

How do I read the output fields for a shortlist?

Use price and shippingCost to compare cost, condition and listingType to match the brief, and sellerName, sellerFeedbackPercent and sellerFeedbackCount for seller checks. Those seller fields and listingType can be null when the serving source does not publish them.

How much does a 25-result eBay keyword search cost?

One call is at most $0.0655. A weekly six-keyword refresh is six calls at most $0.393.

What happens when an eBay search returns no results?

The response has found false and reason set to not_found. The contract calls a found false answer a successful call, not an error.

What does requireFields do in anyapi.ebay.search?

It names output fields the request must be able to return, such as sellerName. It can raise the price when the cheapest source cannot return a named field, and a named field can still be absent on a listing that lacks it.

Next step

Try this with eBay

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See eBay tools

Share this article