Get Bitcoin Stratigraphy
stratigraphy.getPURPOSE: Retrieves Bitcoin Stratigraphy telemetry records by recent-day count, date, block height, or inclusive date and block ranges. USAGE: Use to fetch telemetry records and selected thermodynamic metrics. Do NOT use for catalog coverage discovery; use stratigraphy.list instead. PARAMETERS: days is an integer from 1 to 365; date is YYYY-MM-DD; blockHeight is a non-negative integer; metrics is a unique non-empty array containing target_multiplier, difficulty_epoch_progress, or thermodynamic_signal; startDate and endDate are inclusive YYYY-MM-DD bounds; startBlock and endBlock are inclusive non-negative integer bounds; limit is an integer from 1 to 100 with default 10. BEHAVIOR: Reads the local telemetry dataset without database writes. Only one of days, date, or blockHeight may be supplied, and none may be combined with range selectors; lower bounds cannot exceed upper bounds. Rate limit: 60 req/min per IP shared across /mcp. RETURNS: Object containing records, an array of matching telemetry entries, limited and optionally projected by metrics; an unmatched query returns an empty array. ERRORS: -32602 (Invalid Parameters) for invalid fields, selector combinations, bounds, or ranges; HTTP 429 (Rate Limit) when the shared limit is exceeded; dataset retrieval failures return an MCP tool error. No 402 payment required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Calendar date selecting one telemetry day, formatted as YYYY-MM-DD in UTC. | 2026-09-09 |
| days | No | Count of recent days of telemetry to fetch (integer, 1-365). | |
| limit | No | Maximum number of records to return (integer, 1-100). | |
| endDate | No | Inclusive upper date bound formatted as YYYY-MM-DD in UTC (must be >= startDate). | 2026-09-18 |
| metrics | No | Array of specific telemetry metric key strings to project into returned records. | |
| endBlock | No | Inclusive upper block height bound (non-negative integer, must be >= startBlock). | |
| startDate | No | Inclusive lower date bound formatted as YYYY-MM-DD in UTC. | 2026-09-01 |
| startBlock | No | Inclusive lower block height bound (non-negative integer). | |
| blockHeight | No | Indexed Bitcoin block height selecting one telemetry record (non-negative integer). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | Validated telemetry records matching the requested range. |