Market & Macro

The whole market and the economy, one row per date

GET https://api.tickerdb.com/v1/market

Market answers what regime the US stock market and the US economy are in on a date, and whether it just changed. Each date has one row: market_* fields for the market as a whole, macro_* fields for the economy.

curl
curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'fields=market_regime_zone,market_breadth_ma200_zone,macro_regime_zone,macro_yield_curve_zone,macro_recession_risk_zone' \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "level": "market", "timeframe": "daily", "band_contract": "bands-2.15.0", "knowledge_cutoff": "04:00 UTC on the calendar day after the snapshot date", "fields": ["market_regime_zone", "market_breadth_ma200_zone", "macro_regime_zone", "macro_yield_curve_zone", "macro_recession_risk_zone"], "date_mode": "latest", "date": "2026-11-06", "row_count": 1, "rows": [ { "date": "2026-11-06", "market_regime_zone": "bull_narrow", "market_breadth_ma200_zone": "neutral", "macro_regime_zone": "reflation", "macro_yield_curve_zone": "normal", "macro_recession_risk_zone": "low" } ] }

Without fields you get every band and headline number, but not the change markers. fields=* returns both.

These fields describe a date, not a ticker, so they aren't in ticker rows. To find tickers under a market condition, put the fields in a search. market_cap_usd and market_cap_tier are ticker fields despite the name. Schema marks every field with "level": "ticker" or "level": "market".

Three ways to ask

Latest

Leave out date, start and end, as above.

One date

The row on date, or the newest one before it, up to 10 days back on daily and 14 on weekly. date in the response is the row's own date, and requested_date is what you asked for.

The market on 2020-03-23
curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'date=2020-03-23' \ --data-urlencode 'fields=market_regime_zone,market_fear_greed_zone,macro_financial_stress_zone' \ -H "Authorization: Bearer YOUR_API_KEY"

A date range

start and end, both included. Newest first, 100 rows unless you set limit, up to 2,000.

Weekly, through 2022
curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'timeframe=weekly' \ --data-urlencode 'start=2022-01-01' \ --data-urlencode 'end=2022-12-31' \ --data-urlencode 'fields=market_regime_zone,macro_inflation_zone,macro_fed_funds_rate_pct' \ -H "Authorization: Bearer YOUR_API_KEY"

Market rows exist for every US trading session on daily, and on weekly for every Sunday, carrying that week's last session. Weekends and holidays have no row, even though crypto trades on them.

Cost

1 credit per request, plus 1 for every 100 rows beyond the first 100. A range that matches no rows still costs 1. How far back you can read depends on your plan.

Finding what changed

changes=true returns only the dates on which one of the bands you asked for changed, and each row says how:

Every regime change, July to September 2024
curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'start=2024-07-01' \ --data-urlencode 'end=2024-09-30' \ --data-urlencode 'fields=market_regime_zone,macro_regime_zone' \ --data-urlencode 'changes=true' \ -H "Authorization: Bearer YOUR_API_KEY"
Response
{ "level": "market", "timeframe": "daily", "fields": ["market_regime_zone", "macro_regime_zone"], "changes": ["market_regime_zone", "macro_regime_zone"], "date_mode": "range", "start": "2024-07-01", "end": "2024-09-30", "order": "desc", "row_count": 2, "rows": [ { "date": "2024-08-15", "market_regime_zone": "bull_narrow", "macro_regime_zone": "goldilocks", "changes": [{ "field": "market_regime_zone", "from": "correction", "to": "bull_narrow" }] }, { "date": "2024-08-05", "market_regime_zone": "correction", "macro_regime_zone": "goldilocks", "changes": [{ "field": "market_regime_zone", "from": "bull_narrow", "to": "correction" }] } ] }

To watch some bands while returning others, pass the bands to watch instead of true: changes=market_regime_zone. With changes=true and no bands in fields, every band is watched.

Every market band also has the same change markers as ticker bands (_prev, _periods, _stability, _flips_recent_count; see Search). Here they count market rows: sessions on daily, weeks on weekly. They work in filters, so “the yield curve just un-inverted” is two filters:

