# Permit price history

`GET /collateral/permits/history` · Lithos client API · Collateral Market

Source: https://lithosprotocol.org/docs/api/get-collateral-permit-history

What each waiting position paid to join, oldest first — the permit curve as actually joined. Covers only positions still waiting; activated ones are not reconstructible. The newest join is always the last point, so the series ends at today's price.

## Parameters

| Name | In | Type | Required | Description |

|---|---|---|---|---|

| `limit` | query | integer · int32 | no | Roughly how many points to return, capped at 2000 |

## Responses

### 200: Sampled permit prices across the waiting queue

`CollateralPermitHistory`

- `points` (CollateralPermitHistoryPoint[], required)
  - `position` (integer · int64, required): Queue position taken at join time; ascending with the series
  - `height` (integer · int32, required): Height the join confirmed at
  - `permitLit` (string, required): Permit locked by this position. Decimal string.
- `coveredHeadPosition` (integer · int64, required): Queue head at snapshot time — the series starts no older than this
- `coveredTailPosition` (integer · int64, required): Queue tail at snapshot time — where a new join would land
- `truncated` (boolean, required): True when the scan cap cut the window short of the whole waiting queue

### 503: Node unavailable. Retry.

`ApiError`

- `error` (integer, required): Error code
- `reason` (string, required): Error message explaining the reason of the error
- `detail` (string, required): Detailed error description

### default: Error

`ApiError`

- `error` (integer, required): Error code
- `reason` (string, required): Error message explaining the reason of the error
- `detail` (string, required): Detailed error description

## Example request

```bash
curl -X GET "http://localhost:9000/collateral/permits/history"
```

## Example response

```json
{
  "points": [
    {
      "position": 411,
      "height": 484102,
      "permitLit": "19370000000"
    }
  ],
  "coveredHeadPosition": 410,
  "coveredTailPosition": 1247,
  "truncated": false
}
```
