---
title: "Latest ratio point for a pair — the most-recent shared-date ratio (Pro+)"
method: GET
path: "/v1/ratios/latest"
tags: ["ratios"]
---

# Latest ratio point for a pair — the most-recent shared-date ratio (Pro+)

`GET /v1/ratios/latest`

Return the single most-recent shared-date ratio point for a pair.

Returns 200 with point: null when no shared date exists (e.g. before
either leg is backfilled) — never 404 on empty (mirrors /v1/bars/latest).

## Query parameters

- `pair` string, required — Pair slug (e.g. 'gold-silver', 'gold-platinum', 'gld-xau').

## Response `200`

Successful Response

- LatestRatioResponse — Response envelope for GET /v1/ratios/latest. point is null (not present) when no shared-date bar exists for both legs. The response is always 200 — never 404 on empty (mirrors /v1/bars/latest).
  - `pair` string, required
  - `numerator` string, required
  - `denominator` string, required
  - `interval` string
  - `point` RatioPoint — One data point in the ratios series. date is YYYY-MM-DD (daily). ratio/numerator_close/denominator_close are Decimal-as-string (4 dp), matching the price_bars NUMERIC(14,4) store. A point is only emitted when BOTH legs have a bar for that date — no forward-fill, no fabrication (Invariant #1 honesty).
    - `date` string, required — Bar date in YYYY-MM-DD format (UTC midnight = bar_start_utc). Only emitted when both numerator and denominator have a settled bar for this date — no forward-fill, no fabricated rows.
    - `ratio` string, required — numerator_close / denominator_close as a decimal string (4 dp). Example: '88.1234'. Never null — a date without both legs is simply absent from the series.
    - `numerator_close` string, required — Closing price of the numerator instrument as a decimal string.
    - `denominator_close` string, required — Closing price of the denominator instrument as a decimal string.
  - `meta` RatiosMeta, required — Metadata block in RatiosResponse. Mirrors BarsMeta.
    - `tier` string, required
    - `count` integer, required

## Other responses

- `400` — Bad request.
- `401` — Authentication failed.
- `403` — The caller's tier does not allow this request.
- `404` — The requested resource is unavailable or not found.
- `422` — Validation Error
- `429` — Per-minute, anonymous, or monthly quota exceeded.
- `500` — The operation failed internally.
- `503` — A required backend or data source is temporarily unavailable.

---

[API](https://skmtc.net/goldprice/apis/gold-api.md) · [All operations](https://skmtc.net/goldprice/apis/gold-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goldprice/gold-api/revisions/5e6518098e6e/schema)
