---
title: "Get latest transaction index value"
method: GET
path: "/v1/txn-index/current"
tags: ["Transaction Index"]
---

# Get latest transaction index value

`GET /v1/txn-index/current`

## Request

- Base URL: `https://api.liquidcompute.co`
- URL: `https://api.liquidcompute.co/v1/txn-index/current`
- Auth: API key in header `X-API-Key`

Returns the latest transaction index value.

## Query parameters

- `index_type` 'raw' | 'blended_sigmoid'
- `gpu_family` 'hopper' | 'blackwell'
- `gpu_group` 'h100'
- `region_group` 'US' | 'EU' | 'APAC' | 'all'
- `contract_type` 'spot' | 'ondemand' | 'combined'

## Response `200`

Latest transaction index values.

- TransactionIndexCurrentResponse
  - `data` TransactionIndexPoint[], required
    - `date` string, date, required
    - `gpu_family` string
    - `gpu_group` string, nullable
    - `region_group` string
    - `contract_type` string
    - `index_type` string
    - `index_value` number, required
    - `p5` number, nullable, required: 5th percentile; null on blended_sigmoid rows, which publish no band.
    - `p95` number, nullable, required: 95th percentile; null on blended_sigmoid rows, which publish no band.
    - `txn_count` integer, nullable, required: Transactions behind the value; null on blended_sigmoid rows.
  - `total_count` integer
  - `filters` object

## Other responses

- `400`: Invalid or unsupported query parameter.
- `401`: Missing or invalid API key.
- `404`: Unknown endpoint, unavailable resource, or an index or index family outside your authorization.
- `429`: Rate limit exceeded.
- `502`: Upstream service or gateway configuration failure.
- `503`: API-key validation is temporarily unavailable.

---

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