kalshi-typescript
Version:
OpenAPI client for kalshi-typescript
45 lines (28 loc) • 2.03 kB
Markdown
# IncentiveProgramsApi
All URIs are relative to *https://api.elections.kalshi.com/trade-api/v2*
|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getIncentivePrograms**](#getincentiveprograms) | **GET** /incentive_programs | Get Incentives|
# **getIncentivePrograms**
> GetIncentiveProgramsResponse getIncentivePrograms()
List incentives with optional filters. Incentives are rewards programs for trading activity on specific markets.
### Parameters
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **status** | [**'all' | 'active' | 'upcoming' | 'closed' | 'paid_out'**]**Array<'all' | 'active' | 'upcoming' | 'closed' | 'paid_out'>** | Status filter. Can be \"all\", \"active\", \"upcoming\", \"closed\", or \"paid_out\". Default is \"all\". | (optional) defaults to undefined|
| **type** | [**'all' | 'liquidity' | 'volume'**]**Array<'all' | 'liquidity' | 'volume'>** | Type filter. Can be \"all\", \"liquidity\", or \"volume\". Default is \"all\". | (optional) defaults to undefined|
| **limit** | [**number**] | Number of results per page. Defaults to 100. Maximum value is 10000. | (optional) defaults to undefined|
| **cursor** | [**string**] | Cursor for pagination | (optional) defaults to undefined|
### Return type
**GetIncentiveProgramsResponse**
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Incentive programs retrieved successfully | - |
|**400** | Invalid request parameters | - |
|**500** | Internal server error | - |