Galaxy Mind Treasuries API

Bitcoin treasury company mNAV

GitHub OpenAPI

Operations 3

GET /api/treasuries/history Daily per-ticker mNAV history (JSON or CSV) #
GET /api/treasuries Treasury mNAV scoreboard #
GET /api/history Daily price history for allow-listed tickers #

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/galaxymind-space:galaxymind-space-treasuries-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

galaxymind-space-treasuries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Galaxy Mind public Treasuries API
  version: 2.0.0
  summary: Live Bitcoin market signals, treasury mNAV, float, and a vendor directory.
  description: 'Read-only JSON endpoints powering galaxymind.space. All GET, no auth. Every endpoint is edge-cached (see x-cache-seconds per path) and fail-closes to neutral/null values rather than erroring when an upstream source is down. Data sources: CoinGecko, Yahoo Finance, bitcointreasuries.net, alternative.me, Coinmetrics, OKX, mempool.space. An MCP server with the same data is at /api/mcp/mcp (Streamable HTTP transport).'
  contact:
    name: Galaxy Mind
    url: https://galaxymind.space
  license:
    name: Public data · attribution appreciated
    identifier: CC-BY-4.0
servers:
- url: https://galaxymind.space
  description: Production
tags:
- name: treasuries
  description: Bitcoin treasury company mNAV
paths:
  /api/treasuries/history:
    get:
      tags:
      - treasuries
      operationId: getTreasuryHistory
      summary: Daily per-ticker mNAV history (JSON or CSV)
      description: 'Daily mNAV/price/holdings snapshots for one treasury, oldest-first. CSV columns: date,mNAV,price,btcHoldings,marketCapM,btcPrice.'
      parameters:
      - name: ticker
        in: query
        required: true
        schema:
          type: string
          enum:
          - MSTR
          - XXI
          - MPJPY
          - ASST
        description: Treasury ticker.
      - name: days
        in: query
        required: false
        schema:
          type: integer
          enum:
          - 30
          - 90
          - 180
          - 365
          default: 90
        description: Window length. Any other value falls back to 90; the response echoes the window actually used.
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - csv
        description: Omit for JSON; `csv` returns text/csv.
      responses:
        '200':
          description: Object {ticker, history, count, asOf} where history is [{date, mNAV, price, btcHoldings}], oldest-first. NOT a bare array.
          content:
            application/json:
              schema:
                type: object
      x-cache-seconds: 300
  /api/treasuries:
    get:
      tags:
      - treasuries
      operationId: getTreasuries
      summary: Treasury mNAV scoreboard
      description: 'Per-ticker mNAV, price, market cap, BTC holdings, premium-to-NAV, and a plain-language interpretation for MSTR, XXI, MPJPY, ASST. mNAV is the GROSS definition: market cap ÷ (BTC held × spot), no debt/converts/preferreds netted. Each row also carries a ''cebe'' object · the NET (Common Equity Bitcoin Exposure) mNAV after senior claims (debt + preferred − cash) plus a claims %, where sourced.'
      responses:
        '200':
          description: Treasury rows + asOf.
          content:
            application/json:
              schema:
                type: object
      x-cache-seconds: 300
  /api/history:
    get:
      tags:
      - treasuries
      operationId: getHistory
      summary: Daily price history for allow-listed tickers
      description: Daily closes for charting. Allow-listed tickers only (BTC + the tracked treasuries + the /fit asset universe); 30-ticker cap per request.
      responses:
        '200':
          description: '{ count }.'
          content:
            application/json:
              schema:
                type: object
      x-cache-seconds: 300
x-rentals: 'Galaxy Mind rents its hashrate on MiningRigRentals now. Start at https://galaxymind.space/hashrate: pick how much hashrate you want in 270 TH/s units and each free unit has its own Rent button. Direct rental routes on this site answer 410 direct_rentals_closed with rentUrl (https://galaxymind.space/hashrate).'