Setup promptYour key is filled in after you create one
You are helping me use the SellerComps API: real sold prices and live listings from eBay (8 countries) and 16 more marketplaces, as JSON or CSV.
My API key: (create one at https://sellercomps.com/dashboard/keys)
Store it as the environment variable SELLERCOMPS_API_KEY and read it from there. Never put it in browser code, a public repository or a log.
Base URL: https://api.sellercomps.com
Auth header on every call: Authorization: Bearer $SELLERCOMPS_API_KEY
Read these first:
- Agent skill (endpoints, parameters, errors, billing): https://sellercomps.com/.well-known/skills/sellercomps/SKILL.md
- Full reference: https://sellercomps.com/.well-known/skills/sellercomps/references/api-reference.md
- All docs as plain text: https://sellercomps.com/llms-full.txt
- OpenAPI spec: https://sellercomps.com/openapi.json
If you can use MCP tools, connect the SellerComps MCP server instead of writing HTTP calls: https://sellercomps.com/mcp (Streamable HTTP; sign in with the SellerComps account, or send the key as Authorization: Bearer <key> or X-API-Key: <key>), or run it locally with npx sellercomps-mcp and the key in SELLERCOMPS_API_KEY. The old address https://mcp.sellercomps.com/mcp keeps working. Its tools: search_sold, search_active, search_ebay, search_history, search_by_photo, best_offer_prices, get_usage, list_requests, check_status, get_batch_job, tcgplayer_sold, tcgplayer_listings, psa_search, psa_card, psa_sets, psa_set_population, beckett_cert, stockx_search, stockx_product, stockx_sales, goat_search, goat_product, mercari_search, poshmark_sold, poshmark_listings, grailed_sold, grailed_listings, depop_listings, vinted_listings, vinted_item, whatnot_listings, cardhobby_sold, myslabs_sold, auction_house_sold.
Endpoints:
- GET /sold: Sold items from any marketplace in one row format. source is one of: ebay, tcgplayer, mercari, poshmark, grailed, stockx, psa, cardhobby, goldin, fanatics, pristine, myslabs. One request per success. Parameters: source, keyword, count / page, clean, bestOfferPrice, history, format / raw, (any other).
- GET /active: Listings for sale now on any marketplace in one row format. source is one of: ebay, tcgplayer, mercari, poshmark, grailed, stockx, goat, depop, whatnot, vinted. Parameters: source, keyword, count / page / format / raw.
- GET /scrape: eBay sold listings (up to 240 per call, newest first) in eBay's own field names, or active listings with sold=false. Parameters: keyword, ebaySite, count / page, soldAfter / soldBefore, itemCondition / conditionId, minPrice / maxPrice / buyingFormat / sortOrder / categoryId / itemLocation, clean, bestOfferPrice, format.
- GET /history: Up to 3 years of eBay sold history for a keyword (8 eBay sites, prices in USD), with eBay's totals for the whole date range (totalSold, averageSoldPrice, sellThroughPercent). Up to 50 listings per page, newest first. One request per page. Parameters: keyword, startDate / endDate, ebaySite, page / limit, sort, singleUnitOnly / allListingSites / relevance, clean / format.
- POST /scrape/image: Photo search: identifies the item in a photo, then returns its eBay sold comps. 2 requests on success, nothing on failure. Parameters: image, imageUrl, (any /scrape option).
- POST /scrape/batch: Up to 100 eBay keywords in one job. Each keyword that succeeds uses one request; failed keywords are free. Parameters: keywords, ebaySite, count, sold, soldAfter, clean, bestOfferPrice ....
- GET /scrape/batch/{jobId}: Status of a batch job and the keywords finished so far. Free; poll every few seconds until status is complete. Parameters: jobId.
- GET /scrape/batch/{jobId}/download.csv: Every sale of a batch job as one CSV file, with a keyword column. Free. Parameters: jobId.
- GET /best-offer-prices: Accepted Best Offer prices found for sales from earlier bestOfferPrice=true searches, by eBay item number. Free, 30 calls a minute. Ask again later for sales that were pending. Parameters: itemIds.
- GET /account/usage: Your plan, requests used and left this month, the rate limit and your extra requests (credits). Free.
- GET /account/requests: Your own requests from the last 30 days, successes and failures, newest first, each with via (mcp, dashboard or api). Free, 30 calls a minute. Parameters: limit, before, status.
- GET /status: Public health check of the API, the database and the data source. No key needed.
- GET /tcgplayer/sold: TCGplayer: Completed sales for one TCGplayer product, plus optional market price history. Parameters: keyword, productId, count, condition / variant / language, history, soldAfter / soldBefore.
- GET /tcgplayer/listings: TCGplayer: Active listings with price, shipping, condition and seller rating. Parameters: keyword or productId, condition / variant / language, page, count.
- GET /psa/search: PSA: Find a card and the PSA specId you use in the other calls. Parameters: keyword, count, page.
- GET /psa/card: PSA: Prices by grade, recent sales and the population report for one card. Parameters: specId, count, grade, timeRange, marketplace.
- GET /psa/sets: PSA: Every PSA set for a game, newest first, with the headingId for population calls. Parameters: game, keyword, year.
- GET /psa/set: PSA: The population of every card in a set, for every grade. Parameters: headingId, url.
- GET /beckett/cert: Beckett: The graded card behind a Beckett cert number, with subgrades and population. Parameters: cert, type, fresh.
- GET /myslabs/sold: MySlabs: Recent sold slabs on MySlabs that match a keyword. Parameters: keyword, sortBy, deep.
- GET /cardhobby/sold: CardHobby: Completed CardHobby sales from the last 12 months for a keyword. Parameters: keyword, count, page, sortBy, minPrice / maxPrice, details.
- GET /stockx/search: StockX: Products by keyword or style code with lowest ask, highest bid and recent sales counts. Parameters: keyword, styleId, market, page.
- GET /stockx/product: StockX: One product in full with the market for every size. Parameters: productId or styleId, size, market.
- GET /stockx/sales: StockX: The latest individual sales of a product or one size. Parameters: productId or styleId, size, count, soldAfter / soldBefore, priceHistory.
- GET /goat/search: GOAT: Products by keyword or style code with retail price and lowest asks. Parameters: keyword, styleId, page, count.
- GET /goat/product: GOAT: One product with prices for every size and condition. Parameters: productId or styleId, size, condition.
- GET /mercari: Mercari: Sold or active Mercari listings for a keyword, on Mercari US or Japan. Parameters: keyword, marketplace, sold, count, page, itemCondition.
- GET /poshmark/sold: Poshmark: Poshmark US sold listings for a keyword, 48 per page. Parameters: keyword, department, condition, brand, sortBy, enrich.
- GET /poshmark/listings: Poshmark: Poshmark US listings for sale now, 48 per page. Parameters: keyword, category, size, condition, sortBy.
- GET /grailed/sold: Grailed: Grailed sold listings with the price paid and shipping. Parameters: keyword, department, condition, minPrice / maxPrice, count.
- GET /grailed/listings: Grailed: Active Grailed listings with price, shipping and offers. Parameters: keyword, sortBy, count.
- GET /depop/listings: Depop: Current Depop listings for a keyword in one country. Parameters: keyword, country, count, cursor.
- GET /vinted/listings: Vinted: Active Vinted listings for a keyword in one market. Parameters: keyword, market, sortBy, condition, brandId / sizeId / categoryId, page.
- GET /vinted/item: Vinted: One Vinted listing in full, with status and seller details. Parameters: itemId, market.
- GET /whatnot/listings: Whatnot: Whatnot listings and live auctions for a keyword or one seller's shop. Parameters: keyword, format, seller, country, gradingService / grade, cursor.
- GET /goldin/sold: Goldin: Goldin sold lots that match a keyword. Parameters: keyword, sortBy, page.
- GET /fanatics/sold: Fanatics Collect: Fanatics Collect sales that match a keyword. Parameters: keyword, sortBy, page.
- GET /pristine/sold: Pristine: Ended Pristine Auction lots that match a keyword. Parameters: keyword, sortBy, page.
Rules:
- Keep keywords short: brand plus model, or card name plus set and number. Extra words remove matches.
- Every row of /sold and /active has the same fields: source, id, title, price, currency, shippingPrice, totalPrice, soldAt, listedAt, condition, format, bids, seller, brand, size, gradingService, grade, certNumber, url, imageUrl, acceptedPrice, acceptedPriceStatus. Missing values are null. summary has count, currency, median, mean, min and max.
- Only successful requests are counted. 400, 404, 429 and 5xx answers are free.
- On 429 or 503, wait for the Retry-After header, then retry a few times at most. Do not retry 400, 401 or 402.
- 402 means this month's requests and extra requests are used up (or a payment needs attention): stop and tell me.
- Every answer has an X-Request-ID header and every error body a requestId. Show it to me when a call fails, so I can quote it to support.
- Check what is left with GET /account/usage (free). Success answers carry X-Usage-Remaining, and X-Credits-Remaining when the account has extra requests.
Start with a short script that prints the median sold price and the number of sales for "nintendo switch oled" on eBay (GET /sold?source=ebay&keyword=nintendo switch oled&clean=true), then ask me what to build next.