Developers
Free public API, no authentication required. Returns JSON with Cache-Control headers. Suitable for personal projects, research, and content creation.
Get the current liquidity score status including composite score, momentum, confidence, and key drivers.
curl https://dollarliquidity.com/api/regime{
"status": "risk-on",
"momentum": "improving",
"confidence": "high",
"compositeScore": 0.72,
"dliTight": -0.72,
"subScores": [
{ "group": "A", "label": "Policy / Reserves", "score": -0.85, "weight": 0.30 },
{ "group": "B", "label": "Funding / Plumbing", "score": -0.42, "weight": 0.30 },
{ "group": "C", "label": "Credit / Intermediation", "score": -0.91, "weight": 0.20 },
{ "group": "D", "label": "Risk / Price", "score": -0.55, "weight": 0.20 }
],
"momentum7d": -0.12,
"concentration": 0.68,
"drivers": [
{
"indicatorId": "tga",
"weight": 0.12,
"zScore": -1.3,
"contribution": 0.156,
"direction": "easing"
}
],
"updatedAt": "2026-02-09T06:00:00.000Z"
}Cache-Control: public, s-maxage=3600, stale-while-revalidate=21600
Get time series data for a specific indicator, including z-scores, percentiles, and metadata.
tga, fed-balance-sheet, onrrp, vix, hy-spread, real-yield-10y, dollar-index, sofr-iorb, srf, bank-cash-buffer, net-liquidity, m2
| Parameter | Type | Description |
|---|---|---|
days | number | Number of days (default: 365, max: 4000) |
curl "https://dollarliquidity.com/api/series/tga?days=90"{
"data": [
{ "date": "2026-02-07", "value": 742.3, "zScore": -0.85 },
{ "date": "2026-02-06", "value": 748.1, "zScore": -0.78 }
],
"meta": {
"lastAvailableDate": "2026-02-07",
"percentile": 42,
"source": "fresh"
}
}Get rolling correlations, lead-lag analysis, and score backtest data between the liquidity score and risk assets (BTC, SPX, QQQ, GOLD).
curl https://dollarliquidity.com/api/correlationCache-Control: public, s-maxage=900, stale-while-revalidate=1800
import requests
regime = requests.get("https://dollarliquidity.com/api/regime").json()
print(f"Status: {regime['status']}, DLI: {regime['dliTight']}, Score: {regime['compositeScore']}")
tga = requests.get("https://dollarliquidity.com/api/series/tga?days=30").json()
latest = tga["data"][0]
print(f"TGA: {latest['value']}B (z-score: {latest['zScore']})")const regime = await fetch("https://dollarliquidity.com/api/regime")
.then(r => r.json());
console.log(`Score: ${regime.status}, DLI: ${regime.dliTight}, Value: ${regime.compositeScore}`);
const tga = await fetch("https://dollarliquidity.com/api/series/tga?days=30")
.then(r => r.json());
console.log(`TGA: ${tga.data[0].value}B`);