Metrics Registry
List All Metric Definitions
Retrieves the complete list of available metrics with their definitions, including:
- Metadata: name, description, category, documentation links
- Data source: API endpoint, database field, table
- Display settings: default color, unit, format, supported chart types
- Access control: grade level (0=basic, 1=pro, 2=enterprise)
Use the category parameter to filter by metric category, or grade to filter by access level. This endpoint is essential for building dynamic UIs that need to know what metrics are available.
get/v1/metrics
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/metrics
- Auth: none declared
Query parameters
categorystring nullable
Filter by category (price, supply, valuation, profit)
gradeinteger nullable
Filter by grade (0=basic, 1=pro, 2=enterprise)
active_onlyboolean
Only return active metrics
include_docsboolean
Include the heavy docs_description field. Set false to shrink the payload — the list can exceed 200KB with docs, which stalls on the blocklens.ru path; clients that page per-category use false.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.