Overview
Returns a complete picture of a projectโs credit consumption for the current billing cycle, including credits remaining, subscription plan details, and a breakdown of requests by service type (RPC, DAS, gRPC, WebSocket, etc.).
Request Parameters
The project ID to retrieve usage for. Must match the project associated with the API key used for authentication.
Response Fields
Credits remaining in the current billing cycle. Calculated as the planโs credit limit minus regular credits consumed, floored at zero.
Total credits consumed in the current billing cycle, including both regular and prepaid credits.
Prepaid credits still available.
Prepaid credits consumed in the current billing cycle.
Subscription plan and billing cycle information.
subscriptionDetails.billingCycle.start
Billing cycle start date in YYYY-MM-DD format.
subscriptionDetails.billingCycle.end
Billing cycle end date in YYYY-MM-DD format.
subscriptionDetails.creditsLimit
Total credit allowance for the billing cycle based on your plan.
The name of the subscription plan (e.g., "business", "professional").
Request counts broken down by service type. Each field is the total number of requests made to that service during the current billing cycle.
Enhanced API requests (e.g., parsed transactions, token metadata).
DAS (Digital Asset Standard) API requests.
ZK Compression (Photon) requests.
Standard Solana RPC requests.
LaserStream data streaming requests.
WebSocket subscription requests.
Request Parameters
The project ID to retrieve usage for. Must match the project associated with the API key.
Authorizations ApiKeyQuery ApiKeyHeader ApiKeyQuery ApiKeyHeader
API key passed as a query parameter.
The project ID to retrieve usage for. Must match the project associated with the API key.
Example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Project usage retrieved successfully.
Number of credits remaining in the current billing cycle. Calculated as creditsLimit - regularCreditsUsed , floored at 0.
Total credits consumed in the current billing cycle, including both regular and prepaid credits.
Number of prepaid credits remaining.
Number of prepaid credits consumed in the current billing cycle.
Details about the project's subscription plan and current billing cycle.
Request counts broken down by service type for the current billing cycle.