---
title: "Get API public v1 live oi history"
method: GET
path: "/api/public/v1/live/oi-history"
---

# Get API public v1 live oi history

`GET /api/public/v1/live/oi-history`

## Query parameters

- `hours` integer

## Response `200`

OK

- OIHistoryBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `history` OISnapshot[], nullable, required
    - `coin` string, required
    - `markPx` unknown
    - `openInterest` number, double, required
    - `timestamp` unknown, required
  - `latest` OISnapshot
    - `coin` string, required
    - `markPx` unknown
    - `openInterest` number, double, required
    - `timestamp` unknown, required

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error
- `504` — Gateway Timeout

## Changes

- **2026-09-23** `f2eba29805e5` — 7 info
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
  - added the optional property `reason` to the response with the `400` status
  - added the optional property `reason` to the response with the `422` status
  - …3 more

[Change history](https://skmtc.dev/coinversa/apis/coinversa-api/changes/api/public/v1/live/oi-history/get.md)

---

[API](https://skmtc.dev/coinversa/apis/coinversa-api.md) · [All operations](https://skmtc.dev/coinversa/apis/coinversa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/coinversa/apis/coinversa-api/revisions/f2eba29805e5?raw)
