Account

Get Usage

The Get Usage API retrieves a detailed breakdown of your MoltSets API credit usage for a chosen time period: today, the past week, the past month, or the current billing cycle.

It returns a day-by-day log of API calls made, credits consumed, successful lookups, empty results, and failed requests, along with period totals.

Use this endpoint to:

  • Track consumption trends over time
  • Audit usage day by day
  • Build internal usage dashboards
post/get_usage

Request

  • Base URL: https://api.moltsets.com/api/v1/tools
  • URL: https://api.moltsets.com/api/v1/tools/get_usage
  • Auth: HTTP bearer

Headers

User-Agentstring required

Identifies the calling client. Any non-empty value is accepted — MoltSets does not validate its contents. Requests without this header are rejected with 403 Forbidden (error.code: forbidden).

Request body

period'today' | 'week' | 'month' | 'billing_cycle'

Time window to report on. Defaults to today.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.