Metrics
Get Organization Metrics
This API requires an API key with appropriate permissions. Regular organization API keys can only access metrics for their associated organizations.
Quick Start
Authentication
Include your API key in the Authorization
header:
Example Request
Example Implementation
API Details
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
organizationSlugs | string[] | Yes | Array of organization slugs to query |
startDate | Date | No | Start date for metrics (default: all time) |
endDate | Date | No | End date for metrics (default: current date) |
Response Format
Error Handling
Status Code | Description |
---|---|
401 Unauthorized | Invalid or missing API key |
403 Forbidden | API key does not have permission to query the requested organizations |
500 Internal Server Error | Server error occurred while processing the request |
Notes
- If no date range is provided, metrics will be returned for all time
- The response includes both combined metrics across all requested organizations and per-organization breakdowns
- Special organization API keys (Sui, Consensys) can query metrics for any organization
- Regular organization API keys can only query their own organization’s metrics
Was this page helpful?