Every date the 10-year minus 2-year curve left inversion
curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'start=2019-01-01' \ --data-urlencode 'end=2026-10-31' \ --data-urlencode 'fields=macro_yield_curve_zone,macro_yield_curve_10y_minus_2y_pct' \ --data-urlencode 'filters=[{"field":"macro_yield_curve_zone_prev","op":"in","value":["inverted","deeply_inverted"]},{"field":"macro_yield_curve_zone","op":"in","value":["flat","normal","steep"]}]' \ -H "Authorization: Bearer YOUR_API_KEY"

And “breadth has been washed out for at least five sessions” is market_breadth_ma200_zone equal to washed_out and market_breadth_ma200_zone_periods at least 5.

With tickers

Market fields work inside Search. As filters, they keep only the dates when the condition held, and each ticker row is matched with the market row of its own date. In fields, they add that date's value to every row.

Stocks in an uptrend while most of the market isn't
curl -G "https://api.tickerdb.com/v1/search" \ --data-urlencode 'filters=[{"field":"market_breadth_ma200_zone","op":"in","value":["washed_out","weak"]},{"field":"trend_direction","op":"eq","value":"uptrend"},{"field":"asset_class","op":"eq","value":"stock"}]' \ --data-urlencode 'fields=ticker,trend_direction,market_breadth_ma200_zone' \ -H "Authorization: Bearer YOUR_API_KEY"

Market filters count toward Search's limit of 10 filters.

What a row knows

A row for date D includes everything known by 04:00 UTC the next morning. Economic data adds two things to keep in mind:

  • Values are as first published. Each macro_* value is the release that was public on that date, never a later revision. When no first release can be proven for a date, the value is null.
  • Monthly and weekly data holds until the next release, so a band can keep the same value for weeks. A value too old for its series becomes null.

null means unknown: too few stocks, a series not released yet, or a gap. October 2025 wasn't published, because the federal shutdown stopped the surveys; it stays empty, and changes over that month compare the published months on either side.

Parameters

ParameterDefaultDescription
fieldsevery band and numberMarket fields, as a comma-separated list or a JSON array, change markers included. * adds the markers
datelatestOne date, YYYY-MM-DD. See One date
start, end—A date range instead of date, both included
timeframedailydaily or weekly
filters—Up to 10 conditions on market fields, as a JSON array of {"field", "op", "value"}. Operators: eq, neq, in, and gt, gte, lt, lte for numbers
changes—true, or the bands to watch. See Finding what changed
orderdescRanges only: desc for newest first, or asc
limit100Ranges only: up to 2,000 rows

Response fields

FieldTypeDescription
rowsobject[]One per date: date and your fields. With changes, also changes: {"field", "from", "to"} for each watched band that changed
row_countintegerRows returned
date_modestringlatest, explicit or range
datestringLatest and one date: the date of the row
requested_datestringOne date: the date you asked for
start, end, orderstringRanges: what was read
fieldsstring[]The fields in each row
changesstring[]The bands watched for changes
filter_countintegerFilters applied
level, timeframestring"market", and the timeframe read
knowledge_cutoffstringWhen each row's information stops: 04:00 UTC the day after its date
band_contractstringVersion of the band definitions. Compare band values only between responses with the same one

Errors

Statuserror.typeCauseWhat to do
400invalid_parameterAn unknown parameter or field, a malformed filter, date together with start/end, or order/limit without a range. A ticker field here is unknown.Read the message: it names the problem. Check field names with Schema, and send ticker fields to Search.
403tier_restrictedA date before your plan's first readable date.Use a later date, or upgrade at the upgrade_url in the response.
404no_dataNo row on date or in the 10 days before it (14 on weekly).Try a later date, or leave out date for the latest.

Errors aren't charged. Authentication and rate-limit errors are on Authentication and Errors & Caching.

Headline numbers

Every band is published. Raw numbers are published only for these:

