sale_prices
Pack: swappa-prices · Endpoint: https://gateway.pipeworx.io/swappa-prices/mcp
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
device | string | yes | Device name (e.g. “iPhone 15”) or exact slug (e.g. “apple-iphone-15”). |
condition | string | no | Optional filter: new, mint, good, or fair. |
carrier | string | no | Optional carrier filter, e.g. “unlocked”, “att”, “verizon”, “t-mobile”. Varies by device. |
storage | string | no | Optional storage filter, e.g. “128gb”. Varies by device. |
Example call
Arguments
{
"device": "iPhone 15"
}
curl
curl -X POST https://gateway.pipeworx.io/swappa-prices/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sale_prices","arguments":{"device":"iPhone 15"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sale_prices', {
"device": "iPhone 15"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"swappa-prices": {
"url": "https://gateway.pipeworx.io/swappa-prices/mcp"
}
}
}
See Getting Started for client-specific install steps.