mocop
Browse · Docs · Guide · Analyze

History of Market — data API

API by History of Market · rest

Every chart on the site is drawn from a static JSON file under /api/. The files are regenerated after each U.S. trading day by a scheduled job and served from the CDN edge; there is no auth, no rate limit, no parameters and no write surface. Paths carry a mandatory .json suffix. A miss under /api/ returns HTTP 404 with a JSON body ({error: {code, status, message, hint, resolution[]}}), never HTML. Start with /api/_manifest.json (what exists and when it changed) or /api/profile.json (which dataset answers which question). Reuse with attribution is welcome; copying the work is not. Data (/api/.json): CC BY 4.0. Charts, share images, embeds and quotes: free to reuse when credited "History of Market (historyofmarket.com)" with a link. No derivative or look-alike sites, no use of the brand names, no citation without the source. Terms: https://historyofmarket.com/license/

Endpoint: https://historyofmarket.com/

Verification: observed. Source: crawl.

Capabilities (125)

  • Latest reading per panel
  • Dataset catalogue
  • AIAE — Aggregate Investor Allocation to Equities
  • Twelve consumer compounders since 1998
  • Consumer Discretionary vs Consumer Staples — the GICS boundary
  • Retail's extinction event — bankruptcies and survivors
  • XLY ÷ XLP — the risk-appetite ratio
  • 2023-03-17 GICS move of Target Dollar General and Dollar Tree
  • XLP annual returns year by year
  • XLP annual total returns binned
  • Dataset consumer/xlp-holdings
  • XLP intrayear drawdown vs year-end return
  • Dataset consumer/xlp-monthly
  • XLP Consumer Staples ETF since 1998
  • Dataset consumer/xlp-rolling5y
  • Dataset consumer/xlp-volatility
  • XLY annual returns year by year
  • XLY annual total returns binned
  • XLY and XLP top holdings side by side
  • XLY intrayear drawdown vs year-end return
  • Dataset consumer/xly-monthly
  • XLY Consumer Discretionary ETF since 1998
  • Dataset consumer/xly-rolling5y
  • Dataset consumer/xly-volatility
  • Dataset dow/century
About · Contact · Privacy