FieldDescription
market_fear_greed_scoreUS stock market fear and greed, 0 to 100, higher is greedier. Six readings (trend, new highs, volume, volatility, stocks against bonds, junk bonds against Treasuries), each ranked against the last year
market_stocks_below_ma200_pctPercent of stocks closing below their own 200-day average (35.0 means 35%)
market_aggregate_pe_ratioThe whole market's trailing P/E: total market cap over total earnings of the last 12 months (21.5 means 21.5 times a year's earnings). null when total earnings aren't positive
market_analyst_eps_revision_breadth_pctCompanies whose consensus earnings estimate was raised over the last 28 days, minus those cut, in percentage points (12.0 means 12 points more raised than cut). Built from estimates as they stood at the time, so it starts in October 2026
macro_yield_curve_10y_minus_2y_pctThe 10-year Treasury yield minus the 2-year, in percentage points. Negative means inverted
macro_treasury_yield_2y_pct2-year Treasury yield, in percent (4.25 means 4.25%)
macro_treasury_yield_10y_pct10-year Treasury yield, in percent
macro_fed_funds_rate_pctEffective federal funds rate, in percent (5.33 means 5.33%)
macro_cpi_inflation_yoy_pctConsumer price inflation over a year, in percent (3.2 means prices up 3.2%)
macro_unemployment_rate_pctUnemployment rate, in percent (4.1 means 4.1%)
macro_gdp_growth_annualized_pctReal GDP growth in the newest quarter, annualized, in percent (2.8 means 2.8% a year)
macro_unemployment_u6_pctU-6, the broad unemployment rate: also counts people working part time who want full time, and people who gave up looking (7.8 means 7.8%)
macro_participation_rate_pctShare of people 16 and over who are working or looking for work, in percent
macro_hourly_earnings_usdAverage hourly earnings in the private sector, in US dollars (36.53 means $36.53)
macro_wage_growth_yoy_pctGrowth of average hourly earnings over a year, in percent
macro_job_hires_rate_pctHires in the month as a percent of everyone employed (JOLTS, about 5 weeks late)
macro_job_quits_rate_pctPeople who quit in the month as a percent of everyone employed (JOLTS)
macro_continued_claims_countPeople still claiming unemployment insurance (1850000 means 1.85 million), published 12 days after the week it covers
macro_continued_claims_change_4w_pctChange in continued claims over 4 weeks, in percent (2.5 means up 2.5%)
macro_insured_unemployment_pctContinued claims as a percent of jobs covered by unemployment insurance
macro_u6_minus_u3_pctU-6 minus the official unemployment rate, in percentage points: the slack the headline rate leaves out

Bands

Exact definitions, sources and when each one is null are in Schema: /v1/schema/fields returns them for every field.

Market sentiment

FieldValuesMeaning
market_fear_greed_zone extreme_fear, fear, neutral, greed, extreme_greed Band of market_fear_greed_score

Market regime and breadth

FieldValuesMeaning
market_regime_zone bull_broad, bull_narrow, correction, bear, recovery The headline regime, from the S&P 500's drawdown and trend and how many stocks share it. bull_broad: most stocks are in it too. bull_narrow: the index is up, most stocks aren't. recovery: climbing back with breadth improving
market_breadth_ma50_zone washed_out, weak, neutral, strong, overextended How many stocks close above their own 50-day average
market_breadth_ma200_zone washed_out, weak, neutral, strong, overextended How many stocks close above their own 200-day average
market_breadth_trend deteriorating, stable, improving Whether the share of stocks above their 200-day average rose or fell over the last 20 sessions
market_new_highs_lows_zone capitulation, lows_dominant, balanced, highs_dominant, euphoric Stocks at 52-week highs against stocks at 52-week lows
market_advance_decline_zone broad_selloff, declining, mixed, advancing, broad_rally Stocks that rose against stocks that fell, on this session alone
market_breadth_thrust_zone none, thrust A breadth thrust: advancing stocks went from washed out to strong within 10 sessions, a rare sign of a new rally. Lasts 20 sessions
market_trend_participation_zone narrow, moderate, broad How many stocks are in an uptrend (above a rising 50-day average that is above the 200-day)

Market momentum, volatility and leadership

FieldValuesMeaning
market_rsi_zone oversold, weak, neutral, strong, overbought Average 14-day RSI across stocks
market_volatility_zone calm, normal, elevated, stressed How much the typical stock moves a day, against the last 3 years
market_volatility_trend falling, stable, rising Whether the typical stock's daily move grew or shrank over the last 20 sessions
market_dispersion_zone low, normal, high How differently stocks performed over 20 sessions, against the last 3 years. high is a stock picker's market
market_leadership_zone narrow, balanced, broad Whether the largest companies are carrying the market (narrow) or the average stock is keeping up (broad), over 20 sessions
market_size_leadership_zone large_caps_leading, neutral, small_caps_leading Small caps (IWM) against large caps (SPY), over 20 sessions
market_risk_appetite_zone risk_off, neutral, risk_on Cyclical sectors against defensive ones, and junk bonds against Treasuries, over 20 sessions. neutral when the two disagree

