---
title: "MarketWatch API: History | Perceptlayer"
description: "History from MarketWatch as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/marketwatch/history
---

[APIs](https://perceptlayer.com/apis) / [MarketWatch](https://perceptlayer.com/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.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `ticker` | string | Required | Up to 15 characters |
| `period` | string | Optional | P1Y, D5 |
| `step` | string | Optional | P1D, 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 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/marketwatch?try=history#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.

| Field | Type |
| --- | --- |
| `ticker` | string |
| `period` | string |
| `step` | string |
| `candles` | object\[\] |
| `exchange` | string |
