CompSniper agent skill for AI coding agents
Install the official CompSniper skill so Claude Code, Cursor, Codex, and other skill-aware agents call the sold-comps API correctly on the first try.
The CompSniper agent skill teaches an AI coding agent everything it needs to build with the CompSniper API: endpoints, parameters, response fields, error handling, retries, and billing rules. Install it once and your agent writes working sold-comps code without you pasting documentation into the chat.
The skill follows the open Agent Skills format (a SKILL.md file with a short description plus
reference files), so it works in any agent that supports skills.
Install with one command
Run this in your project or terminal:
npx skills add https://compsniper.comThe installer reads the public index at https://compsniper.com/.well-known/skills/index.json, downloads
the compsniper skill, and places it where your agent looks for skills.
Download the files
Prefer to install by hand? Download the skill files directly:
The skill has three files:
| File | What it contains |
|---|---|
SKILL.md | The core guide: GET /v1/scrape parameters and response, every other endpoint, error codes, and billing. |
references/api-reference.md | The full endpoint reference, the complete response field list, every marketplace's parameters, and plans and rate limits. |
references/examples.md | Worked examples in curl, JavaScript, and Python. |
Manual install for Claude Code
Claude Code loads skills from a folder named after the skill. Keep the same layout as the download:
~/.claude/skills/compsniper/
SKILL.md
references/
api-reference.md
examples.mdUse ~/.claude/skills/ to make the skill available in every project, or .claude/skills/ inside a
repository to share it with your team through version control. Start a new Claude Code session and the
agent picks up the skill automatically whenever you ask about sold prices, comps, or resale value.
For other agents, place the same compsniper folder in that agent's skills directory.
What the agent learns
- Authentication: every request sends
Authorization: Bearer cs_.... Create a key in the dashboard. - Sold search:
GET /v1/scrapeon 8 eBay sites withkeyword,ebaySite,sold(falsefor active listings),count(up to 240),relevance,sellerCountry,postalCode,seller(one eBay seller's listings, no keyword needed), filters and sorting, plus thesummaryblock (median, mean, p25, p75, min, max). Every sale has 28 fields. - Real Best Offer prices:
bestOfferPrice=trueaddsacceptedOfferPriceandacceptedOfferPriceStatus;/v1/best-offer-priceslooks up saved prices for free and gives still-pending sales a quick check. - 3-year history:
/v1/research/sold, up to 3 years of eBay sold history, 50 rows per page, with keyword tips that avoid empty results. - Item details and photo search:
/v1/items/details(and the batch for up to 50 listings) and/v1/scrape/image. - Trading and graded cards: TCGplayer (
/v1/tcgplayer/sold,/v1/tcgplayer/listings, withimageUrl), PSA (/v1/psa/search,/v1/psa/card,/v1/psa/sets,/v1/psa/set), Beckett cert lookup (/v1/beckett/cert: BGS, BVG and BCCG grade, subgrades and population) and the Goldin, Fanatics Collect, Pristine Auction and MySlabs auction results (/v1/goldin/sold,/v1/fanatics/sold,/v1/pristine/sold,/v1/myslabs/sold). - Resale marketplaces: Grailed (
/v1/grailed/sold,/v1/grailed/listings), Depop (/v1/depop/listings), Mercari US and Japan (/v1/mercari,marketplace=jpfor Japan) and Poshmark (/v1/poshmark/sold) with their own schemas. - Whatnot:
/v1/whatnot/listingsfor current Buy It Now listings and live-show auctions (current bid, bid count, show start time), card attributes, seller rating, one seller's shop withseller, and filter values infacets. - High volume: bulk search (
/v1/bulk-search) for up to 20 keywords, card batch (/v1/cards/batch) for up to 100 cards, Max Mode (/v1/scrape/max) for deeper research, and/v1/summaryfor the price summary without listing rows. - Account:
/v1/account/usagefor plan and quota, and/v1/account/requestsfor your own recent requests and failures. - Shipping Rates:
/v1/shipping/ratesfor US shipping estimates, a separate product with its own plan. - Errors and retries: which codes to retry (
rate_limited,upstream_blocked,server_busy) and which not to (quota_exceeded,invalid_params). See errors. - Billing: only successful searches are charged, and
X-Credit-Source: creditsspends purchased credits first, falling back to the monthly allowance when they run out. Plans run from 100 free requests a month (30 per minute) to 4,000,000 requests a month (600 per minute).
Skill or MCP connector?
Use the skill when an agent is writing code that calls the CompSniper API with your API key, for example a pricing script, a reseller dashboard, or an inventory tool.
Use the MCP connector when you want your AI assistant to look up sold prices for you in the
chat, with no code and no API key to manage. It covers recent sold comps and, with get_sold_history, up to 3
years of eBay sold history.
Many developers use both: the connector for quick research and the skill for building.
Try it
After installing, ask your agent something like:
Write a Python script that gets the median sold price of a Nintendo Switch OLED on eBay US
from the last 30 days using CompSniper.The agent reads the skill, calls GET /v1/scrape with the right parameters, and handles retries and
errors the way the API expects.
Install the CompSniper eBay MCP server
Connect CompSniper to Claude, Claude Code, Codex, ChatGPT, Cursor, VS Code, Windsurf, and other remote MCP clients.
Use CompSniper with ChatGPT, Claude or Cursor
A copy-paste setup prompt that teaches ChatGPT, Claude, Cursor or any AI assistant to build with the CompSniper sold-comps API, plus the agent skill and MCP options.