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
| itemId | title | price | currency | condition | shippingCost | sellerName | sellerFeedbackPercent | sellerFeedbackCount | listingType | bidCount | url | shortlist |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| item-0001 | Example listing title | 199 | USD | used | 12.50 | seller_example | 99.1 | 1234 | FixedPrice | 0 | item URL placeholder | review |
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
| Field | Example value |
|---|---|
query | nintendo switch oled |
limit | 25 |
condition | ["used", "refurbished"] |
listingType | buy_it_now |
minPrice | 150 |
maxPrice | 250 |
sort | price_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,titleandurl: the listing identity and the page to openpriceandcurrency: the item price and its ISO currency codeconditionandlistingType: the condition and format;listingTypecan be null when the serving source does not publish itshippingCost: the shipping cost or delivery labelsellerName,sellerFeedbackPercentandsellerFeedbackCount: seller checks; these fields can be null when the serving source does not publish thembidCount: bids placed so far, for auction listingsimage: the primary listing image URL
For a single listing record, the companion article covers inspecting an eBay listing offer record
The 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
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| One 25-result keyword search | calls x max price | $0.0655 per call | 1 call | $0.0655 |
| Weekly six-keyword refresh | calls x max price | $0.0655 per call | 6 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
Run the first search
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.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.