Skip to content
Developers · Researchers · Agents

Public API

Every number on this site is queryable. No auth, no API key, free. Browser-side (cross-origin) fetches work on the gauge, float, heartbeat, status, vendor and OpenAPI endpoints; /api/market and /api/treasuries are server-side reads. Data follows a strict no-fabrication rule: when an upstream source is down you get null fields and a degraded flag, never invented values. Please cache on your side where you can · the endpoints are CDN-cached between 2 and 30 minutes. Using an AI assistant? There’s also a remote MCP server below.

GET/api/stack

Current Buying Gauge verdict · 0-100 score, tier, all 10 weighted signals, 7-day forecast.

Includes top-level `degraded: true` when ≥4 of the 8 weight-bearing market signals are unavailable upstream · treat the verdict as best-effort neutral, not a live reading. Cached ~2 min.

curl -s https://galaxymind.space/api/stack
GET/api/stack/history

Daily gauge score history, oldest-first.

days30 · 90 (default) · 180 · 365
formatcsv for a date,score,tier spreadsheet · omit for JSON
curl -s 'https://galaxymind.space/api/stack/history?days=90&format=csv'
GET/api/treasuries

Live mNAV scoreboard for MSTR, XXI, MPJPY, ASST · price, market cap, BTC holdings, mNAV, premium %, interpretation. Includes the same `degraded` flag.

curl -s https://galaxymind.space/api/treasuries
GET/api/treasuries/history

Per-ticker daily mNAV history, oldest-first.

tickerrequired · MSTR | XXI | MPJPY | ASST
days30 · 90 (default) · 180 · 365
formatcsv for date,mNAV,price,btcHoldings,marketCapM,btcPrice · omit for JSON
curl -s 'https://galaxymind.space/api/treasuries/history?ticker=MSTR&days=90&format=csv'
GET/api/float

Current Bitcoin float snapshot + daily history · in-play supply, cohort allocation (lost / governments / ETFs / treasuries / yet-to-mine), block height. `degraded: true` means a fallback or partial snapshot.

curl -s https://galaxymind.space/api/float
GET/api/hashrate

The Hashrate Desk · the derived network hashprice, network hashrate, BTC spot (btcUsd), the current block reward (blockRewardBtc), and outside SHA256 market aggregates.

All prices are BTC per PH per day · not the USD/PH/day convention published hashprice indices use. Market aggregates are outside data, not Galaxy Mind's price; for our direct price use /api/hashrate/quote. `ourRigs` lists our machines as bay aliases only, and `rentalTerm` gives the 1 to 30 whole-day term. `degraded[]` names any feed that failed.

curl -s https://galaxymind.space/api/hashrate
GET/api/yield

The Yield Desk · US-listed Strategy and Strive preferreds ranked by effective yield, with cited terms, the next cash event and total return against bitcoin for 1M, 3M, 6M, YTD, 1Y and since IPO.

tickerSTRF · STRC · STRK · STRD · SATA · SATS, narrows universe to one

A window without sourced data comes back as a named gap (ok: false), never a filled value. `methodology` carries every formula and `asOf` stamps each input. Same numbers as the MCP tools get_yield_leaderboard and get_pref. Cached ~1 min.

curl -s 'https://galaxymind.space/api/yield?ticker=STRC'
GET/api/hashrate/quote

Direct rental quote from Galaxy Mind · S21 XP hashrate in BTC per PH per day at today's published price, never below our floor. Same numbers as the MCP tool get_rental_quote.

rigswhole S21 XP rigs, 1 to 4 · default 1
phPH/s up to 1.08, rounded to whole rigs · overrides rigs
dayswhole days, 1 to 30 · default 1

270 TH minimum in whole-rig steps. Quotes are valid 15 minutes and indicative only; this endpoint cannot rent and takes no payment. Aggregate only, no per-machine data. Out-of-range input returns a 400 with the supported limits; a missing or stale daily price returns 503 pricing_unavailable.

