Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Latest commit

 

History

History
50 lines (34 loc) · 1.36 KB

File metadata and controls

50 lines (34 loc) · 1.36 KB

ApiKeyApi

All URIs are relative to https://api.originstamp.com

Method HTTP request Description
getApiKeyUsage GET /v3/api_key/usage Usage

getApiKeyUsage

DefaultUsageResponse getApiKeyUsage(authorization)

Usage

With this interface you can receive the current usage of your API key. The usage statistic refers to the associated account.

Example

// Import classes:
//import com.originstamp.api.client.ApiException;
//import com.originstamp.api.ApiKeyApi;

ApiKeyApi apiInstance = new ApiKeyApi();
String authorization = "authorization_example"; // String | A valid API key is essential for authorization to handle the request.
try {
    DefaultUsageResponse result = apiInstance.getApiKeyUsage(authorization);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling ApiKeyApi#getApiKeyUsage");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
authorization String A valid API key is essential for authorization to handle the request.

Return type

DefaultUsageResponse

HTTP request headers

  • Content-Type: Not defined
  • Accept: /