Batch jobs
Send up to 100 keywords to POST /scrape/batch and SellerComps runs an eBay sold search for each of them in the
background. You get a job id at once, then read the finished keywords while the rest are still running, and download
every sale of the job as one CSV file when it is done. Each keyword that succeeds uses one request; a keyword that
fails is free.
| At a glance | |
|---|---|
| Endpoints | POST /scrape/batch, GET /scrape/batch/{jobId}, GET /scrape/batch/{jobId}/download.csv |
| Keywords | 1 to 100 a job, each up to 300 characters |
| Options | Every sold search option, applied to every keyword |
| Cost | 1 request per keyword that succeeds. Failed keywords, reading the job and the CSV are free |
| One at a time | One running job per account: start the next when the last one is complete |
Start a job
curl -X POST "https://api.sellercomps.com/scrape/batch" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keywords":["nintendo switch oled","steam deck 512gb","ps5 slim"],"count":240,"clean":true}'The body is JSON. keywords is required; every other field is optional and applies to every keyword:
| Field | Values |
|---|---|
keywords | Array of 1 to 100 strings |
ebaySite, count, page, sold | As on sold listings |
sortOrder, itemCondition, conditionId, buyingFormat, itemLocation, categoryId | Filters |
minPrice, maxPrice, soldAfter, soldBefore | Price band and date range |
clean, bestOfferPrice | true for clean comps and Best Offer prices |
You get 202 Accepted with the job id straight away:
Example response6 lines, long lists cut to a few rowsReal answer, Nov 29, 2026
{
"jobId": "job_08-So32dtxEbB5lz",
"status": "queued",
"total": 3,
"resultsUrl": "/scrape/batch/job_08-So32dtxEbB5lz"
}The job is refused up front, with nothing counted, when:
- you have fewer requests left (this month’s plan requests plus extra requests) than
keywords in the job:
402 quota_exceeded; - another job of yours is still running:
409 conflict; - the body is not valid, has no keywords or more than 100:
400 invalid_params.
Read the results
curl "https://api.sellercomps.com/scrape/batch/job_7d1c0e9a5b3f4e21" \
-H "Authorization: Bearer YOUR_API_KEY"Free, as often as you like. Finished keywords show up while the others still run, so you can start using results early.
Example response305 lines, long lists cut to a few rowsReal answer, Nov 29, 2026
{
"jobId": "job_08-So32dtxEbB5lz",
"status": "complete",
"completed": 3,
"succeeded": 3,
"failed": 0,
"total": 3,
"ebaySite": "ebay.com",
"createdAt": "2026-11-29T06:37:30.306Z",
"finishedAt": "2026-11-29T06:37:34.273Z",
"downloadUrl": "/scrape/batch/job_08-So32dtxEbB5lz/download.csv",
"results": [
{
"keyword": "nintendo switch oled",
"status": "ok",
"count": 3,
"results": [
{
"url": "https://www.ebay.com/itm/327422329001?nordt=true",
"epid": null,
"title": "Nintendo Switch OLED Console - 64GB - White",
"itemId": "327422329001",
"endedAt": "2026-11-28",
"bidCount": null,
"condition": "Pre-Owned",
"scrapedAt": "2026-11-29T06:37:08.324188+00:00",
"soldPrice": "132.96",
"categoryId": null,
"sellerType": null,
"totalPrice": "245.47",
"conditionId": 3000,
"listingType": "sold",
"buyingFormat": "buyItNow",
"itemLocation": "Australia",
"shippingType": "paid",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/DVAAAeSw1MJqw5xa/s-l140.jpg",
"productRating": 4.5,
"shippingPrice": "112.51",
"sellerUsername": "powerup149",
"shippingCurrency": "USD",
"bestOfferAccepted": null,
"productReviewCount": 7,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/DVAAAeSw1MJqw5xa/s-l1600.jpg",
"sellerFeedbackScore": 127,
"sellerPositivePercent": 100
},
{
"url": "https://www.ebay.com/itm/267857649709?nordt=true",
"epid": null,
"title": "Nintendo Switch OLED Model Console System, White Joy-Con, HDMI Connectivity",
"itemId": "267857649709",
"endedAt": "2026-11-28",
"bidCount": null,
"condition": "Open Box",
"scrapedAt": "2026-11-29T06:37:08.324188+00:00",
"soldPrice": "180.00",
"categoryId": null,
"sellerType": null,
"totalPrice": "191.55",
"conditionId": 1500,
"listingType": "sold",
"buyingFormat": null,
"itemLocation": "United States",
"shippingType": "paid",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/QAEAAeSwBllrC6Iz/s-l140.jpg",
"productRating": null,
"shippingPrice": "11.55",
"sellerUsername": "willjame.cqntdc",
"shippingCurrency": "USD",
"bestOfferAccepted": true,
"productReviewCount": null,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/QAEAAeSwBllrC6Iz/s-l1600.jpg",
"sellerFeedbackScore": 45,
"sellerPositivePercent": 100
},
{
"url": "https://www.ebay.com/itm/287766635991?nordt=true",
"epid": null,
"title": "Nintendo Switch OLED Legend of Zelda Tears of the Kingdom Edition Console New",
"itemId": "287766635991",
"endedAt": "2026-11-28",
"bidCount": null,
"condition": "Brand New",
"scrapedAt": "2026-11-29T06:37:08.324188+00:00",
"soldPrice": "374.99",
"categoryId": null,
"sellerType": null,
"totalPrice": "388.95",
"conditionId": 1000,
"listingType": "sold",
"buyingFormat": null,
"itemLocation": "United States",
"shippingType": "paid",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/45QAAeSwT2hrCJal/s-l140.jpg",
"productRating": 5,
"shippingPrice": "13.96",
"sellerUsername": "leo.maxwell",
"shippingCurrency": "USD",
"bestOfferAccepted": true,
"productReviewCount": 33,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/45QAAeSwT2hrCJal/s-l1600.jpg",
"sellerFeedbackScore": 315,
"sellerPositivePercent": 100
}
]
},
{
"keyword": "steam deck 512gb",
"status": "ok",
"count": 3,
"results": [
{
"url": "https://www.ebay.com/itm/227580973995?nordt=true",
"epid": null,
"title": "VALVE STEAM DECK 7\" 1010 512GB HANDHELD GAMING CONSOLE- USED.",
"itemId": "227580973995",
"endedAt": "2026-11-28",
"bidCount": null,
"condition": "Pre-Owned",
"scrapedAt": "2026-11-29T06:37:31.590765+00:00",
"soldPrice": "480.00",
"categoryId": null,
"sellerType": null,
"totalPrice": "480.00",
"conditionId": 3000,
"listingType": "sold",
"buyingFormat": null,
"itemLocation": "United States",
"shippingType": "free",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/vL4AAeSwVJFq3AeT/s-l500.jpg",
"productRating": null,
"shippingPrice": "0",
"sellerUsername": "hilux808",
"shippingCurrency": null,
"bestOfferAccepted": true,
"productReviewCount": null,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/vL4AAeSwVJFq3AeT/s-l1600.jpg",
"sellerFeedbackScore": 4900,
"sellerPositivePercent": 99.9
},
{
"url": "https://www.ebay.com/itm/800949896202?nordt=true",
"epid": null,
"title": "Valve Steam Deck OLED 512GB Handheld System Black Wi-Fi USB-C for Steam",
"itemId": "800949896202",
"endedAt": "2026-11-28",
"bidCount": 53,
"condition": "Pre-Owned",
"scrapedAt": "2026-11-29T06:37:31.590765+00:00",
"soldPrice": "610.00",
"categoryId": null,
"sellerType": null,
"totalPrice": "623.96",
"conditionId": 3000,
"listingType": "sold",
"buyingFormat": "auction",
"itemLocation": "United States",
"shippingType": "paid",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/r~sAAeSwZHxrAnNF/s-l140.jpg",
"productRating": null,
"shippingPrice": "13.96",
"sellerUsername": "jjack_42",
"shippingCurrency": "USD",
"bestOfferAccepted": null,
"productReviewCount": null,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/r~sAAeSwZHxrAnNF/s-l1600.jpg",
"sellerFeedbackScore": 9,
"sellerPositivePercent": 100
},
{
"url": "https://www.ebay.com/itm/206515633464?nordt=true",
"epid": null,
"title": "Valve Steam Deck Black 512GB with Case, Charger And Dock, Brand New",
"itemId": "206515633464",
"endedAt": "2026-11-28",
"bidCount": null,
"condition": "Open Box",
"scrapedAt": "2026-11-29T06:37:31.590765+00:00",
"soldPrice": "650.00",
"categoryId": null,
"sellerType": null,
"totalPrice": "658.58",
"conditionId": 1500,
"listingType": "sold",
"buyingFormat": "buyItNow",
"itemLocation": "United States",
"shippingType": "paid",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/O5YAAeSwe-pqji1Y/s-l140.jpg",
"productRating": null,
"shippingPrice": "8.58",
"sellerUsername": "stetra_65",
"shippingCurrency": "USD",
"bestOfferAccepted": null,
"productReviewCount": null,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/O5YAAeSwe-pqji1Y/s-l1600.jpg",
"sellerFeedbackScore": 40,
"sellerPositivePercent": 100
}
]
},
{
"keyword": "ps5 slim",
"status": "ok",
"count": 3,
"results": [
{
"url": "https://www.ebay.com/itm/840174895307?nordt=true",
"epid": null,
"title": "Sony PlayStation 5 Slim with Disk Console with controller",
"itemId": "840174895307",
"endedAt": "2026-11-28",
"bidCount": null,
"condition": "Pre-Owned",
"scrapedAt": "2026-11-29T06:37:32.462818+00:00",
"soldPrice": "425.00",
"categoryId": null,
"sellerType": null,
"totalPrice": "521.39",
"conditionId": 3000,
"listingType": "sold",
"buyingFormat": null,
"itemLocation": "United States",
"shippingType": "paid",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/kFMAAeSwBGNrC7yF/s-l500.jpg",
"productRating": null,
"shippingPrice": "96.39",
"sellerUsername": "raynedi-72",
"shippingCurrency": "USD",
"bestOfferAccepted": true,
"productReviewCount": null,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/kFMAAeSwBGNrC7yF/s-l1600.jpg",
"sellerFeedbackScore": 1,
"sellerPositivePercent": 100
},
{
"url": "https://www.ebay.com/itm/407396646713?nordt=true",
"epid": null,
"title": "Sony PlayStation 5 PS5 Slim Digital Edition 1TB Console with Controller",
"itemId": "407396646713",
"endedAt": "2026-11-28",
"bidCount": null,
"condition": "Open Box",
"scrapedAt": "2026-11-29T06:37:32.462818+00:00",
"soldPrice": "699.99",
"categoryId": null,
"sellerType": null,
"totalPrice": "710.12",
"conditionId": 1500,
"listingType": "sold",
"buyingFormat": "buyItNow",
"itemLocation": "United States",
"shippingType": "paid",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/1N8AAeSwm4FrB0nQ/s-l500.jpg",
"productRating": null,
"shippingPrice": "10.13",
"sellerUsername": "montanasdeals",
"shippingCurrency": "USD",
"bestOfferAccepted": null,
"productReviewCount": null,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/1N8AAeSwm4FrB0nQ/s-l1600.jpg",
"sellerFeedbackScore": 104,
"sellerPositivePercent": 98.7
},
{
"url": "https://www.ebay.com/itm/137970020051?nordt=true",
"epid": null,
"title": "PS5 SLIM Digital Edition 825GB Console (BRAND NEW) Sealed - SHIPS FAST ✈️🟩",
"itemId": "137970020051",
"endedAt": "2026-11-28",
"bidCount": null,
"condition": "Brand New",
"scrapedAt": "2026-11-29T06:37:32.462818+00:00",
"soldPrice": "754.54",
"categoryId": null,
"sellerType": null,
"totalPrice": "1092.83",
"conditionId": 1000,
"listingType": "sold",
"buyingFormat": "buyItNow",
"itemLocation": "Canada",
"shippingType": "paid",
"soldCurrency": "USD",
"thumbnailUrl": "https://i.ebayimg.com/images/g/p18AAeSwkeRrCqWL/s-l140.jpg",
"productRating": null,
"shippingPrice": "338.29",
"sellerUsername": "kbvideogames",
"shippingCurrency": "USD",
"bestOfferAccepted": null,
"productReviewCount": null,
"fullResThumbnailUrl": "https://i.ebayimg.com/images/g/p18AAeSwkeRrCqWL/s-l1600.jpg",
"sellerFeedbackScore": 457,
"sellerPositivePercent": 100
}
]
}
]
}| Field | Meaning |
|---|---|
status | queued, running or complete |
total, completed, succeeded, failed | Progress: keywords in the job, finished, succeeded and failed |
createdAt, finishedAt | When the job started and finished |
downloadUrl | The CSV of every sale, once the job is complete |
results[].keyword, results[].status | One entry per finished keyword: ok or failed |
results[].count, results[].results | Sales found and the sales themselves, in the same fields as GET /scrape |
results[].error, results[].code | Why a keyword failed (not counted); run it again in a new job or with GET /scrape |
Keywords that hit a short eBay hiccup are retried for you before they are marked failed.
Download everything as CSV
One CSV file with every sale of the job and a keyword column, free. Asking before the job is complete answers
409 conflict with its current status.
curl -L "https://api.sellercomps.com/scrape/batch/job_7d1c0e9a5b3f4e21/download.csv" \
-H "Authorization: Bearer YOUR_API_KEY" -o batch.csvA complete run
import time, requests
API = "https://api.sellercomps.com"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}
keywords = [line.strip() for line in open("keywords.txt") if line.strip()][:100]
job = requests.post(f"{API}/scrape/batch", json={"keywords": keywords, "clean": True}, headers=HEADERS, timeout=30)
job.raise_for_status()
job_id = job.json()["jobId"]
while True:
data = requests.get(f"{API}/scrape/batch/{job_id}", headers=HEADERS, timeout=30).json()
print(f"{data['completed']}/{data['total']} done")
if data["status"] == "complete":
break
time.sleep(10)
for k in data["results"]:
prices = sorted(float(s["soldPrice"]) for s in k["results"])
median = prices[len(prices) // 2] if prices else None
print(k["keyword"], k["status"], len(prices), "sales, median", median)For more than 100 keywords, run jobs one after another. The bulk pricing guide walks through a list of a few thousand.
When to use batch, and when not
- Batch: a list of keywords you want priced the same way (inventory, a buylist, a nightly repricing run). You start one job and collect the results.
- Direct calls: a few keywords, different options per keyword, or other marketplaces (batch jobs search eBay).
Send
GET /scrapeorGET /soldcalls in parallel up to your plan’s speed.