Account Management

Usage and spend statistics for the current user

get/api/v1/stats

Request

  • Base URL: https://api.api-stock.com
  • URL: https://api.api-stock.com/api/v1/stats
  • Auth: HTTP bearer

Query parameters

range'today' | '7d' | '30d' | 'custom'

Preset period; use custom together with from/to

fromstring

Start of a custom period (ISO 8601 calendar date)

tostring

End of a custom period (ISO 8601 calendar date)

Response

fromstring required

Period start actually used (ISO 8601)

tostring required

Period end actually used (ISO 8601)

Changes

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