MCP server exposing 3 tools for swappa-prices.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/swappa-prices/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
search_device — Find Swappa device product slugs by free-text name (e.g. "iphone 15", "galaxy s24", "macbook air"). Returns matching products with their slug (needed by device_prices / recent_sales) and current starting price. Use this first when you don't already know the exact slug.device_prices — Current Swappa prices for a device: starting price, average price, and a breakdown table by variant (carrier/color/storage) with active-listing average and trade-in value. Accepts either a free-text device name (auto-resolved via search) or an exact slug from search_device.sale_prices — Average REALIZED SALE price (not list price) per storage/variant for a device, updated daily, plus a sample of individual recent sold listings with date, condition, carrier, storage and price. This is the "what did it actually sell for" answer, distinct from device_prices (active listing averages). Accepts free-text device name or exact slug.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/swappa-prices/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io