---
title: "Get crack spread history"
method: GET
path: "/v1/spreads/crack/historical"
tags: ["Spreads"]
---

# Get crack spread history

`GET /v1/spreads/crack/historical`

## Request

- Base URL: `https://api.oilpriceapi.com`
- URL: `https://api.oilpriceapi.com/v1/spreads/crack/historical`
- Auth: API key in header `Authorization`

Historical crack spread series.

## Query parameters

- `type` 'jet' | 'diesel' | 'gasoline' | '3-2-1'
- `crude` 'BRENT_CRUDE_USD' | 'WTI_USD' | 'BRENT_SPOT_USD' | 'WTI_SPOT_USD'
- `start_date` string, date
- `end_date` string, date

## Response `200`

Get crack spread history

- object
  - `status` string, required
  - `data` object, required
    - `period` string
    - `count` integer
    - `data` object[]
      - `date` string
      - `value` number
    - `spread_type` string
    - `crude_benchmark` string
    - `coverage` string
    - `data_revised_at` string, date-time

## Other responses

- `400`: A required parameter is missing or invalid. The message enumerates valid values.
- `401`: Missing or invalid API key.
- `500`: Unexpected server error. Retry transient failures with bounded backoff and retain the request ID when contacting support.

## Changes

- **2026-10-17** `d83e7b18c195`: 1 warning, 4 info
  - deleted the `query` request parameter `period`
  - added the new optional `query` request parameter `crude`
  - added the new optional `query` request parameter `end_date`
  - added the new optional `query` request parameter `start_date`
  - …1 more
- **2026-08-25** `0e79e21dee2e`: 5 info
  - added the new optional `query` request parameter `period`
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `401`
  - added the non-success response with the status `400`
  - …1 more

[Operation history](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/changes/v1/spreads/crack/historical/get.md)

---

[API](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1.md) - [All operations](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/revisions/7f8b4d763210?raw)
