v1

latestSwagger 2.02026-07-132137180.4 KB
Account

Returns API subscription usage counters for the current key.

Returns current usage counters, remaining request quotas, and reset timestamps for standard and historical Weatherbit products. Daily request limits reset at 00:00 UTC.

get/subscription/usage

Query parameters

keystring string required

Your registered API key.

Response

Subscription usage object.

calls_countstring nullable

Current call count for the key/subscription.

calls_remaininginteger nullable

Remaining calls before reset.

calls_reset_tsinteger nullable

Usage reset timestamp.

historical_calls_countstring nullable

Historical product call count when available.

historical_calls_remaininginteger nullable

Remaining historical calls before reset.

historical_calls_reset_tsinteger nullable

Historical usage reset timestamp.

Example response

{
  "calls_count": "58697",
  "calls_remaining": 7941303,
  "calls_reset_ts": 1780358399,
  "historical_calls_count": "26681",
  "historical_calls_remaining": 373319,
  "historical_calls_reset_ts": 1780358399
}