Skip to main content
POST
/
get_usage
Get Usage
curl --request POST \
  --url https://api.moltsets.com/api/v1/tools/get_usage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "period": "month"
}
'
{
  "results": {
    "period": "month",
    "start_date": "2026-04-01",
    "end_date": "2026-04-29",
    "credit_balance": 250,
    "days": [
      {
        "date": "2026-04-16",
        "calls": 2,
        "credits": 0,
        "with_data": 2,
        "without_data": 0,
        "failed": 0
      }
    ],
    "totals": {
      "calls": 2,
      "credits": 0,
      "with_data": 2,
      "without_data": 0,
      "failed": 0
    }
  },
  "status": "ok",
  "metadata": {
    "tokens_charged": 0,
    "tokens_remaining": 250
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.moltsets.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token. Keys follow the format ms_XXXXXXXXXXX.

Body

application/json
period
enum<string>
default:today

Time window to report on. Defaults to today.

Available options:
today,
week,
month,
billing_cycle

Response

Success