# \ExchangeApi
All URIs are relative to *https://api.sui-staging.bluefin.io*
[**get_all_market_ticker**](ExchangeApi.md#get_all_market_ticker) | **GET** /v1/exchange/tickers | Get all market ticker information
[**get_candlestick_data**](ExchangeApi.md#get_candlestick_data) | **GET** /v1/exchange/candlesticks | Kline/candlestick data.
[**get_exchange_info**](ExchangeApi.md#get_exchange_info) | **GET** /v1/exchange/info | Get exchange information
[**get_funding_rate_history**](ExchangeApi.md#get_funding_rate_history) | **GET** /v1/exchange/fundingRateHistory | Get funding rate history
[**get_market_ticker**](ExchangeApi.md#get_market_ticker) | **GET** /v1/exchange/ticker | Aggregated market ticker information
[**get_orderbook_depth**](ExchangeApi.md#get_orderbook_depth) | **GET** /v1/exchange/depth | Orderbook depth
[**get_recent_trades**](ExchangeApi.md#get_recent_trades) | **GET** /v1/exchange/trades | Recent trades list
## get_all_market_ticker
> Vec<models::TickerResponse> get_all_market_ticker()
Get all market ticker information
### Parameters
This endpoint does not need any parameter.
### Return type
[**Vec<models::TickerResponse>**](TickerResponse.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_candlestick_data
> Vec<Vec<String>> get_candlestick_data(symbol, interval, r#type, start_time_at_millis, end_time_at_millis, limit, page)
Kline/candlestick data.
### Parameters
**symbol** | **String** | The market symbol to get the klines for. | [required] |
**interval** | [**KlineInterval**](.md) | The interval to get the klines for. | [required] |
**r#type** | [**CandlePriceType**](.md) | Candle price type (last price, market price or oracle). | [required] |
**start_time_at_millis** | Option<**u64**> | Timestamp in milliseconds in ms to get klines from. | |
**end_time_at_millis** | Option<**u64**> | Timestamp in milliseconds in ms to get klines until. | |
**limit** | Option<**u32**> | Default 50; max 1000. | |[default to 50]
**page** | Option<**u32**> | The page number to retrieve in a paginated response. | |
### Return type
[**Vec<Vec<String>>**](Vec.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_exchange_info
> models::ExchangeInfoResponse get_exchange_info()
Get exchange information
Returns the current exchange information including available margin assets, markets, and rules.
### Parameters
This endpoint does not need any parameter.
### Return type
[**models::ExchangeInfoResponse**](ExchangeInfoResponse.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_funding_rate_history
> Vec<models::FundingRateEntry> get_funding_rate_history(symbol, limit, start_time_at_millis, end_time_at_millis, page)
Get funding rate history
Retrieve the funding rate history for a specific market address.
### Parameters
**symbol** | **String** | The market symbol to get funding rate history for | [required] |
**limit** | Option<**u32**> | Number of records to return. Default is 100; max is 1000. | |[default to 100]
**start_time_at_millis** | Option<**u64**> | The timestamp specifies the earliest point in time for which data should be returned. The value is not included. | |
**end_time_at_millis** | Option<**u64**> | The timestamp specifies the latest point in time for which data should be returned. The value is included. | |
**page** | Option<**u32**> | The page number to retrieve in a paginated response. | |
### Return type
[**Vec<models::FundingRateEntry>**](FundingRateEntry.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_market_ticker
> models::TickerResponse get_market_ticker(symbol)
Aggregated market ticker information
### Parameters
**symbol** | **String** | Market symbol. | [required] |
### Return type
[**models::TickerResponse**](TickerResponse.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_orderbook_depth
> models::OrderbookDepthResponse get_orderbook_depth(symbol, limit)
Orderbook depth
### Parameters
**symbol** | **String** | Market symbol to get the orderbook depth for. | [required] |
**limit** | Option<**u32**> | Maximum number of bids and asks to return. Default 500; max 1000. | |[default to 500]
### Return type
[**models::OrderbookDepthResponse**](OrderbookDepthResponse.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_recent_trades
> Vec<models::Trade> get_recent_trades(symbol, trade_type, limit, start_time_at_millis, end_time_at_millis, page)
Recent trades list
### Parameters
**symbol** | **String** | The market symbol to get the trades for. | [required] |
**trade_type** | Option<**String**> | Type of trade. | |[default to Order]
**limit** | Option<**u32**> | Default 500; max 1000. | |[default to 500]
**start_time_at_millis** | Option<**i64**> | The timestamp specifies the earliest point in time for which data should be returned. The value is not included. | |
**end_time_at_millis** | Option<**u64**> | The timestamp specifies the latest point in time for which data should be returned. The value is included. | |
**page** | Option<**u32**> | The page number to retrieve in a paginated response. | |
### Return type
[**Vec<models::Trade>**](Trade.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)