gld_holdings

Pack: gold-etf · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/gld_holdings for the schema, then POST the same URL with its arguments for the data.

Daily physical gold held by SPDR Gold Shares (GLD), the largest gold ETF: tonnes and ounces of gold in the trust, net asset value per share, closing price, premium or discount of the fund mid-point to its indicative value (as the sponsor reports it), share volume and total net assets, one row per trading day, newest first. Defaults to the latest 10 trading days; pass from/to for a date range. Use for “how many tonnes of gold does GLD hold”, “GLD gold holdings last 10 days”, gold ETF inflows and outflows (a falling tonnes figure is redemptions). Keyless; sourced live from the fund sponsor, World Gold Trust Services. Trading days only: weekends and US holidays have no row.

Parameters

NameTypeRequiredDescription
daysnumbernoHow many of the latest trading days to return, default 10, max 400. Ignored when from or to is given.
fromstringnoStart date, YYYY-MM-DD, inclusive.
tostringnoEnd date, YYYY-MM-DD, inclusive. Default: the latest day published.

Example call

Arguments

{
  "from": "2026-11-17",
  "to": "2026-11-25"
}

curl

curl -X POST https://gateway.pipeworx.io/gold-etf/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gld_holdings","arguments":{"from":"2026-11-17","to":"2026-11-25"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('gld_holdings', {
  "from": "2026-11-17",
  "to": "2026-11-25"
});

Response shape

FieldTypeDescription
foundboolean
fundstring
first_date_publishedstring
latest_date_publishedstring
sourcestring
data_as_ofstring
countnumber
tonnes_change_over_windownumber
window_notestring
truncatedboolean
rowsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "fund": {
      "type": "string"
    },
    "first_date_published": {
      "type": "string"
    },
    "latest_date_published": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "tonnes_change_over_window": {
      "type": "number"
    },
    "window_note": {
      "type": "string"
    },
    "truncated": {
      "type": "boolean"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "tonnes": {
            "type": "number"
          },
          "ounces": {
            "type": "number"
          },
          "nav_per_share": {
            "type": "number"
          },
          "closing_price": {
            "type": "number"
          },
          "premium_discount": {
            "type": "number"
          },
          "share_volume": {
            "type": "number"
          },
          "total_nav_usd": {
            "type": "number"
          }
        },
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the gold-etf pack
{
  "mcpServers": {
    "gold-etf": {
      "url": "https://gateway.pipeworx.io/gold-etf/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 28, 2026