Developers · Researchers · Agents

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.

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 · 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/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 handle, platform, category, country, description.

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.

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/feed.xml

RSS 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.