BitcoinQuant

API Documentation

Base URL: https://bitcoinquant.co/api/v1

Authentication

All API requests require a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Get your API key instantly at /api.

Requests without a valid key return 401 AUTHENTICATION_FAILED.

Rate Limits

Each HTTP request to any /api/v1/ endpoint counts as one request against your rate limit, regardless of how much data is returned.

PlanRate LimitHistorical Data
Free60 requests/minute29 current + 24 historical fields · Last 7 days
Pro300 requests/minuteAll 37 current + 31 historical fields · Full history

Free plan: 29 current + 24 historical fields, 7-day lookback. Pro adds par value analytics ($100 above/below, $99-$101 band), shares outstanding, and full history.

Rate limit headers are included in every response: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (ISO 8601 timestamp).

Preferred Equity Endpoints

GET/v1/preferred-equity

Returns current data for all preferred equity securities (STRC, STRD, STRF, STRK, SATA).

Query Parameters:
  • ticker(string, optional)Filter by ticker (e.g. STRC)
  • sort_by(string, optional)Sort field: ticker, stock_price, effective_yield, market_cap, trading_volume_usd, sharpe_ratio
  • sort_order(string, optional)asc or desc (default: asc)
GET/v1/preferred-equity/{ticker}

Returns current data for a single ticker. More efficient than filtering the list endpoint.

GET/v1/preferred-equity/historical

Returns daily historical data with OHLCV, yield, volatility, volume breakdowns, and more.

Query Parameters:
  • ticker(string, optional)Filter by ticker (recommended). Without this, returns all tickers.
  • days(number, optional)Number of calendar days of history. Free: max 7, Pro: max 365.
  • limit(number, optional)Results per page (default 500, max 5000)
  • offset(number, optional)Pagination offset (default 0)
  • sort_order(string, optional)asc or desc (default: desc — newest first)

Response Format

All successful responses follow this structure:

{
  "success": true,
  "data": { ... } or [ ... ],
  "meta": {
    "plan": "FREE",
    "fields_returned": 37,
    "total_fields_available": 37
  }
}
  • success — always true for 200 responses
  • data — object for single-ticker endpoints, array for list/historical endpoints
  • meta — your plan type and field counts

Field Reference

Free plan includes 29 current + 24 historical fields. Pro adds par value analytics, shares outstanding, and full history.

Current Data37 fields
Click to expand

Endpoints: /v1/preferred-equity · /v1/preferred-equity/{ticker}

FieldTypeDescription
tickerstringTicker symbol (STRC, STRD, STRF, STRK, SATA)
issuerstringIssuing company name
namestringFull security name
overviewstringShort overview of the security
descriptionstringDetailed security description
stock_pricenumberCurrent stock price (USD)
current_dividendnumberCurrent annual dividend per share (USD)
effective_yieldnumberAnnual dividend / current price (%)
dividend_payment_timeframestringDividend frequency (e.g. quarterly)
ipo_datestringDate of IPO
ipo_pricenumberIPO price (USD)
price_3m_agonumberStock price 3 months ago (USD)
three_month_returnnumberPrice return over the past 3 months (%)
lifetime_returnnumberPrice return since IPO (%)
market_capnumberMarket capitalization (USD)
shares_outstandingnumberTotal shares outstanding
notional_valuenumberNotional value (shares x $100 par)
trading_volume_usdnumberLatest day trading volume (USD)
avg_trading_volume_7dnumber7-day average daily volume (USD)
avg_trading_volume_30dnumber30-day average daily volume (USD)
scaled_vol_above_100_usdnumberVolume traded above $100 par (USD)
scaled_vol_below_100_usdnumberVolume traded below $100 par (USD)
scaled_vol_above_100_rth_usdnumberVolume above $100 during regular trading hours (USD)
scaled_trading_volume_rth_usdnumberTotal volume during regular trading hours (USD)
volume_above_100_pctnumberPercentage of volume traded above $100 par
this_weeks_volumenumberTotal trading volume this week (USD)
this_weeks_volume_above_parnumberVolume above $100 par this week (USD)
this_weeks_volume_above_par_pctnumberPercentage of this week's volume above par
volatility_7dnumber7-day annualized volatility
volatility_30dnumber30-day annualized volatility
volatility_60dnumber60-day annualized volatility
volatility_90dnumber90-day annualized volatility
sharpe_rationumberRisk-adjusted return (excess return / volatility)
risk_free_ratenumberRisk-free rate used for Sharpe calculation
created_atstringRecord creation timestamp
updated_atstringLast data refresh timestamp
last_updatedstringLast data update timestamp
Historical Data31 fields
Click to expand

Endpoint: /v1/preferred-equity/historical · Free: last 7 days · Pro: full history

FieldTypeDescription
datestringTrading date (YYYY-MM-DD)
tickerstringTicker symbol
stock_pricenumberClosing price (USD)
open_pricenumberOpening price (USD)
high_pricenumberIntraday high price (USD)
low_pricenumberIntraday low price (USD)
effective_yieldnumberEffective yield on that date (%)
trading_volumenumberDaily trading volume (USD)
avg_trading_volume_7dnumber7-day average daily volume (USD)
avg_trading_volume_30dnumber30-day average daily volume (USD)
market_capnumberMarket capitalization (USD)
notionalnumberNotional value (USD)
shares_outstandingnumberShares outstanding on that date
dividend_ratenumberDividend rate on that date
volatility_7dnumber7-day annualized volatility
volatility_30dnumber30-day annualized volatility
volatility_60dnumber60-day annualized volatility
volatility_90dnumber90-day annualized volatility
volume_above_100_pctnumberPct of volume above $100 par
scaled_vol_above_100_usdnumberVolume above $100 par (USD)
scaled_vol_below_100_usdnumberVolume below $100 par (USD)
scaled_vol_above_100_rth_usdnumberVolume above $100 during regular hours (USD)
trading_volume_rthnumberTotal volume during regular hours (USD)
volume_in_99_101_band_pctnumberPct of volume in $99-$101 band
sharpe_rationumberSharpe ratio on that date
cumulative_weekly_volumenumberCumulative volume for the week (USD)
cumulative_weekly_scaled_vol_above_100_usdnumberCumulative weekly volume above par (USD)
day_of_weekstringDay of the week (Mon, Tue, etc.)
three_month_returnnumber3-month return as of that date (%)
one_year_returnnumber1-year return as of that date (%)
lifetime_returnnumberLifetime return as of that date (%)

Error Codes

All error responses return JSON with error, code, status, and docs fields.

StatusCodeDescription
400VALIDATION_ERRORInvalid request parameters
400MISSING_TICKERTicker parameter is required for this endpoint
401AUTHENTICATION_FAILEDMissing or invalid API key
404COMPANY_NOT_FOUNDThe requested ticker does not exist in the dataset
429RATE_LIMIT_EXCEEDEDToo many requests — check X-RateLimit-Reset header
500INTERNAL_ERRORServer error — retry after a short delay