# AccountApi

All URIs are relative to *https://external-api.kalshi.com/trade-api/v2*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getAccountApiLimits**](#getaccountapilimits) | **GET** /account/limits | Get Account API Limits|
|[**getAccountApiUsageLevelVolumeProgress**](#getaccountapiusagelevelvolumeprogress) | **GET** /account/api_usage_level/volume_progress | Get Account API Usage Level Volume Progress|
|[**getAccountEndpointCosts**](#getaccountendpointcosts) | **GET** /account/endpoint_costs | List Non-Default Endpoint Costs|
|[**upgradeAccountApiUsageLevel**](#upgradeaccountapiusagelevel) | **POST** /account/api_usage_level/upgrade | Upgrade Account API Usage Level|

# **getAccountApiLimits**
> GetAccountApiLimitsResponse getAccountApiLimits()

Endpoint to retrieve the authenticated user\'s Predictions API usage tier and token-bucket limits. Public Predictions tiers include Basic, Advanced, Expert, Premier, Paragon, Prime, and Prestige.

### Parameters
This endpoint does not have any parameters.


### Return type

**GetAccountApiLimitsResponse**

### Authorization

[kalshiAccessSignature](../README.md#kalshiAccessSignature), [kalshiAccessKey](../README.md#kalshiAccessKey), [kalshiAccessTimestamp](../README.md#kalshiAccessTimestamp)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Account API tier limits retrieved successfully |  -  |
|**401** | Unauthorized |  -  |
|**500** | Internal server error |  -  |

# **getAccountApiUsageLevelVolumeProgress**
> GetAccountApiUsageLevelVolumeProgressResponse getAccountApiUsageLevelVolumeProgress()

Returns the authenticated user\'s latest cron-computed trading volume progress toward volume-based API usage tiers for the predictions (event_contract) lane. Volume figures are reported as fixed-point contract counts.

### Parameters
This endpoint does not have any parameters.


### Return type

**GetAccountApiUsageLevelVolumeProgressResponse**

### Authorization

[kalshiAccessSignature](../README.md#kalshiAccessSignature), [kalshiAccessKey](../README.md#kalshiAccessKey), [kalshiAccessTimestamp](../README.md#kalshiAccessTimestamp)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Account API usage level volume progress retrieved successfully |  -  |
|**401** | Unauthorized |  -  |
|**500** | Internal server error |  -  |

# **getAccountEndpointCosts**
> GetAccountEndpointCostsResponse getAccountEndpointCosts()

Lists API v2 endpoints whose configured token cost differs from the default cost. Endpoints that use the default cost are omitted.

### Parameters
This endpoint does not have any parameters.


### Return type

**GetAccountEndpointCostsResponse**

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Non-default endpoint costs retrieved successfully |  -  |
|**500** | Internal server error |  -  |

# **upgradeAccountApiUsageLevel**
> upgradeAccountApiUsageLevel()

Grants a permanent Advanced API usage-level grant. Currently only the Predictions exchange instance is supported. Criteria: at least 1 of the user\'s last 100 Predictions orders was created via API. Use Get Account API Limits to inspect the resulting usage tier and grants.

### Parameters
This endpoint does not have any parameters.


### Return type

void (empty response body)

### Authorization

[kalshiAccessSignature](../README.md#kalshiAccessSignature), [kalshiAccessKey](../README.md#kalshiAccessKey), [kalshiAccessTimestamp](../README.md#kalshiAccessTimestamp)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**201** | Advanced API usage-level grant created or refreshed successfully |  -  |
|**401** | Unauthorized |  -  |
|**403** | No API-created order was found in the user\&#39;s latest 100 Predictions orders |  -  |
|**429** | Rate limit exceeded. This endpoint costs 30 tokens and uses the Predictions Write bucket. |  -  |
|**500** | Internal server error |  -  |

