---
title: "Find timestamp by sequence"
method: GET
path: "/explorer/{network}/ledger/timestamp-from-sequence"
tags: ["Ledger Info API"]
---

# Find timestamp by sequence

`GET /explorer/{network}/ledger/timestamp-from-sequence`

Resolves ledger closing timestamp for a give ledger sequence.

## Path parameters

- `network` 'public' | 'testnet', required — Stellar network

## Query parameters

- `sequence` integer, required

## Response `200`

Timestamp resolved

- LedgerTimestampSequenceInfo — Ledger sequence-timestamp pair
  - `sequence` integer — Ledger sequence
  - `timestamp` integer — Unix timestamp (UTC)
  - `date` string, date-time — Ledger date

## Other responses

- `400` — Invalid sequence
- `404` — Ledger with a given sequence cannot be found

## Changes

- **2022-10-01** `e98582bd958f` — 1 info
  - endpoint added
- **2022-06-01** `e95744a13be0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/stellar-expert/apis/stellarexpert-api/changes/explorer/:network/ledger/timestamp-from-sequence/get.md)

---

[API](https://skmtc.dev/stellar-expert/apis/stellarexpert-api.md) · [All operations](https://skmtc.dev/stellar-expert/apis/stellarexpert-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stellar-expert/stellarexpert-api/revisions/5d96955edab4/schema)
