Technical Indicators

Beta vs Benchmark (BETA)

Rolling beta of symbol vs benchmark (default SPY). BETA = cov(sym_returns, bench_returns) / var(bench_returns). Beta=1 = moves with benchmark, >1 = amplifies, <1 = damps, negative = inverse. Computed on log returns over time_period bars.

get/api/v1/indicators/beta

Query parameters

symbolstring required
Example:AAPL
benchmarkstring

Benchmark ticker; default SPY (S&P 500 ETF).

Example:SPY

Benchmark ticker; default SPY (S&P 500 ETF).

time_periodstring required
Example:60
intervalstring
Example:1d
rangestring nullable
Example:1y
outputsizeinteger
Example:30

Response

Successful Response

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ]
  }
}

Changes

Changed in 3 of the 21 revisions of this API.214

    • response property data/time_period/anyOf[subschema #1]/items/ list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 914af3d38c7c12See the full diff
    • the response's body type/format changed from / to object/ for status 200

      response-body-type-changed

    • added the required property data to the response with the 200 status

      response-required-property-added

    • added the required property meta to the response with the 200 status

      response-required-property-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 429 status

      response-optional-property-added

    • added the optional property code to the response with the 503 status

      response-optional-property-added

    • added the optional property hint to the response with the 401 status

      response-optional-property-added

    • added the optional property hint to the response with the 429 status

      response-optional-property-added

    • added the optional property hint to the response with the 503 status

      response-optional-property-added

    • added the optional property plan to the response with the 401 status

      response-optional-property-added

    • added the optional property plan to the response with the 429 status

      response-optional-property-added

    • added the optional property plan to the response with the 503 status

      response-optional-property-added

    • added the optional property reason to the response with the 401 status

      response-optional-property-added

    • added the optional property reason to the response with the 429 status

      response-optional-property-added

    • added the optional property reason to the response with the 503 status

      response-optional-property-added