Commerce5 min readBy Purrkey teamUpdated

How to research eBay sold prices for a keyword

Pull recent eBay sold listings for a keyword with price, date, condition, seller and URL evidence, then set a resale price from the table

On this page

You need 30 recently sold iPhone 13 Pro listings to estimate a defensible asking price and decide which bundle to buy

The table below is the deliverable: one row per sold listing with the price, date, condition, seller and URL evidence, plus a net after fees column for your own fee assumption. No run has been executed for this guide, so the table design uses placeholders

Build the 30-row sold listing table

Plan a 30-row worksheet with these columns: title, soldPrice, soldCurrency, soldUtc, condition, shippingCost, sellerUsername, sellerFeedbackPercent, url and estimated net after fees. Values here are placeholders showing the shape

titlesoldPricesoldCurrencysoldUtcconditionshippingCostsellerUsernamesellerFeedbackPercenturlestimated net after fees
(listing title)(number)(currency code)(epoch seconds)(condition)(shipping string)(seller name)(percent)(listing URL)(your fee assumption)

The net after fees column is yours to calculate; the tool output does not include a fee rate. Use the url cell as the evidence link for each row and keep the 30 rows in the date order you choose

Input fields and filters

anyapi.ebay.sold_listings takes a required query and optional condition, categoryId, minPrice, maxPrice, startDate, endDate, listingType, sort, limit and page. site is fixed to ebay.com; the Agents call it through POST /v1/runs with toolId anyapi.ebay.sold_listings. Example query: canon eos r50; replace it with iphone 13 pro for the task above

Dates use the YYYY-MM-DD format and apply inclusively at the startDate and endDate bounds. Get categoryId from eBay category pages or the contract examples; the contract names 9355 for Cell Phones & Smartphones and 9394 for Cell Phone Accessories. limit accepts 1 to 60 and defaults to 25, and limit sets the page size, so keep query, filters and limit unchanged while paging. Omitted sort means ended_recently, and listingType can restrict to auction or buy_it_now. The contract also says seller is not supported by the current sources: a request that sets it is refused without charge

Read the output fields that set the price

data.items holds the sold listing records, data.hasMore tells you whether another page exists, and data is null when the call has no result. A found value of false is a successful call, not an error; when found is false, reason is not_found. soldPrice is the final sold price in the site currency; when the source marks a sale as an accepted offer, soldPrice is the listing's asking price because eBay does not publish the accepted offer amount

shippingCost is a string such as $5.55; $0 means no shipping charge. soldUtc is UTC epoch seconds, so multiply by 1000 for a JS Date. Use sellerFeedbackPercent and sellerFeedbackCount to judge seller quality, condition to keep the condition filter honest, and url as the canonical listing link for evidence. For the listing offer record behind a sale, see the companion article

Page through with the endDate caveat

Start with page 1 and limit 10 for a first page of up to 10 records. To reach 30 listings, walk pages until you have 30 rows or hasMore is false. The endDate limit sits at this step: with endDate set, a page can hold fewer than limit listings, or none, while hasMore is still true; keep requesting page + 1 until hasMore is false

The agent prompt

Example prompt with invented price bounds and dates; replace them with your own

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to pull sold eBay listings for the keyword "iphone 13 pro". Check the current inputs and price of anyapi.ebay.sold_listings before running anything. Start with condition "used", categoryId "9355", minPrice 200, maxPrice 600, startDate "2026-09-01", endDate "2026-09-30", limit 10, page 1, sort "ended_recently". Keep query, filters and limit the same while walking pages. Continue with page + 1 until hasMore is false, including when a page is short or empty because endDate is set. Stop after 30 rows or when hasMore is false. Return a table with title, soldPrice, soldCurrency, soldUtc, condition, shippingCost, sellerUsername, sellerFeedbackPercent, url and estimated net after fees. Use url as the evidence link. Leave the net after fees column for my fee assumption and do not invent a fee rate. Do not buy anything.

Estimated tool cost

Prices from the Purrkey catalog, read November 13, 2026, price revision anyapi-catalog-2026-11-05. anyapi.ebay.sold_listings is listed as max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The totals below are ceilings, not settled charges. Model fees for the agent are not counted

StepFormulaUnit pricePlanned quantityTotal
One page at limit 10calls x max price$0.0135 per call1$0.0135
30 rows at limit 10calls x max price$0.0135 per call3$0.0405
Five pages for 50 sold listingscalls x max price$0.0135 per call5$0.0675

With endDate set, short or empty pages can add calls, so the 30-row plan is a minimum call count for rows, not a cap on calls. The one-page row gives up to 10 rows; the five-page row gives up to 50 rows

Next step

Open the eBay sold listings tool to run the first page with your own keyword

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 research eBay sold prices for an iPhone 13 Pro?

Use anyapi.ebay.sold_listings with query set to iphone 13 pro, then filter by condition, minPrice, maxPrice, startDate and endDate and read soldPrice, shippingCost, soldUtc, sellerFeedbackPercent and url from the rows.

What inputs does anyapi.ebay.sold_listings take?

query is required. Optional inputs include condition, categoryId, minPrice, maxPrice, startDate, endDate, listingType, sort, limit and page, and site is fixed to ebay.com.

Why can a page be empty while hasMore is true?

With endDate set, the date bound is applied to each page after it is fetched, so a page can hold fewer than limit listings, or none, while hasMore is still true. Keep requesting page + 1 until hasMore is false.

What does soldPrice mean when a sale is an accepted offer?

When the source marks a sale as an accepted offer, soldPrice is the listing's asking price because eBay does not publish the accepted offer amount.

How much does a sold listings search cost?

One page at limit 10 is 1 call at most $0.0135; five pages for 50 sold listings is 5 calls at most $0.0675.

Can I filter by seller?

The contract says seller is not supported by the current sources: a request that sets it is refused without charge.

What does a found value of false mean?

A found value of false is a successful call, not an error. reason is not_found in that case.

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