Skip to main content

Megatrends & Themes

The megatrend taxonomy is a 3-tier tree of investment themes — from broad macro trends (tier 1) down to specific sub-themes (tier 3). Every article and stock in MarketDX is mapped to nodes in this tree.

Node ids are 8-digit integers: tier-1 nodes end in 000000 (e.g. 10000000), tier-2 in 0000 (e.g. 10010000), tier-3 are fully specific (e.g. 10010100).


Endpoints​

MethodPathDescription
GET/v1/megatrendsList/browse the taxonomy tree
GET/v1/megatrends/:idGet one node's metadata
GET/v1/megatrends/:id/stocksListed stocks mapped to this node
GET/v1/megatrends/:id/off-coveragePrivate and off-coverage companies
GET/v1/megatrends/:id/contextTheme context rail (leaders, news, cross-asset)
GET/v1/themes/:id/summaryComposed analyst brief for a theme
GET/v1/briefAnalyst brief over any scope combo — see News

GET /v1/megatrends​

Browse or navigate the taxonomy tree. All parameters are optional — omitting all returns the full flat list.

ParameterTypeDescription
depthintegerReturn only nodes at tier 1, 2, or 3. Also accepted as tier.
underintegerReturn the recursive subtree under this node id. Works at any tier.
parentintegerReturn immediate children of this node id only (one level).
All tier-1 (broad) themes
GET /v1/megatrends?depth=1
Subtree under EV theme (node 10010000)
GET /v1/megatrends?under=10010000
Direct children of a tier-2 node
GET /v1/megatrends?parent=10010000

GET /v1/megatrends/:id​

Metadata for a single node — name, description, tier, parent chain, aliases.

GET /v1/megatrends/10010000

Returns 404 if the node id does not exist.


GET /v1/megatrends/:id/stocks​

Listed stocks mapped to this megatrend node, including rollup from descendant nodes by default.

Query parameters​

ParameterTypeRequiredDescription
countrystring✅ISO-2 country code (e.g. US, JP, TW) or all for the global roster.
exposurestring—core, secondary, or all (default). How central the theme is to the company.
rollupstring—true (default) — include descendant nodes. false = exact node only.
exchangestring—Filter to a specific exchange code.
domicilestring—Filter by country of incorporation.
limitinteger—Page size. Default 20.
offsetinteger—Pagination offset.
All US stocks in the EV theme
GET /v1/megatrends/10010000/stocks?country=US
Core-exposure global EV roster
GET /v1/megatrends/10010000/stocks?country=all&exposure=core

GET /v1/megatrends/:id/off-coverage​

Private and public-but-uncovered companies mapped to this node. Complements /stocks (which only returns listed equities).

To get both listed + off-coverage together, call both endpoints and concatenate — each row self-identifies via type.

ParameterTypeDescription
kindstringprivate — never listed. public_off_coverage — listed on markets not ingested. Omit for both.
exposurestringcore, secondary, or all.
countrystringFilter by country.
rollupstringInclude descendant nodes (default true).
include_flaggedstringtrue to include audit-flagged mappings. Default false (clean only).
limitintegerPage size. Default 20.
offsetintegerPagination offset.
Private AI companies
GET /v1/megatrends/10000000/off-coverage?kind=private&country=US

GET /v1/megatrends/:id/context​

The theme's context rail — a composed view of three lenses over the node's roster:

  1. Leaders — top stocks by market cap and recent performance
  2. In news — most impacted stocks from recent articles
  3. Cross-asset — related commodities, currencies, and macro indicators

Cached 6 hours. No additional parameters.

GET /v1/megatrends/10010000/context

GET /v1/themes/:id/summary​

Composed analyst brief for a theme — returns a bundled payload with:

  • Pulse timeseries — article volume and sentiment over time
  • Top stories — most impactful recent articles
  • Ripple — which adjacent themes were affected
  • Winners/losers — stocks most benefited or hurt
  • Aspect heatmap — which impact channels dominated
  • Top entities — most frequently mentioned companies and private firms

:::info Cost GET /v1/themes/:id/summary charges 15 credits (bundles ~5 sub-queries). :::

Query parameters​

ParameterTypeDescription
windowstring7d, 30d (default), 90d, 180d, 1y, mtd, qtd, or ytd.
from / tostringISO date range, alternative to window.
intervalstringPulse timeseries granularity (day, week).
countrystringScope stock data to a country.
langstringLanguage for labels. Default en.
90-day brief for the EV theme
GET /v1/themes/10010000/summary?window=90d
Date-range brief
GET /v1/themes/10010000/summary?from=2026-01-01&to=2026-06-30

exposure values​

ValueMeaning
coreThe theme is central to the company's business model
secondaryThe company has partial/indirect exposure to the theme
allNo filter — both core and secondary