Get Coingecko latest block
Endpoint
Section titled “Endpoint”GET /api/coingecko/latest-blockParameters
Section titled “Parameters”No parameters.
Responses
Section titled “Responses”200 — Latest block retrieved successfully
Section titled “200 — Latest block retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "block" ], "properties": { "block": { "type": "object", "required": [ "blockNumber", "blockTimestamp" ], "properties": { "blockNumber": { "type": "integer", "format": "int32" }, "blockTimestamp": { "type": "integer", "format": "int64" } } } }}Examples
{ "Result": { "value": "{}" }}400 — Bad request
Section titled “400 — Bad request”404 — Latest block not found
Section titled “404 — Latest block not found”500 — Internal server error
Section titled “500 — Internal server error”Try it
Section titled “Try it”Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).
Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.