The Gold Barometer Data API

The Data API from The Gold Barometer — 3 operation(s) for data.

GitHub OpenAPI

Operations 3

GET /data/latest.json Today's reading #
GET /data/history.json Published readings, JSON #
GET /data/history.csv Published readings, CSV #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thegoldbarometer-com:thegoldbarometer-com-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thegoldbarometer-com-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gold Barometer Data API
  version: '1'
  description: 'Free JSON data for The Gold Barometer, a daily 0-100 score of gold buying

    conditions for the US market. The score compares seven measured things with

    their own recorded past, back to 1971 where the record reaches that far.

    No key, no signup, CORS enabled on every endpoint.


    The data is free to reuse under CC BY 4.0 with the credit line

    "Source: The Gold Barometer, thegoldbarometer.com".


    It measures conditions. It is not advice, and it does not predict the price.'
  contact:
    name: The Gold Barometer
    url: https://thegoldbarometer.com/data/
    email: hello@thegoldbarometer.com
  license:
    name: CC BY 4.0 (data)
    url: https://creativecommons.org/licenses/by/4.0/
  termsOfService: https://thegoldbarometer.com/terms/
servers:
- url: https://thegoldbarometer.com
tags:
- name: Data
paths:
  /data/latest.json:
    get:
      operationId: getLatestReading
      summary: Today's reading
      description: The current score, its zone, and the state of each of the seven parts. Updated once a day after the US market closes.
      responses:
        '200':
          description: The current reading.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Latest'
      tags:
      - Data
  /data/history.json:
    get:
      operationId: getHistoryJson
      summary: Published readings, JSON
      description: Every published reading plus reconstructed month-end context rows. Rows with backfilled true are monthly reconstructions, not daily publications.
      responses:
        '200':
          description: Array of readings, oldest first.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HistoryRow'
      tags:
      - Data
  /data/history.csv:
    get:
      operationId: getHistoryCsv
      summary: Published readings, CSV
      description: The same series as history.json, one row per reading. Header is date,score,zone,version,pillars_used,backfilled.
      responses:
        '200':
          description: CSV file, oldest first.
          content:
            text/csv:
              schema:
                type: string
      tags:
      - Data
components:
  schemas:
    Latest:
      type: object
      required:
      - date
      - score
      - zone
      - version
      properties:
        date:
          type: string
          format: date
          description: Trading day the reading describes.
        score:
          type: integer
          minimum: 0
          maximum: 100
          description: The reading, rounded.
        score_precise:
          type: number
          description: The reading before rounding.
        zone:
          type: string
          enum:
          - Historically very unfavorable
          - Unfavorable
          - Mixed
          - Favorable
          - Historically very favorable
          description: Zone the score falls in. Bands are 0-19, 20-39, 40-59, 60-79, 80-100.
        version:
          type: string
          description: Methodology version.
        engine_build:
          type: string
          description: Build date of the engine that computed this reading.
        api_version:
          type: integer
        pillars_used:
          type: integer
          description: How many of the seven parts had usable data.
        pillars_total:
          type: integer
        weights_nominal:
          type: object
          additionalProperties:
            type: number
          description: Design weight of each part, in points.
        weights_effective:
          type: object
          additionalProperties:
            type: number
          description: Weight actually applied after unavailable parts are dropped.
        about:
          type: object
          description: Who publishes the reading, under which licence, and how to credit it.
          properties:
            publisher:
              type: string
            site:
              type: string
              format: uri
            methodology:
              type: string
              format: uri
            license:
              type: string
            credit:
              type: string
        alerts:
          type: object
          description: The free zone-change email. One message each time the reading moves to a new zone.
          properties:
            what:
              type: string
            url:
              type: string
              format: uri
        pillars:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/Pillar'
          description: State of each part, keyed by part name.
        computed_at_utc:
          type: string
      additionalProperties: true
    Pillar:
      type: object
      required:
      - name
      - available
      properties:
        name:
          type: string
        available:
          type: boolean
          description: False when the part had no usable data and was dropped for the day.
        subscore:
          type: number
          description: The part's own 0-100 reading. Absent when unavailable.
        latest_date:
          type: string
          format: date
          description: Date of the newest source figure.
        latest_value:
          type:
          - number
          - 'null'
          description: The newest raw figure, when the source licence allows publishing it.
        unit:
          type: string
        source:
          type: string
        frequency:
          type: string
        staleness_days:
          type: integer
        stale_limit_days:
          type: integer
        history_points:
          type: integer
        publishable_raw:
          type: boolean
        weight_nominal:
          type: number
        weight_effective:
          type: number
        staleness_flag:
          type: string
      additionalProperties: true
    HistoryRow:
      type: object
      required:
      - date
      - score
      - zone
      properties:
        date:
          type: string
          format: date
        score:
          type: integer
          minimum: 0
          maximum: 100
        zone:
          type: string
        version:
          type: string
        pillars_used:
          type: integer
        backfilled:
          type: boolean
          description: True for reconstructed month-end context rows, false for readings published the day they happened.
      additionalProperties: true
externalDocs:
  description: Human-readable data page, methodology and archive
  url: https://thegoldbarometer.com/data/