CompSniper
Migration guide

findCompletedItems replacement: a field-by-field migration guide

eBay decommissioned the Finding API, including findCompletedItems, on February 4, 2025. CompSniper GET /v1/scrape is a working replacement: up to 240 sold items per request answered in one call (no job to poll), a median and price range in every response, the real accepted Best Offer price, up to 3 years of history through /v1/research/sold, and no eBay App ID. It takes the same keyword, category, condition, price and date filters, and the drop-in adapter below returns rows in the old findCompletedItems shape.
By Marc AndrewUpdated 8 minute read

What happened to findCompletedItems

For years, findCompletedItems in eBay's Finding API was how developers got sold and completed listings. eBay decommissioned the whole Finding API on February 4, 2025. The Browse API that replaced it for search returns items currently for sale only, and Marketplace Insights, the one official API with sold items, is a Limited Release that is not accepting new developers (see our Marketplace Insights API alternative). The full history is in does eBay have a sold listings API?

This guide is the practical part: what to change in your code, filter by filter and field by field.

Migrate in 4 steps

  1. Get a free key at compsniper.com/signup (100 requests a month, no credit card) and store it as COMPSNIPER_API_KEY.
  2. Rename the inputs: keywords becomes keyword, GLOBAL-ID becomes ebaySite, and the itemFilter values become plain parameters (full table below).
  3. Call GET https://api.compsniper.com/v1/scrape with sold=true and the header Authorization: Bearer cs_... instead of the Finding API URL and App ID.
  4. Read items[] (soldPrice, endedAt, condition, shippingPrice, seller) and summary instead of searchResult.item[], or drop in the adapter below.

Building with ChatGPT, Claude or Cursor? Paste this

This is the same setup prompt CompSniper shows in the dashboard. Paste it into your assistant, then ask it to migrate your findCompletedItems code. It never contains your key: the assistant reads it from COMPSNIPER_API_KEY. The Open buttons start a chat with a short version that points to the same instructions.

You are helping me build with the CompSniper API, which returns real completed (sold) eBay listings and other marketplace data as JSON.

Read these before writing code:
- Agent skill (endpoints, parameters, errors, billing): https://compsniper.com/.well-known/skills/compsniper/SKILL.md
- Full reference: https://compsniper.com/.well-known/skills/compsniper/references/api-reference.md
- All docs as plain text: https://compsniper.com/llms.txt

