Public API
Every number on this site is queryable. No auth, no API key, CORS-open, free. 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.
/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 · 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/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.
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
/feed.xmlRSS feed of newly added vendors.
curl -s https://galaxymind.space/feed.xml
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.