APIs / MarketWatch / History

MarketWatch: History

History from MarketWatch as JSON. 1 credit per successful call.

GET /v1/marketwatch/history

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
tickerstringRequiredUp to 15 characters
periodstringOptionalP1Y, D5
stepstringOptionalP1D, PT1H

Example request

MarketWatch
GET/v1/marketwatch/history?ticker=AAPL
{
  "ticker": "AAPL",
  "period": "P1Y",
  "step": "P1D",
  "candles": [
    {
      "date": "2025-12-01",
      "timestamp": 1764547200,
      "time": "2025-12-01T00:00:00Z",
      "open": 278.01,
      "high": 283.42,
      "low": 276.14,
      "close": 283.1
    },
    {
      "date": "2025-12-02",
      "timestamp": 1764633600,
      "time": "2025-12-02T00:00:00Z",
      "open": 283,
      "high": 287.4,
      "low": 282.6301,
      "close": 286.19
    },
    {
      "date": "2025-12-03",
      "timestamp": 1764720000,
      "time": "2025-12-03T00:00:00Z",
      "open": 286.2,
      "high": 288.62,
      "low": 283.3,
      "close": 284.15
    }
  ],
  "exchange": "XNAS",
  "source": "marketwatch"
}
200 OKJSONX-Credits-Used: 1
Recorded 30 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
tickerstring
periodstring
stepstring
candlesobject[]
exchangestring