EdgeCron API Docs
API ReferenceSubscription

Get subscription quota

GET /subscription/quota

Get subscription quota

Subscription quota overview.

GET
https://api.edgecron.com/v1/subscription/quota

Authentication required

Send `X-Key-ID`, `X-Timestamp`, and `X-Signature` with every request. The signature is lowercase hex HMAC-SHA256 over `timestamp + "\n" + payload`.

Parameters

This endpoint does not define path or query parameters.

Request body

This endpoint does not require a JSON request body.

Response

All successful responses use the EdgeCron API envelope.

{
  "code": 0,
  "message": "success",
  "request_id": "req_abc123",
  "data": {
    "plan_code": "pro",
    "billing_cycle": "monthly",
    "quota": 1,
    "used": 1,
    "remaining": 1,
    "exceeded": true,
    "current_period_start": 1,
    "current_period_end": 1,
    "usage_percent": 1
  }
}

Schema

ParametersTypeRequiredDescription
plan_codestringNoExample: pro.
billing_cyclestringNoExample: monthly.
quotainteger (int64)NoTotal events allowed per billing cycle
usedinteger (int64)NoEvents consumed in current cycle
remaininginteger (int64)NoEvents remaining in current cycle
exceededbooleanNoWhether the quota has been exceeded
current_period_startinteger (int64)NoUnix timestamp
current_period_endinteger (int64)NoUnix timestamp
usage_percentnumber (double)NoUsage percentage 0-100