Market fundamentals

FieldValuesMeaning
market_valuation_zone cheap, fair, expensive, extreme Band of market_aggregate_pe_ratio
market_earnings_growth_zone contracting, flat, growing, strong Median company's earnings per share growth over a year
market_earnings_growth_trend decelerating, stable, accelerating Whether earnings growth sped up or slowed in the newest quarter
market_earnings_breadth_zone narrow, mixed, broad How many companies grew earnings per share over a year
market_revenue_growth_zone contracting, flat, growing, strong Median company's revenue growth over a year
market_margin_trend_zone compressing, mixed, expanding How many companies have a higher operating margin than a year ago
market_speculation_zone low, normal, elevated, extreme How many companies lost money over the last 12 months
market_capital_return_zone net_issuance, neutral, net_buybacks Whether companies are buying back shares or issuing new ones, on balance
market_insider_sentiment_zone heavy_selling, normal, buying, cluster_buying Companies with insiders buying on the open market against companies with insiders selling, over 90 days
market_earnings_season_zone off_season, early, peak, late How far into earnings season we are. Early in a season, the other fundamentals bands mostly still reflect the previous quarter
market_capex_growth_zone contracting, flat, growing, surging Median company's growth in capital spending over a year
market_capex_growth_trend decelerating, stable, accelerating Whether capital spending growth sped up or slowed against the previous quarter
market_capex_breadth_zone narrow, mixed, broad How many companies grew capital spending over a year
market_capex_intensity_zone low, normal, high Capital spending as a share of revenue, against the last 3 years
market_capex_concentration_zone broad, concentrated, extreme How much of all capital spending comes from the 10 biggest spenders
market_equity_risk_premium_zone stocks_expensive_vs_bonds, neutral, stocks_cheap_vs_bonds The market's earnings yield against the 10-year Treasury yield: whether stocks are cheap or expensive next to bonds

Market analyst estimates

FieldValuesMeaning
market_analyst_eps_revision_breadth_zone strongly_negative, negative, balanced, positive, strongly_positive Band of market_analyst_eps_revision_breadth_pct

Rates and the yield curve

FieldValuesMeaning
macro_yield_curve_zone deeply_inverted, inverted, flat, normal, steep The 10-year Treasury yield minus the 2-year. inverted: the 10-year yields less
macro_yield_curve_10y_minus_3m_zone deeply_inverted, inverted, flat, normal, steep The 10-year Treasury yield minus the 3-month
macro_yield_curve_trend flattening, stable, steepening Whether the 10-year minus 2-year spread widened or narrowed over 3 months
macro_rates_level_zone very_low, low, normal, high, very_high How high the 10-year Treasury yield is
macro_rates_trend falling_fast, falling, stable, rising, rising_fast How far the 10-year Treasury yield moved over 3 months
macro_real_yield_zone negative, low, neutral, restrictive The 10-year yield after inflation (TIPS). From 2003
macro_mortgage_rate_zone low, normal, high The 30-year fixed mortgage rate (Freddie Mac, weekly)

Policy, liquidity and credit

FieldValuesMeaning
macro_fed_policy_zone easing, on_hold, tightening Whether the Fed cut, held or raised its rate over the last 6 months
macro_fed_stance_zone accommodative, neutral, restrictive The fed funds rate minus core inflation: whether policy is holding the economy back or helping it
macro_liquidity_zone fast_tightening, tightening, flat, easing Whether the Fed's balance sheet grew or shrank over 13 weeks
macro_money_growth_zone contracting, slow, normal, fast M2 money supply growth over a year
macro_financial_stress_zone calm, normal, elevated, crisis St. Louis Fed Financial Stress Index. From November 2022
macro_credit_conditions_zone easing, neutral, tightening, severe_tightening How many banks are tightening lending standards for businesses (Fed survey, quarterly)

Inflation

