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.
/api/stackCurrent 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
/api/stack/historyDaily gauge score history, oldest-first.
| days | 30 · 90 (default) · 180 · 365 |
| format | csv for a date,score,tier spreadsheet · omit for JSON |
curl -s 'https://galaxymind.space/api/stack/history?days=90&format=csv'
/api/treasuriesLive 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
/api/treasuries/historyPer-ticker daily mNAV history, oldest-first.
| ticker | required · MSTR | XXI | MPJPY | ASST |
| days | 30 · 90 (default) · 180 · 365 |
| format | csv for date,mNAV,price,btcHoldings,marketCapM,btcPrice · omit for JSON |
curl -s 'https://galaxymind.space/api/treasuries/history?ticker=MSTR&days=90&format=csv'
/api/floatCurrent 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
/api/hashrateThe Hashrate Desk · live SHA256 AsicBoost rental book from MiningRigRentals, the derived network hashprice, BTC spot (btcUsd), the current block reward (blockRewardBtc), and each rig's recovery ratio (mined BTC as a fraction of its ask).
All prices are BTC per PH per day — not the USD/PH/day convention published hashprice indices use. `book` keeps asks, clears and MRR's suggested price as three separate quantities. `bookSample.complete: false` means `book.medianAsk` is a sample median, not the market median. `degraded[]` names any feed that failed. Rigs Galaxy Mind operates carry `isOurs: true` and rank by the same ask-ascending key as everyone else.
curl -s https://galaxymind.space/api/hashrate
/api/hashrate/quoteRental quote for Galaxy Mind's machines · exact cost in BTC and USD, block odds (exact 1-(1-s)^n), current block prize, and the zero-custody MiningRigRentals handoff.
| machine | rig id · omit or all for every machine |
| hours | integer 3-168 · default 3 (MCP tool accepts fractions) |
This endpoint cannot rent and takes no payment. The rental is completed on MiningRigRentals, charged to the renter's own balance. The response's handoff.mrrApi carries the exact MiningRigRentals call sequence for agents holding the renter's own API key — verified live: a key with no withdraw capability rents end to end. Null fields mean a live feed is down, never fabricated.
curl -s 'https://galaxymind.space/api/hashrate/quote?machine=all&hours=6'
/api/marketThe 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
/api/vendors.jsonThe vendor directory as JSON · every active vendor with handle, platform, category, country, description.
| category | apparel | hardware | consumables | collectibles | services | books |
| country | ISO-3166 alpha-2, e.g. DE |
| platform | x | nostr | lightning |
| since | YYYY-MM-DD · only vendors verified on/after this date |
| limit | max 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'
/api/heartbeatTiny health payload · current score, tier, BTC price, degraded flag. Built for embeds and uptime checks; CDN-cached.
curl -s https://galaxymind.space/api/heartbeat
/api/badge/gaugeLive 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
/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
/feed.xmlRSS feed of newly added vendors.
curl -s https://galaxymind.space/feed.xml
/feed-gauge.xmlRSS 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
https://galaxymind.space/api/mcp/mcpA 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, and live rental quotes for our own mining fleet. Same no-fabrication rule as the REST API · degraded data says so.
| Claude Code | claude mcp add --transport http galaxy-mind https://galaxymind.space/api/mcp/mcp |
| Claude.ai | Settings → Connectors → Add custom connector → paste the URL above |
| ChatGPT | Settings → Connectors → Advanced → Developer mode → add the URL above (no auth) |
| Cursor / others | Any 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.