curl -s 'https://galaxymind.space/api/hashrate/quote?rigs=2&days=3'
GET/api/market

The raw market snapshot the engines run on · BTC spot, realized vol, MVRV, Puell, funding rate, Fear & Greed, treasury quotes. Null fields mean that upstream is down (never fabricated).

curl -s https://galaxymind.space/api/market
GET/api/vendors.json

The vendor directory as JSON · every active vendor with slug, handle, platform, category, country, description (plus siblings when one handle runs several shops).

categoryapparel | hardware | consumables | collectibles | services | books
countryISO-3166 alpha-2, e.g. DE
platformx | nostr | lightning
sinceYYYY-MM-DD · only vendors verified on/after this date
limitmax 200

Composable · ?category=consumables&country=DE returns the intersection. Each vendor carries both `listedAt` (day first listed, unix seconds UTC midnight · immutable, unaffected by re-verification) and `verifiedAt` (unix seconds UTC midnight of the last human re-confirmation that the vendor still accepts bitcoin — this is what `since` filters on and what staleness is measured against).

curl -s 'https://galaxymind.space/api/vendors.json?country=DE'
GET/api/heartbeat

Tiny health payload · current score, tier, BTC price, degraded flag. Built for embeds and uptime checks; CDN-cached.

curl -s https://galaxymind.space/api/heartbeat
GET/api/badge/gauge

Live SVG badge of the current gauge score + tier · drop it in a README or forum post and it stays current.

Embed: <img src="https://galaxymind.space/api/badge/gauge" alt="Bitcoin buying gauge" />

curl -s https://galaxymind.space/api/badge/gauge
GET/api/badge/vendor/{slug}

Live SVG badge a listed merchant can put on their own site. Reads “Accepts Bitcoin · Verified” and flips to amber “check listing” once the 180-day window lapses, so it can never show a stale green.

Embed: <a href="https://galaxymind.space/v/{slug}"><img src="https://galaxymind.space/api/badge/vendor/{slug}" alt="Accepts Bitcoin, verified by Galaxy Mind" /></a>

curl -s https://galaxymind.space/api/badge/vendor/soap-miner
GET/feed.xml

RSS feed of newly added vendors.

curl -s https://galaxymind.space/feed.xml
GET/feed-gauge.xml

RSS feed of the daily Buying Gauge verdict · follow the score without an email address. Each item links a frozen shareable verdict URL.

curl -s https://galaxymind.space/feed-gauge.xml
MCPhttps://galaxymind.space/api/mcp/mcp

A remote MCP server (Streamable HTTP, no auth) that exposes the site as 11 read-only tools any MCP-capable assistant can call: the live Bitcoin spot price, the Buying Gauge with all 10 signals, gauge history, treasury mNAVs + per-ticker history, the Bitcoin float breakdown, the hashrate rental market, the halving countdown, vendor-directory search, glossary definitions, live rental quotes for our own mining fleet, and the Yield Desk leaderboard of bitcoin-treasury preferreds. Same no-fabrication rule as the REST API · degraded data says so.

Claude Codeclaude mcp add --transport http galaxy-mind https://galaxymind.space/api/mcp/mcp
Claude.aiSettings → Connectors → Add custom connector → paste the URL above
ChatGPTSettings → Connectors → Advanced → Developer mode → add the URL above (no auth)
Cursor / othersAny client supporting remote Streamable-HTTP servers · type http, URL as above

Then ask things like “is it a good time to buy bitcoin according to Galaxy Mind?” or “which bitcoin treasury is cheapest right now?” and the assistant pulls live numbers instead of guessing.

Ground rules

  • Attribution appreciated: link to galaxymind.space when you publish derived work. Citation format lives on each data page.
  • Methodology for every metric is public · see /methodology and /glossary.
  • Machine-readable site map for agents: /llms.txt.
  • Want the gauge ON your site? The embed widget is a one-line script tag.