Value My Stack

Value My Stack API

A read-only personal API for Premium members: pull your stack’s live value into Google Sheets, Excel, Home Assistant or your own scripts.

Authentication

Create a token in your account and send it as a bearer token. Tokens can be revoked at any time.

Authorization: Bearer vms_…

GET /api/v1/stack

Your stack valued now. Optional ?currency=USD|GBP|EUR (defaults to your account currency). Limit: 30 requests a minute.

curl -H "Authorization: Bearer vms_…" https://valuemystack.com/api/v1/stack?currency=USD

Example response

{
  "currency": "GBP",
  "asOf": "2026-12-06T09:00:00.000Z",
  "spot": { "gold": 3480.12, "silver": 57.80, "platinum": 1485.20, "palladium": 1185.00 },
  "totals": { "marketValue": 12450.10, "meltValue": 11020.55, "cost": 9800.00, "gain": 2650.10, "valuedCoins": 64, "lockedCoins": 0 },
  "byMetal": { "silver": { "oz": 150, "value": 9600.00 }, "gold": { "oz": 0.9416, "value": 2850.10 } },
  "holdings": [
    { "id": 12, "item": "1oz Silver Britannia", "metal": "silver", "quantity": 50, "fineOzEach": 1,
      "valueEach": 64.10, "premiumPct": 10.9, "valuation": "market premium", "paidEach": 32.50, "tags": ["vault"] }
  ]
}

Example figures are illustrative.

Errors