Browse the docs

Market summary API

Headline index, futures and currency tiles for a market overview in one call, in the YH marketSummaryResponse shape.

GET/v6/finance/quote/marketSummary

Request

curl -H "x-api-key: $KEY" \
  "https://api.stockdataapi.com/v6/finance/quote/marketSummary?region=US"

Send your key in the x-api-key header. Try it in the browser with your own key.

Parameters

region
querystring
Two-letter region, such as US. Omitted: every tile.

Also accepted, for compatibility with existing clients, and ignored: lang.

Behavior

  • Without region, or for a region with no tiles, the global set is served. The US tiles are the ones refreshed from the source by default.
  • Values keep YH's {raw, fmt} wrapping.

Example response

{
  "marketSummaryResponse": {
    "result": [
      {
        "region": "US",
        "symbol": "^GSPC",
        "exchange": "SNP",
        "quoteType": "INDEX",
        "shortName": "S&P 500",
        "regularMarketPrice": { "raw": 5300.25, "fmt": "5,300.25" },
        "regularMarketChange": { "raw": 10.25, "fmt": "10.25" }
      },
      {
        "region": "US",
        "symbol": "ES=F",
        "exchange": "CME",
        "quoteType": "FUTURE",
        "shortName": "E-Mini S&P 500",
        "regularMarketPrice": { "raw": 5330.0, "fmt": "5,330.00" }
      }
    ],
    "error": null
  }
}
json

Every plan includes this endpoint.

Create your free key