---
title: "Sam Smith (@compsapi) | Hashnode"
description: "I build CompsAPI, an API for eBay sold prices, and write up what the data shows. Read the latest articles by Sam Smith on Hashnode."
url: "https://hashnode.com/@compsapi"
---

@compsapi

# Sam Smith

@compsapi · United States · Joined October 2026

I build CompsAPI, an API for eBay sold prices, and write up what the data shows.

### [Build a pricing function that says "not enough data" when it should (Node.js)](https://compsapi.hashnode.dev/build-a-pricing-function-that-says-not-enough-data-when-it-should-node-js?utm_source=hashnode&utm_medium=feed)

A small function that widens the date window before it loosens the query, and returns a price, a range, a direction or no data

6 min read · [compsapi.hashnode.dev](https://compsapi.hashnode.dev/build-a-pricing-function-that-says-not-enough-data-when-it-should-node-js?utm_source=hashnode&utm_medium=feed)

[14h ago](https://hashnode.com/posts/build-a-pricing-function-that-says-not-enough-data-when-it-should-node-js/6b001fb7ce87604cd1d9776d)

### [Build a 2-year eBay price history in Node.js, one window per month](https://compsapi.hashnode.dev/build-a-2-year-ebay-price-history-in-node-js-one-window-per-month?utm_source=hashnode&utm_medium=feed)

A small Node.js script that turns CompsAPI's start and end windows into a monthly median sold price, with the sales count next to each number

6 min read · [compsapi.hashnode.dev](https://compsapi.hashnode.dev/build-a-2-year-ebay-price-history-in-node-js-one-window-per-month?utm_source=hashnode&utm_medium=feed)

[1d ago](https://hashnode.com/posts/build-a-2-year-ebay-price-history-in-node-js-one-window-per-month/6aff5a75426d58ae458bfd7a)

### [Give Claude and Cursor real eBay sold prices with one MCP config](https://compsapi.hashnode.dev/give-claude-and-cursor-real-ebay-sold-prices-with-one-mcp-config?utm_source=hashnode&utm_medium=feed)

A hosted MCP server, a six-line config, and what to ask once it's connected

4 min read · [compsapi.hashnode.dev](https://compsapi.hashnode.dev/give-claude-and-cursor-real-ebay-sold-prices-with-one-mcp-config?utm_source=hashnode&utm_medium=feed)

[1d ago](https://hashnode.com/posts/give-claude-and-cursor-real-ebay-sold-prices-with-one-mcp-config/6afef41e51efc0e5397ef083)
