---
title: "Previous close"
method: GET
path: "/v1/last/close/{venue}/{symbol}"
tags: ["Live"]
---

# Previous close

`GET /v1/last/close/{venue}/{symbol}`

## Request

- Base URL: `https://api.sifting.io`
- URL: `https://api.sifting.io/v1/last/close/{venue}/{symbol}`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/sifting/apis/siftingio-market-data-api/docs/v1/last/close/:venue/:symbol/get.ts> (a function with typed inputs; its response is checked against the schema)

The most recent previous close for one instrument. For crypto/forex/ commodities this is the engine's fair price frozen at the last 00:00 UTC boundary; for stocks it is the official exchange session close. The response is immutable until the next close, so it is edge-cacheable (Cache-Control max-age expires at the next boundary) unlike the live trade/quote reads.

## Path parameters

- `venue` 'stocks' | 'crypto' | 'forex' | 'commodities', required
- `symbol` string, required

## Response `200`

Latest previous close.

- LastClose
  - `s` string: Symbol.
  - `c` string: Close price.
  - `d` string: UTC close date, YYYY-MM-DD.
  - `t` integer: Close-boundary Unix epoch milliseconds.

## Other responses

- `401`: Missing or invalid API key.
- `404`: Resource not found.
- `429`: Rate limit exceeded.
- `503`: Upstream or snapshot temporarily unavailable.

---

[API](https://skmtc.dev/sifting/apis/siftingio-market-data-api.md) - [All operations](https://skmtc.dev/sifting/apis/siftingio-market-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sifting/apis/siftingio-market-data-api/revisions/c570068c2359?raw)
