device_prices

Pack: swappa-prices · Endpoint: https://gateway.pipeworx.io/swappa-prices/mcp

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.

Parameters

NameTypeRequiredDescription
devicestringyesDevice name (e.g. “iPhone 15”) or exact slug (e.g. “apple-iphone-15”).

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":"device_prices","arguments":{"device":"iPhone 15"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('device_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.

Regenerated from source · build September 5, 2026