Documentation / New API reference / CoinGecko
Get CoinGecko Latest Block
Reference
Last reviewed 2026-10-07
Latest indexed block.
Try it
Parameters
No parameters.
Responses
200 — Latest indexed block
| Field | Type | Required | Description |
|---|---|---|---|
block | object | Yes | CoinGecko latest-block descriptor. Field names are camelCase per the CoinGecko contract. |
block.blockNumber | integer (int32) | Yes | Block number. |
block.blockTimestamp | integer (int64) | Yes | Block timestamp in unix seconds. |
404 — No indexed block
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Plain-english message describing the failure from the caller's perspective. |
status_code | integer (int32) | Yes | HTTP status code (mirrored in the response status line for convenience). |
500 — Internal server error
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Plain-english message describing the failure from the caller's perspective. |
status_code | integer (int32) | Yes | HTTP status code (mirrored in the response status line for convenience). |
Every request needs an Authorization header holding your API key — see Getting started with the Taostats API.