FieldValuesMeaning
macro_inflation_zone deflation, below_target, near_target, elevated, high Consumer price inflation over a year (CPI), against the Fed's 2% goal
macro_core_inflation_zone deflation, below_target, near_target, elevated, high Core PCE inflation over a year, the measure the Fed targets, against its 2% goal
macro_inflation_trend cooling, stable, heating Whether CPI inflation rose or fell over 3 months
macro_inflation_expectations_zone low, anchored, elevated, unanchored Inflation the bond market expects over 10 years, against the Fed's 2% goal

Labour

FieldValuesMeaning
macro_labor_market_zone tight, healthy, softening, weak The headline labour market, from unemployment, the Sahm rule and job openings per unemployed person
macro_sahm_rule_zone normal, warning, triggered The Sahm rule: unemployment rising fast from its low of the last year. triggered has marked the start of past recessions
macro_unemployment_trend falling, stable, rising Whether unemployment rose or fell over 3 months
macro_payrolls_zone contracting, weak, moderate, strong Jobs added a month, averaged over 3 months
macro_jobless_claims_trend improving, stable, deteriorating Whether new jobless claims rose or fell over 13 weeks. deteriorating means more claims

Labour detail

FieldValuesMeaning
macro_unemployment_u6_zone low, normal, elevated, high Band of macro_unemployment_u6_pct
macro_participation_zone low, normal, high Band of macro_participation_rate_pct
macro_wage_growth_zone slow, moderate, elevated, hot Band of macro_wage_growth_yoy_pct. moderate is roughly in line with 2% inflation
macro_hiring_zone weak, slow, normal, strong Band of macro_job_hires_rate_pct
macro_quits_zone low, normal, high, very_high Band of macro_job_quits_rate_pct. More quits means workers are confident of finding another job
macro_continued_claims_zone low, normal, elevated, high Band of macro_continued_claims_count
macro_continued_claims_trend improving, stable, deteriorating Direction of macro_continued_claims_change_4w_pct. deteriorating means more claims
macro_insured_unemployment_zone low, normal, elevated, high Band of macro_insured_unemployment_pct
macro_labor_slack_zone low, normal, elevated, high Band of macro_u6_minus_u3_pct

Growth

FieldValuesMeaning
macro_gdp_zone contraction, stall, moderate, strong Real GDP growth in the newest quarter, annualized
macro_gdp_nowcast_zone contraction, stall, moderate, strong The Atlanta Fed's estimate of this quarter's GDP growth (GDPNow), before the official number. From 2011

Dollar and oil

FieldValuesMeaning
macro_dollar_trend weakening, stable, strengthening How far the dollar moved against other currencies over 3 months. From 2006
macro_oil_trend collapsing, falling, stable, rising, spiking How far the oil price (WTI) moved over 3 months

Macro regime

FieldValuesMeaning
macro_regime_zone goldilocks, reflation, stagflation, deflationary_slowdown Growth against inflation. goldilocks: growth up, inflation down. reflation: both up. stagflation: growth down, inflation up. deflationary_slowdown: both down
macro_recession_risk_zone low, moderate, high How many of five recession signals are on: an inverted yield curve, the Sahm rule, financial stress, banks tightening credit, and rising jobless claims

Data sources

The macro_* bands are computed by TickerDB from public data published by: the U.S. Department of the Treasury (daily par yield curves), the Board of Governors of the Federal Reserve System (H.15 interest rates, H.10 exchange rates, H.4.1 balance sheet, the Kim-Wright term premium, the Senior Loan Officer Survey), the Bureau of Labor Statistics, the Bureau of Economic Analysis, the U.S. Department of Labor (unemployment insurance claims), the U.S. Energy Information Administration, the Office of Financial Research, the Federal Reserve Bank of Philadelphia (Real-Time Data Set for Macroeconomists), the Federal Reserve Bank of St. Louis (ALFRED/FRED vintage data, including the St. Louis Fed Financial Stress Index, M2 and the Freddie Mac mortgage rate survey), and the Federal Reserve Bank of Atlanta (GDPNow). The market_* bands are computed from US exchange prices and from company filings on SEC EDGAR. TickerDB is not affiliated with or endorsed by any of these organizations, and the bands are TickerDB's own classifications, not those publishers' statistics.