Manage Your API Key
Generate or delete your API key to access data endpoints.
- Market Data
- M2 Global Growth
- Open Interest (Supports
days
andinterval
) - Bitcoin Dominance
- Exchanges Futures Volume (Latest)
- Liquidation Map Levels NEW (Supports
period
) - Funding Rates
- Funding Rate - Complete Data (Supports
days
andinterval
) - Funding Rate - Daily Data
- Funding Rate - Latest Minute Value
- Funding Rate - Latest by Exchange
- Sentiment Indicators
- Google Trends - Current Cycle
- Google Trends - 10 Years
- Net Unrealized Profit/Loss (NUPL)
- Price Data
- BTC/USDT
- BTC/EUR
- BTC/BRL
- BTC/BRL vs. IBOV
- BTC vs. S&P 500
- BTC vs. Gold
- Performance Metrics
- All-Time High (ATH)
- ATH Drawdown (%)
- ATH Date
- Price Variation - 24h (%)
- Price Variation - 7d (%)
- Price Variation - 1M (%)
- Investment Data
- DCA Calculator (All Indices)
- Bitcoin ETFs Data
- Bitcoin Treasuries
- MicroStrategy OHLC Price and Volume
- MicroStrategy Treasuries
Note: Our API is continuously enhanced to provide robust data access. Comprehensive documentation is forthcoming to streamline integration.
Bitcoin CounterFlow Data API
API Support: satoshi@bitcoincounterflow.com
API Root Endpoint: https://api.bitcoincounterflow.com/
The Bitcoin CounterFlow Data API provides access to price history, funding rates, open interest, liquidation data, and other macro Bitcoin metrics. Designed for traders, analysts, and developers requiring advanced data.
API Usage Instructions
Nakamoto Pro subscribers have exclusive access to all API endpoints. Append your API key to the URL using theapikey
parameter. Explore examples and tools below to get started.
Basic Usage: Add your API key to any endpoint. Example for M2 Global Growth:
https://api.bitcoincounterflow.com/api/m2-global?apikey=YOUR_API_KEY
Data Filtering: The
open-interest
, funding-rate
, and liquidation-heatmap
endpoints support parameters for filtering and aggregation:
Supported Intervals (open-interest, funding-rate): 15m
, 30m
, 1h
, 2h
, 4h
, 1d
, 1w
, 1mo
(30 days).
Supported Periods (liquidation-heatmap): 12h
, 24h
, 48h
, 3day
, 1week
, 2week
, 1month
, 2month
, 3month
, 6month
.
Example with Combined Parameters:
https://api.bitcoincounterflow.com/api/liquidation-heatmap?period=1month&apikey=YOUR_API_KEY
Request History
Endpoint Details
M2 Global Growth (/api/m2-global): Returns historical M2 supply data, year-over-year growth, and Bitcoin price at each point.
[{ "date": "2013-05-20T00:00:00.000Z", "btcPrice": 117.8186364699, "yoyGrowth": 5.5654014717, "m2Supply": 59166686473105 }]
Open Interest (/api/open-interest): Historical open interest data for Bitcoin futures, including BTC price. Supports days
and interval
parameters.
[{ "timestamp": "2024-10-30T08:00:00.000Z", "openInterest": 89828.522, "price": 72475.88 }]
Funding Rate - Complete Data (/api/list-global-funding-rate): Aggregated global funding rate from major exchanges. Supports days
and interval
parameters.
[{ "timestamp": "2025-06-08T23:18:41.856Z", "globalFundingRate": -0.0027 }]
Liquidation Heatmap (/api/liquidation-heatmap): Returns price ranges and liquidity values, sorted by price range. Supports period
parameter.
[{ "priceRange": 50000, "liquidity": 1234567.89 }, { "priceRange": 50200, "liquidity": 987654.32 }]
Request Limits: 200 requests per hour per API key, 100 per IP. Common errors: 401 Unauthorized
(invalid key), 429 Too Many Requests
(rate limit exceeded).