Skip to main content
GET
/
api
/
public
/
v1
/
live
/
risk
/
coins
/
{coin}
/
history
Get API public v1 live risk coins by coin history
curl --request GET \
  --url https://api.coinversa.ai/api/public/v1/live/risk/coins/{coin}/history \
  --header 'X-API-Key: <api-key>'
{
  "availability": {
    "historicalClearinghouse": true,
    "liquidations": true,
    "liveCandles": true,
    "markPrices": true,
    "userActions": true
  },
  "candleHistory": [
    {
      "close": 123,
      "high": 123,
      "low": 123,
      "open": 123,
      "timestamp": 123,
      "volume": 123
    }
  ],
  "cohortBiasHistory": "<unknown>",
  "coin": "<string>",
  "freshness": {
    "historicalClearinghouse": "<string>",
    "liquidations": "<string>",
    "liveCandles": "<string>",
    "livePositions": "<string>",
    "longShort": "<string>",
    "markPrices": "<string>"
  },
  "generatedAt": "<string>",
  "hours": 123,
  "liquidations": {
    "availability": {
      "historicalClearinghouse": true,
      "liquidations": true,
      "liveCandles": true,
      "markPrices": true,
      "userActions": true
    },
    "avgClosedPnl": 123,
    "avgPenaltyFee": 123,
    "bucketSizeMs": 123,
    "byCoin": [
      {
        "coin": "<string>",
        "count": 123,
        "totalClosedPnl": "<unknown>",
        "totalPenaltyFees": "<unknown>"
      }
    ],
    "count": 123,
    "freshness": {
      "historicalClearinghouse": "<string>",
      "liquidations": "<string>",
      "liveCandles": "<string>",
      "livePositions": "<string>",
      "longShort": "<string>",
      "markPrices": "<string>"
    },
    "generatedAt": "<string>",
    "since": "<string>",
    "timeline": [
      {
        "bucketStart": 123,
        "count": 123,
        "totalClosedPnl": "<unknown>",
        "totalPenaltyFees": "<unknown>"
      }
    ],
    "totalClosedPnl": 123,
    "totalPenaltyFees": 123,
    "$schema": "<string>",
    "coin": "<string>"
  },
  "longShortHistory": [
    {
      "timestamp": 123,
      "value": 123
    }
  ],
  "markDislocations": [
    {
      "basisPct": 123,
      "markPx": 123,
      "oraclePx": 123,
      "timestamp": 123
    }
  ],
  "oiHistory": [
    {
      "coin": "<string>",
      "openInterest": 123,
      "timestamp": "<unknown>",
      "markPx": "<unknown>"
    }
  ],
  "$schema": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.coinversa.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

coin
string
required

Query Parameters

hours
integer<int32>
default:168

Response

OK

availability
object
required
candleHistory
object[] | null
required
cohortBiasHistory
any
required
coin
string
required
freshness
object
required
generatedAt
string
required
hours
integer<int32>
required
liquidations
object
required
longShortHistory
object[] | null
required
markDislocations
object[] | null
required
oiHistory
object[] | null
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/CoinRiskHistoryBody.json"