CompSniper
categoryId reference

eBay category IDs,
ready to use.

Every eBay listing sits in a category, and each category has a numeric ID (eBay calls it _sacat). Pass one as the categoryId parameter on any search and CompSniper narrows your sold comps to just that department. Search the common IDs below, or read on to see how they plug into /v1/scrape.

Why category IDs matter

Filter noise before
it hits your results

A keyword like “apple” returns fruit, stickers, and iPhones all at once. Scope the same search to a category ID and you get only the sold comps you actually care about, so your average and price range stay accurate.

One number, cleaner comps
Add categoryId=175672 and results are limited to graphics cards, no matter what else the keyword matches.
17,000+ IDs across every department
The list below covers the most-searched categories. Set categoryId=0 (the default) to search every category at once.
Auto-detected when you skip it
Leave it off and eBay picks the best-fit category for your keyword. We return its id and name in autoSelectedCategory so you can reuse it.
Scope a keyword search
Terminal
curl -H "Authorization: Bearer cs_YOUR_KEY_HERE" \
  "https://api.compsniper.com/v1/scrape?keyword=graphics+card&categoryId=175672&count=50"
Or browse a category with no keyword
Terminal
curl -H "Authorization: Bearer cs_YOUR_KEY_HERE" \
  "https://api.compsniper.com/v1/scrape/category?categoryId=19006&count=50"
Auto-selected category in the response
Response · JSON
{
  "keyword": "rtx 4090",
  "page": 1,
  "totalItems": 50,
  "totalResults": "3,400+",
  "hasNextPage": true,
  "autoSelectedCategory": {
    "id": "175672",
    "name": "Computer Graphics & Video Cards"
  },
  "items": [ ... ]
}
Common categories

Find your category ID

Search by name or number, or filter by department. Copy any ID and drop it straight into the categoryId parameter. This is a representative slice of the tree, not the full 17,000+.

44 of 44 shown

Category IDCategory nameDepartmentCopy
9355Cell Phones & Smartphones Electronics
175672Computer Graphics & Video Cards Electronics
177Desktops & All-In-Ones Electronics
177709Laptops & Netbooks Electronics
171485Apple Laptops Electronics
171961Solid State Drives (SSDs) Electronics
112529Headphones Electronics
171957Computer Processors (CPUs) Electronics
11071Home Audio Amplifiers & Preamps Electronics
1249Video Game Consoles Video Games
139973Video Games Video Games
182982Video Game Accessories Video Games
261328CCG Individual Trading Cards Trading Cards
183454Pokemon Individual Cards Trading Cards
213Sports Trading Card Singles Trading Cards
261068Non-Sport Trading Card Singles Trading Cards
19006LEGO Sets & Packs Toys & Hobbies
246Action Figures & Accessories Toys & Hobbies
2536Model Railroads & Trains Toys & Hobbies
222Diecast & Toy Vehicles Toys & Hobbies
15709Athletic Shoes Fashion
57988Men's Coats & Jackets Fashion
63861Women's Handbags & Bags Fashion
3034Men's T-Shirts Fashion
31387Wristwatches Jewelry & Watches
10968Fine Rings Jewelry & Watches
262013Watch Parts, Tools & Guides Jewelry & Watches
27386Corded & Cordless Drills Tools
42311Power Saws & Blades Tools
20762Hand Tool Sets Tools
20710Small Kitchen Appliances Home & Garden
20697Vacuum Cleaners Home & Garden
159907Power & Hand Tool Batteries Home & Garden
31388Digital Cameras Cameras & Photo
3323Camera Lenses & Filters Cameras & Photo
15200Drones & Quadcopters Cameras & Photo
33034Electric Guitars Musical Instruments
38072Synthesizers & Sound Modules Musical Instruments
6028Motorcycles Motors
33559Car & Truck Wheels & Tires Motors
7294Golf Clubs & Equipment Sporting Goods
177831Cycling Bikes Sporting Goods
11116Coins & Paper Money Coins & Money
63Comic Books & Memorabilia Collectibles
Working with IDs

A few things worth knowing

0 means all categories

The categoryId parameter defaults to 0, which searches across every eBay category. Only narrow it when a keyword pulls in the wrong departments.

Not sure which ID to use?

Run the search without categoryId first, then read autoSelectedCategory from the response and reuse that ID on future calls for consistent results.

Stack it with other filters

Combine categoryId with minPrice, itemCondition, and ebaySite to zero in on exactly the comps you need.

Point a category ID at real sold data

100 free requests every month. No credit card. Add a categoryId and start pulling clean comps in minutes.