Blockchain Metrics

Blockchain Metric Data

Retrieves time-series data for blockchain-level metrics stored in the unified metric_data table.

The response uses the metric's own field name as the JSON key (e.g., block_height) for frontend compatibility.

Available metrics: block_height (more coming soon).

get/v1/blockchain/{metric_id}

Request

  • Base URL: https://api.blocklens.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.blocklens.co/v1/blockchain/{metric_id}
  • Auth: none declared

Path parameters

metric_idstring required

Metric ID (e.g., 'block_height')

Query parameters

start_datestring date nullable

Start date (YYYY-MM-DD)

end_datestring date nullable

End date (YYYY-MM-DD)

limitinteger

Number of records to return

fieldsstring nullable

Comma-separated field names to include (date columns always kept)

Response

Successful Response

successboolean required
dataunknown required
messagestring nullable
countinteger nullable
timestampstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.