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

# Get all crack spreads

`GET /v1/spreads/crack/all`

## Request

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

Every crack spread currently calculated.

## Response `200`

Get all crack spreads

- object
  - `status` string, required
  - `data` object, required
    - `crude_benchmark` string
    - `spreads` object[]
      - `spread_type` string
      - `value` number
      - `unit` string
      - `data_stale` boolean: Present and true when any leg of this spread (every leg for 3-2-1) is older than 24 hours. Absent when every leg is fresh.
      - `stale_warning` string: Present only alongside data_stale.

## 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-12** `1b0373823190`: 2 info
  - added the optional property `data/spreads/items/data_stale` to the response with the `200` status
  - added the optional property `data/spreads/items/stale_warning` to the response with the `200` status
- **2026-08-25** `0e79e21dee2e`: 4 info
  - 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`
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/changes/v1/spreads/crack/all/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)