Rules:
- Base URL: https://api.compsniper.com
- Auth: send the header "Authorization: Bearer <key>". Read the key from the COMPSNIPER_API_KEY environment variable. Never hardcode it, print it, or put it in browser code.
- eBay sold comps: GET /v1/scrape?keyword=...&ebaySite=ebay.com (8 sites: ebay.com, .co.uk, .de, .fr, .it, .es, .ca, .com.au). Up to 240 sales per call with a summary (median, mean, p25, p75). sold=false returns active listings. relevance=true (default) removes accessories, parts and wrong models; relevance=false returns eBay's raw results. bestOfferPrice=true adds acceptedOfferPrice, the real price paid on accepted Best Offer sales (bestOfferWait=true waits for the lookup on accounts with dedicated Best Offer capacity). Optional sellerCountry and postalCode. seller=<eBay username> returns only that seller's listings, and keyword is optional with it (GET /v1/scrape?seller=sevenpark = the seller's recent sold listings).
- 3-year history: GET /v1/research/sold (keyword, startDate and endDate required, 50 rows per page, follow nextPage).
- One listing: GET /v1/items/details?itemId=... (condition, item specifics, description, seller, images, status); POST /v1/items/details/batch for up to 50 item IDs.
- Photo search: POST /v1/scrape/image with a photo identifies the item and returns its sold comps.
- Saved Best Offer prices: GET /v1/best-offer-prices?itemIds=... (free, up to 100 IDs from earlier bestOfferPrice=true searches; sales still pending get a quick check first).
- TCGplayer: GET /v1/tcgplayer/sold and /v1/tcgplayer/listings take a product name or productId (never a pasted eBay title); every product, sale and listing has imageUrl.
- PSA graded cards: GET /v1/psa/search (find the specId), /v1/psa/card (prices by grade, recent sales, population), /v1/psa/sets and /v1/psa/set (population of a whole set).
- Beckett graded cards: GET /v1/beckett/cert?cert=<number>&type=BGS|BVG|BCCG (final grade, centering/corners/edges/surface subgrades, label, card, date graded, population at the grade and higher; unknown cert = 404 not_found).
- Fashion resale: GET /v1/grailed/sold and /v1/grailed/listings, GET /v1/depop/listings (country us, gb, au or ca), GET /v1/poshmark/sold, GET /v1/mercari (sold=true or false; marketplace=jp searches Japanese Mercari, prices in JPY with listedAt and soldAt).
- Whatnot: GET /v1/whatnot/listings (current Buy It Now listings and live-show auctions with current bid and bid count; format all, buy_it_now or auction; filters for country, category, price, seller rating, grading service, grade, set, cert number and more; seller=<username> searches one shop; facets list the exact filter values).
- Vinted: GET /v1/vinted/listings (current Vinted listings; market us (default), uk, fr, de, it, es, nl, pl and the other EU markets; filters minPrice, maxPrice, condition new_with_tags,new_without_tags,very_good,good,satisfactory, brandId, sizeId, categoryId; sortBy relevance, newest, price_asc, price_desc; 96 per page, up to 10 pages) and GET /v1/vinted/item?itemId=<id or URL> (description, every photo, status active/reserved/sold/hidden, brand, size, condition, colour, category, upload time, seller). Vinted has no public sold prices.
- CardHobby (Chinese card marketplace): GET /v1/cardhobby/sold (sold sports cards and trading cards from the last 12 months; final price in CNY with CardHobby's USD value in priceUsd, start price, auction or fixed_price, bids, endedAt, seller shop and region, photo, shipping; sortBy newest, oldest, price_desc or price_asc; minPrice/maxPrice in CNY; up to 60 per page; details=true adds grader, grade, cert number, year, set, player and every photo, up to 20 per page; titles are mostly Chinese with English player, set and grade words).
- Graded card auctions: GET /v1/goldin/sold, /v1/fanatics/sold, /v1/pristine/sold and /v1/myslabs/sold return auction results by keyword (price with buyer's premium, sale date, sale type, grade).
- Keep keywords short: brand plus model, or card name plus set and number. Extra words remove matches.
- On 429 or 503, wait for the Retry-After header and retry a bounded number of times. Do not retry 400 or quota_exceeded. Failed requests are not charged.

Start with a short script that prints the median sold price and sample size for "nintendo switch oled", then ask me what to build next.

More options, including the hosted MCP server and the agent skill, are in AI assistants.

Before and after

# Before: eBay Finding API (decommissioned February 4, 2025). This call now fails.
import requests

params = {
    "OPERATION-NAME": "findCompletedItems",
    "SERVICE-VERSION": "1.13.0",
    "SECURITY-APPNAME": "YOUR-APP-ID",
    "RESPONSE-DATA-FORMAT": "JSON",
    "GLOBAL-ID": "EBAY-US",
    "keywords": "nintendo switch oled",
    "itemFilter(0).name": "SoldItemsOnly",
    "itemFilter(0).value": "true",
    "sortOrder": "EndTimeSoonest",
    "paginationInput.entriesPerPage": "100",
}
r = requests.get("https://svcs.ebay.com/services/search/FindingService/v1", params=params)

Create a free key at compsniper.com/signup (100 requests a month, no credit card) and set it as COMPSNIPER_API_KEY. No eBay developer account, App ID or OAuth flow is needed.

Request filters: old to new

findCompletedItemsCompSniper /v1/scrapeNotes
keywordskeywordSame search text. eBay matching rules apply as before.
categoryIdcategoryIdSame eBay category IDs.
GLOBAL-ID (EBAY-US, EBAY-GB, EBAY-DE, EBAY-FR, EBAY-IT, EBAY-ES, EBAY-ENCA, EBAY-AU)ebaySite (ebay.com, ebay.co.uk, ebay.de, ebay.fr, ebay.it, ebay.es, ebay.ca, ebay.com.au)Marketplace IDs such as EBAY_GB are also accepted.
itemFilter SoldItemsOnly=truesold=true (the default)Every row is a completed sale. Use sold=false for active listings.
itemFilter ConditionitemCondition=new|used or conditionIdconditionId takes eBay's numeric condition IDs (1000, 3000 and so on).
itemFilter MinPrice / MaxPriceminPrice / maxPriceIn the marketplace's currency.
itemFilter ListingType (Auction, FixedPrice)buyingFormat=auction|buyItNow|acceptsOffers
itemFilter LocatedInitemLocation=domestic|worldwideNearest equivalent: domestic keeps sellers in the marketplace's country.
itemFilter EndTimeFrom / EndTimeTosoldAfter / soldBeforeDates as YYYY-MM-DD.
sortOrder EndTimeSoonestsortOrder=endedRecentlyNewest sales first.
sortOrder PricePlusShippingLowest / HighestsortOrder=pricePlusPostageLowest / pricePlusPostageHighest
sortOrder StartTimeNewestsortOrder=timeNewlyListed
paginationInput.entriesPerPage (max 100)count (max 240)Up to 240 sold listings per request, billed as one request.
paginationInput.pageNumberpageRead hasNextPage in the response.
outputSelector SellerInfoAlways includedSeller name, feedback score and positive percent on every row.
SECURITY-APPNAME (App ID)Authorization: Bearer cs_...A key from the dashboard. No eBay developer account or approval.

Invalid values (an unknown sortOrder, a malformed date) return 400 invalid_params with a message naming the parameter. Every parameter is in the API reference.

Response fields: old to new

findCompletedItemsCompSniper
searchResult.item[]items[]
itemIditemId
titletitle
viewItemURLurl
galleryURLthumbnailUrl (fullResThumbnailUrl for a larger image)
primaryCategory.categoryIdcategoryId
sellingStatus.currentPricesoldPrice + soldCurrency (string amount, marketplace currency)
sellingStatus.sellingState = EndedWithSalesNot needed: every sold row is a completed sale
sellingStatus.bidCountbidCount
shippingInfo.shippingServiceCostshippingPrice + shippingCurrency
shippingInfo.shippingTypeshippingType
listingInfo.endTimeendedAt
listingInfo.listingTypelistingType and buyingFormat
listingInfo.bestOfferEnabledbestOfferAccepted (the offer was accepted, not just enabled) and, with bestOfferPrice=true, acceptedOfferPrice
condition.conditionId / conditionDisplayNameconditionId / condition
sellerInfo.sellerUserNamesellerUsername
sellerInfo.feedbackScore / positiveFeedbackPercentsellerFeedbackScore / sellerPositivePercent
location / countryitemLocation
productId (ePID)epid (usually null on sold results)
paginationOutput.totalEntriestotalItems, with hasNextPage
(none)summary: median, p25, p75, mean, min, max and average shipping, calculated for you

Prices are strings in the marketplace's own currency, so an ebay.co.uk search returns GBP and an ebay.de search returns EUR. There is no converted-currency field; convert in your own code if you need one currency.

Keep old code running with a drop-in adapter

If your code reads item["sellingStatus"]["currentPrice"] all over the place, wrap the new call so it returns the old shape. This adapter also asks for real Best Offer prices and puts the price the buyer actually paid into currentPrice when it is known:

Python adapter
# Drop-in adapter: returns rows shaped like findCompletedItems items,
# so code that read item["sellingStatus"]["currentPrice"] keeps working.
import os
import requests

SITES = {"EBAY-US": "ebay.com", "EBAY-GB": "ebay.co.uk", "EBAY-DE": "ebay.de",
         "EBAY-FR": "ebay.fr", "EBAY-IT": "ebay.it", "EBAY-ES": "ebay.es",
         "EBAY-ENCA": "ebay.ca", "EBAY-AU": "ebay.com.au"}

def find_completed_items(keywords, global_id="EBAY-US", page=1, **filters):
    r = requests.get(
        "https://api.compsniper.com/v1/scrape",
        headers={"Authorization": f"Bearer {os.environ['COMPSNIPER_API_KEY']}"},
        params={"keyword": keywords, "ebaySite": SITES[global_id], "sold": "true",
                "count": 240, "page": page, "bestOfferPrice": "true", **filters},
        timeout=90,
    )
    r.raise_for_status()
    data = r.json()
    items = []
    for row in data["items"]:
        paid = row.get("acceptedOfferPrice") or row["soldPrice"]
        items.append({
            "itemId": row["itemId"],
            "title": row["title"],
            "viewItemURL": row["url"],
            "galleryURL": row.get("thumbnailUrl"),
            "primaryCategory": {"categoryId": row.get("categoryId")},
            "sellingStatus": {
                "currentPrice": {"value": paid, "currencyId": row["soldCurrency"]},
                "sellingState": "EndedWithSales",
                "bidCount": row.get("bidCount"),
            },
            "shippingInfo": {"shippingServiceCost": {"value": row.get("shippingPrice"),
                                                     "currencyId": row.get("shippingCurrency")}},
            "listingInfo": {"endTime": row.get("endedAt"),
                            "listingType": row.get("listingType"),
                            "bestOfferAccepted": row.get("bestOfferAccepted")},
            "condition": {"conditionId": row.get("conditionId"),
                          "conditionDisplayName": row.get("condition")},
            "sellerInfo": {"sellerUserName": row.get("sellerUsername"),
                           "feedbackScore": row.get("sellerFeedbackScore"),
                           "positiveFeedbackPercent": row.get("sellerPositivePercent")},
        })
    return {"items": items, "hasNextPage": data.get("hasNextPage"), "summary": data.get("summary")}

Prefer the native response for new code: it is flatter and includes the calculated summary. The JavaScript and TypeScript guide shows the same call in Node.

What you gain over findCompletedItems

  • 240 sold items per request instead of 100, billed as one request.
  • Real Best Offer prices. findCompletedItems only told you an offer was possible. bestOfferPrice=true returns acceptedOfferPrice, what the buyer actually paid, on US-dollar sales at no extra cost. See accepted Best Offer prices.
  • 3 years of history. GET /v1/research/sold goes back up to 3 years, on every plan including free.
  • A price summary in every response: median, 25th to 75th percentile, mean, min, max and average shipping.
  • Optional AI cleanup that removes accessories, parts and wrong models before the median, or relevance=false for eBay's results exactly as listed.
  • Beyond 240: Max Mode pages deeper with a CSV download, and bulk search runs up to 20 keywords at once.
Same window, plus more
The standard sold search covers eBay's recent sold window of about 90 days, like findCompletedItems did. Reach for /v1/research/sold when you need older sales.

Migration checklist

  1. Create a key and store it server-side as COMPSNIPER_API_KEY.
  2. Replace the Finding API URL and App ID with GET /v1/scrape and the Authorization header.
  3. Map your itemFilter values using the request table above. Set ebaySite on every call.
  4. Read items[] and hasNextPage, or drop in the adapter.
  5. Retry 429 and 503 with backoff. Failed requests are not charged. See the error guide.
  6. Cache per keyword for a day; sold prices change daily, not every second.
  7. Optional: add bestOfferPrice=true and switch long-range reports to /v1/research/sold.

findCompletedItems migration questions

What replaced findCompletedItems?

Nothing official that new developers can use for sold data. eBay decommissioned the Finding API, findCompletedItems included, on February 4, 2025. Its successor for search, the Browse API, returns active listings only, and Marketplace Insights, the one official API with sold items, is a Limited Release closed to new developers. CompSniper GET /v1/scrape is a working replacement: up to 240 sold items per request in one call, a median and price range in every response, real accepted Best Offer prices and up to 3 years of history through GET /v1/research/sold, with no eBay App ID.

Can I get findCompletedItems data from the Browse API?

No. The Browse API returns items currently for sale only. It has no sold or completed filter, so it cannot return the sold prices and end dates findCompletedItems returned. For sold listings use a sold listings API such as CompSniper GET /v1/scrape with sold=true.

Do I need an eBay App ID or developer account?

No. CompSniper uses its own API key, sent as Authorization: Bearer cs_..., from a free account. No eBay App ID, developer account, OAuth flow or eBay approval is needed.

Does findCompletedItems still work?

No. findCompletedItems was part of eBay's Finding API, which eBay decommissioned on February 4, 2025. Calls to it now fail, and eBay's Browse API, its official successor for search, returns active listings only.

What is the official replacement for findCompletedItems?

eBay's Marketplace Insights API returns sold items from the last 90 days, but it is a Limited Release that is not open to new developers. Most teams replace findCompletedItems with a third-party sold listings API that works without eBay approval.

How do I migrate findCompletedItems code to CompSniper?

Swap the Finding API call for GET /v1/scrape with your API key, map keywords to keyword, GLOBAL-ID to ebaySite, the sold, condition, price and end-time item filters to sold, itemCondition, minPrice, maxPrice, soldAfter and soldBefore, and read items[] instead of searchResult.item[]. The adapter on this page returns rows in the old shape so existing code keeps working.

Does the replacement return more than findCompletedItems did?

Yes. Up to 240 sold items per request against 100, a calculated median and price range in every response, the real accepted price on Best Offer sales with bestOfferPrice=true, and up to 3 years of sold history on /v1/research/sold, on every plan including free.

How far back does it go?

Like findCompletedItems, the standard sold search covers eBay's recent sold window of about 90 days. For older sales, GET /v1/research/sold returns up to 3 years of eBay sold history with the same key.

Is it free?

There is a free plan with 100 requests a month and no credit card. Paid plans start at $9 a month for 2,000 requests. Each request returns up to 240 sold listings and failed requests are not charged.

eBay API status and CompSniper parameters checked November 19, 2026. First published October 14, 2026.

Replace findCompletedItems today

One REST call, up to 240 sold items as JSON, 8 eBay marketplaces, 3-year history and real Best Offer prices. 100 free requests a month.