API Documentation

Our API provides programmatic access to the Bitcoin Fundamental Indicator and weekly thresholds.

1. BTC Data Endpoint

GET /api/btc

Query Parameters

Response Fields

Sample Request

GET /api/btc?date=2025-09-12

Sample Response

[
  {
    "timestamp": "2025-09-12T19:35:45+00:00",
    "BTC_Price_USD": 116528,
    "FS_Optimized": 72.99,
    "FS_3Cat_Score": 1.0,
    "FS_Directional_Label": "Up 📈",
    "thresholds": [64.98, 67.5, 72.9, 75.64]
  }
]

2. Thresholds Endpoint

GET /api/thresholds

Query Parameters

Sample Requests

GET /api/thresholds
GET /api/thresholds?week=2025-W37

Sample Responses

[
  {
    "2025-W37": [64.98, 68.13, 72.81, 75.64]
  }
]

Notes