API Documentation

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

Authentication

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

Authorization: Bearer bq_live_<keyId>.<secret>

Get your API key at /developers. Free keys are available instantly.

Rate Limits

PlanRate LimitData AccessPrice
FREE60 req/minBasic fields, 7-day history$0/mo
PRO300 req/minAll fields, full history$49/mo

Rate limit headers are included in every response: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset

Preferred Equity

GET/v1/preferred-equity

List all preferred equity securities with current data.

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

Get detailed data for a single preferred equity security.

GET/v1/preferred-equity/historical

Get historical preferred equity data.

Parameters:
  • ticker(string)Filter by ticker (recommended)
  • days(number)Number of days (PRO only, 1-365)
  • limit(number)Results per page (default 500, max 5000)
  • offset(number)Pagination offset
  • sort_order(string)asc or desc (default: desc)
FREE plan: Returns 14 basic fields and 7 days of historical data.
PRO plan: Returns all 37 fields (including volume, volatility, sharpe ratio) and full history.
See the Field Reference below for every field and its description.

Field Reference

Complete list of every field returned by the API. Fields marked FREE are included in all plans. Fields marked PRO require a PRO key.

Current Data14 FREE · 23 PRO-only · 37 total
Click to expand

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

FieldTypeDescriptionPlan
tickerstringTicker symbol (STRC, STRD, STRF, STRK, SATA)FREE
issuerstringIssuing company nameFREE
namestringFull security nameFREE
stock_pricenumberCurrent stock price (USD)FREE
current_dividendnumberCurrent annual dividend per share (USD)FREE
effective_yieldnumberAnnual dividend / current price (%)FREE
ipo_datestringDate of IPOFREE
ipo_pricenumberIPO price (USD)FREE
three_month_returnnumberPrice return over the past 3 months (%)FREE
lifetime_returnnumberPrice return since IPO (%)FREE
market_capnumberMarket capitalization (USD)FREE
shares_outstandingnumberTotal shares outstandingFREE
dividend_payment_timeframestringDividend frequency (e.g. quarterly)FREE
updated_atstringLast data refresh timestampFREE
overviewstringShort overview of the securityPRO
descriptionstringDetailed security descriptionPRO
price_3m_agonumberStock price 3 months ago (USD)PRO
notional_valuenumberNotional value (shares × $100 par)PRO
trading_volume_usdnumberLatest day trading volume (USD)PRO
avg_trading_volume_7dnumber7-day average daily volume (USD)PRO
avg_trading_volume_30dnumber30-day average daily volume (USD)PRO
scaled_vol_above_100_usdnumberVolume traded above $100 par (USD)PRO
scaled_vol_below_100_usdnumberVolume traded below $100 par (USD)PRO
scaled_vol_above_100_rth_usdnumberVolume above $100 during regular trading hours (USD)PRO
scaled_trading_volume_rth_usdnumberTotal volume during regular trading hours (USD)PRO
volume_above_100_pctnumberPercentage of volume traded above $100 parPRO
volatility_7dnumber7-day annualized volatilityPRO
volatility_30dnumber30-day annualized volatilityPRO
volatility_60dnumber60-day annualized volatilityPRO
volatility_90dnumber90-day annualized volatilityPRO
this_weeks_volumenumberTotal trading volume this week (USD)PRO
this_weeks_volume_above_parnumberVolume above $100 par this week (USD)PRO
this_weeks_volume_above_par_pctnumberPercentage of this week's volume above parPRO
sharpe_rationumberRisk-adjusted return (excess return / volatility)PRO
risk_free_ratenumberRisk-free rate used for Sharpe calculationPRO
created_atstringRecord creation timestampPRO
last_updatedstringLast data update timestampPRO
Historical Data10 FREE · 21 PRO-only · 31 total
Click to expand

Endpoint: /v1/preferred-equity/historical · FREE: last 7 days · PRO: full history

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

Key Management

POST/v1/keys

Generate a new FREE API key.

Parameters:
  • email(string)Your email address (required, in body)
  • name(string)Optional key name (in body)
GET/v1/keys?email={email}

List your API keys. Requires authentication.

Parameters:
  • email(string)Your email address
DELETE/v1/keys/{keyId}

Revoke an API key. Requires authentication.

Error Codes

CodeStatusDescription
AUTHENTICATION_FAILED401Invalid or missing API key
API_KEY_EXPIRED401API key has expired
API_KEY_REVOKED401API key has been deactivated
RATE_LIMIT_EXCEEDED429Too many requests — check X-RateLimit-Reset header
VALIDATION_ERROR400Invalid query parameters
INTERNAL_ERROR500Server error — contact support