Skip to main content

Status Retrieval

To fetch the most current details regarding your active subscription plan and its usage, execute a GET request to the following endpoint: https://api.stakingrewards.com/public/billing/status. Ensure to include the API key within your headers.

  headers: {
"X-API-KEY": "YOUR_API_KEY"
}

Example:

curl -H "X-API-KEY: <YOUR_API_KEY>"  https://api.stakingrewards.com/public/billing/status

Here is an example of a typical response:

{
"plan_name": "pro",
"available_credits": 95559803,
"monthly_quota": 100000000,
"subscribed_at": "2023-05-18T18:30:53.170577Z",
"requests_allowed": true,
"billing_date": "2023-06-18T18:30:53.172798Z"
}

Below is a description of each key-value pair in the response:

KeyDescription