Single Device Lookup

GET /devices/{id} — look up a single device by identifier.

GET /devices/{id}

Look up a single device by identifier. All lookups are case-insensitive. Costs 1 credit.

Path parameter

NameTypeDescription
idstringDevice identifier (SKU, Apple model ID, or MDM identifier)

Example request

curl -H "X-API-Key: YOUR_API_KEY" \
  https://api.trusttrade.com/v1/devices/MBA-M2-256-8GB

Example response

{
  "deviceId": "MBA-M2-256-8GB",
  "displayName": "MacBook Air 13\" M2 256GB 8GB",
  "currentValuation": {
    "fair": 475,
    "good": 500,
    "excellent": 525
  },
  "msrp": 1199,
  "residualPct": 41.7,
  "valueTier": "Strong",
  "depreciation": {
    "trend": "decreasing",
    "projection": {
      "months": 12,
      "fair": 402,
      "good": 425,
      "excellent": 447
    },
    "refreshSignal": "hold",
    "confidence": "high"
  },
  "currency": "USD",
  "confidence": "high",
  "validUntil": "2026-03-30T09:00:00Z"
}

Caching

Responses include Cache-Control: public, max-age=86400 (24 hours). Pricing data is refreshed daily.

Errors

StatusCodeDescription
401unauthorized / invalid_api_keyMissing or invalid API key
402insufficient_creditsNo credits remaining
404not_foundDevice not in catalog
429rate_limitedRate limit exceeded
503service_unavailablePricing data temporarily unavailable

See response fields for a detailed breakdown of each field.