---
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

---

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