---
title: GET /por
---

# `GET /por`

Get the Proof of Reserves snapshot

The current Proof of Reserves figures, staleness, liability root and vault exposure.

Money, price, rate and count fields cross the wire as decimal strings; units are shown beside each field ([Wire encoding](/api/wire-encoding)). Group: [Proof of Reserves](/api/reference/proof-of-reserves/).

**Auth:** none (public)

**Effect:** `read`: reads only

## Request

```bash [curl]
curl -fsS "$HB/por"
```

```python [Python]
import os

import requests

HB = os.environ.get("HB", "https://testnet.hardbasis.com")

resp = requests.get(
    f"{HB}/por",
)
resp.raise_for_status()
print(resp.json())
```

```ts [TypeScript]
const HB = process.env.HB ?? "https://testnet.hardbasis.com";

const res = await fetch(`${HB}/por`, {
  method: "GET",
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());
```

## Responses

- **200**: OK
  - <span id="res-200-tsMs"></span>`tsMs` · string · unit `ms` · required
  - <span id="res-200-ageMs"></span>`ageMs` · string · unit `ms` · required
  - <span id="res-200-stale"></span>`stale` · boolean · required
  - <span id="res-200-staleAfterMs"></span>`staleAfterMs` · string · unit `ms` · required
  - <span id="res-200-status"></span>`status` · enum(`clean`, `warn`, `page`) · required
  - <span id="res-200-driftMsat"></span>`driftMsat` · string · unit `msat` · required
  - <span id="res-200-consolidationVerified"></span>`consolidationVerified` · boolean · required
  - <span id="res-200-snapshot"></span>`snapshot` · any · required
  - <span id="res-200-history"></span>`history` · object[] · required
    - <span id="res-200-history-tsMs"></span>`tsMs` · string · unit `ms` · required
    - <span id="res-200-history-status"></span>`status` · string · required
    - <span id="res-200-history-driftMsat"></span>`driftMsat` · string · unit `msat` · required
  - <span id="res-200-liability"></span>`liability` · object · required
    - <span id="res-200-liability-rootHash"></span>`rootHash` · string · required
    - <span id="res-200-liability-totalMsat"></span>`totalMsat` · string · unit `msat` · required
    - <span id="res-200-liability-leafCount"></span>`leafCount` · integer · required
    - <span id="res-200-liability-rootSaltHex"></span>`rootSaltHex` · string · required
    - <span id="res-200-liability-tsMs"></span>`tsMs` · string · unit `ms` · required
  - <span id="res-200-liabilityUsdhb"></span>`liabilityUsdhb` · object · required
    - <span id="res-200-liabilityUsdhb-rootHash"></span>`rootHash` · string · required
    - <span id="res-200-liabilityUsdhb-totalMicro"></span>`totalMicro` · string · unit `int` · required
    - <span id="res-200-liabilityUsdhb-leafCount"></span>`leafCount` · integer · required
    - <span id="res-200-liabilityUsdhb-rootSaltHex"></span>`rootSaltHex` · string · required
    - <span id="res-200-liabilityUsdhb-tsMs"></span>`tsMs` · string · unit `ms` · required
  - <span id="res-200-vaultExposure"></span>`vaultExposure` · object · required
    - <span id="res-200-vaultExposure-netPctOfEquityQ9"></span>`netPctOfEquityQ9` · string \| null · unit `q9` · required
    - <span id="res-200-vaultExposure-quantumQ9"></span>`quantumQ9` · string · unit `q9` · required
    - <span id="res-200-vaultExposure-tsMs"></span>`tsMs` · string · unit `ms` · required
    - <span id="res-200-vaultExposure-consolidationVerified"></span>`consolidationVerified` · boolean · required

Example `200` response:

```json
{
  "tsMs": "100000",
  "ageMs": "100000",
  "stale": true,
  "staleAfterMs": "100000",
  "status": "clean",
  "driftMsat": "100000",
  "consolidationVerified": true,
  "snapshot": null,
  "history": [
    {
      "tsMs": "100000",
      "status": "string",
      "driftMsat": "100000"
    }
  ],
  "liability": {
    "rootHash": "string",
    "totalMsat": "100000",
    "leafCount": 0,
    "rootSaltHex": "string",
    "tsMs": "100000"
  },
  "liabilityUsdhb": {
    "rootHash": "string",
    "totalMicro": "100000",
    "leafCount": 0,
    "rootSaltHex": "string",
    "tsMs": "100000"
  },
  "vaultExposure": {
    "netPctOfEquityQ9": "100000",
    "quantumQ9": "100000",
    "tsMs": "100000",
    "consolidationVerified": true
  }
}
```

## Errors

Every refusal carries a stable `code` from [`ErrorCode`](/api/reference/all#errorcode) beside human `error` prose; match on the code. See [Errors](/api/errors).

- **404**: A refusal carrying a stable machine `code` (ErrorCode) beside human `error` prose.
