Skip to main content
GET
/
v0
/
admin
/
projects
/
{id}
/
usage
Get Project Usage
curl --request GET \
  --url 'https://admin-api.helius.xyz/v0/admin/projects/{id}/usage?api-key='
{
  "creditsRemaining": 486100,
  "creditsUsed": 13900,
  "prepaidCreditsRemaining": 50000,
  "prepaidCreditsUsed": 0,
  "subscriptionDetails": {
    "billingCycle": {
      "start": "2026-04-01",
      "end": "2026-05-01"
    },
    "creditsLimit": 500000,
    "plan": "business"
  },
  "credits": {
    "rpc": 4500,
    "enhancedApi": 1200,
    "walletApi": 0,
    "das": 5000,
    "webhooks": 800,
    "laserstreamGrpc": 1500,
    "laserstreamWebsocket": 800,
    "preConfirmations": 100,
    "archival": 0,
    "photon": 0,
    "other": 0
  },
  "requests": {
    "rpc": 4500,
    "enhancedApi": 1200,
    "walletApi": 0,
    "das": 5000,
    "webhooks": 800,
    "preConfirmations": 50,
    "archival": 0,
    "photon": 0,
    "other": 0
  },
  "dataTransfer": {
    "laserstreamGrpc": 15000000,
    "laserstreamWebsocket": 8000000
  }
}

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

id
string
required
The project ID to retrieve usage for. Must match the project associated with the API key used for authentication.

Response Fields

creditsRemaining
number
Credits remaining in the current billing cycle. Calculated as the plan’s credit limit minus regular credits consumed, floored at zero.
creditsUsed
number
Total credits consumed in the current billing cycle, including both regular and prepaid credits.
prepaidCreditsRemaining
number
Prepaid credits still available.
prepaidCreditsUsed
number
Prepaid credits consumed in the current billing cycle.
subscriptionDetails
object
Subscription plan and billing cycle information.
subscriptionDetails.billingCycle.start
string
Billing cycle start date in YYYY-MM-DD format.
subscriptionDetails.billingCycle.end
string
Billing cycle end date in YYYY-MM-DD format.
subscriptionDetails.creditsLimit
number
Total credit allowance for the billing cycle based on your plan.
subscriptionDetails.plan
string
The name of the subscription plan (e.g., "business", "professional").
credits
object
Per-product credit consumption for the current billing cycle, in whole credits. Covers every product. Values are accumulated raw and rounded once at the end to match billing, so per-product credits may not sum exactly to creditsUsed after rounding.
credits.rpc
number
Credits consumed by standard Solana RPC.
credits.enhancedApi
number
Credits consumed by the Enhanced API (e.g., parsed transactions, token metadata).
credits.walletApi
number
Credits consumed by the Wallet API.
credits.das
number
Credits consumed by the DAS (Digital Asset Standard) API.
credits.webhooks
number
Credits consumed by Webhooks.
credits.laserstreamGrpc
number
Credits consumed by LaserStream gRPC (bandwidth-metered).
credits.laserstreamWebsocket
number
Credits consumed by LaserStream WebSocket (bandwidth-metered).
credits.preConfirmations
number
Credits consumed by Pre Confirmations.
credits.archival
number
Credits consumed by Archival.
credits.photon
number
Credits consumed by Photon (ZK Compression).
credits.other
number
Credits consumed by uncategorized usage.
requests
object
Request counts for the current billing cycle, for request-metered products only. The bandwidth-metered LaserStream products (laserstreamGrpc, laserstreamWebsocket) do not appear here — see dataTransfer. Fields: rpc, enhancedApi, walletApi, das, webhooks, preConfirmations, archival, photon, other.
dataTransfer
object
Bytes transferred for the current billing cycle, for the bandwidth-metered LaserStream products only. These products are billed by data transferred, not request count, so they appear here and in credits but never in requests. Fields: laserstreamGrpc, laserstreamWebsocket.

Request Parameters

id
string
required
The project ID to retrieve usage for. Must match the project associated with the API key.

Authorizations

api-key
string
query
required

API key passed as a query parameter.

Path Parameters

id
string<uuid>
required

The project ID to retrieve usage for. Must match the project associated with the API key.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Response

Project usage retrieved successfully.

creditsRemaining
number

Number of credits remaining in the current billing cycle. Calculated as creditsLimit - regularCreditsUsed, floored at 0.

Example:

487500

creditsUsed
number

Total credits consumed in the current billing cycle, including both regular and prepaid credits.

Example:

12500

prepaidCreditsRemaining
number

Number of prepaid credits remaining.

Example:

50000

prepaidCreditsUsed
number

Number of prepaid credits consumed in the current billing cycle.

Example:

0

subscriptionDetails
object

Details about the project's subscription plan and current billing cycle.

credits
object

Per-product credit consumption for the current billing cycle, in whole credits. Covers every product. Values are accumulated raw and rounded once at the end to match billing, so per-product credits may not sum exactly to creditsUsed after rounding.

requests
object

Request counts for the current billing cycle, for request-metered products only. The bandwidth-metered LaserStream products (laserstreamGrpc, laserstreamWebsocket) do not appear here — see dataTransfer.

dataTransfer
object

Bytes transferred for the current billing cycle, for the bandwidth-metered LaserStream products only. These products are billed by data transferred, not request count, so they appear here and in credits but never in requests.