---
title: "Bitget REST Public UTA Futures Example | Siebly"
description: "Bitget V3 UTA REST public UTA futures JavaScript example for the Siebly Bitget SDK, covering exchange REST API and WebSocket integration, setup, and production SDK docs."
canonical: "https://siebly.io/examples/Bitget/V3%20-%20UTA/Rest/rest-public-UTA-futures"
robots: "index,follow"
---

# Bitget REST Public UTA Futures Example

Bitget V3 UTA REST public UTA futures JavaScript example for the Siebly Bitget SDK, covering exchange REST API and WebSocket integration, setup, and production SDK docs.

**Path:** [Home](/) / [Examples](/examples) / [Bitget](/examples/Bitget) / [V3 - UTA](/examples/Bitget/V3%20-%20UTA) / [Rest](/examples/Bitget/V3%20-%20UTA/Rest) / [rest-public-UTA-futures.ts](/examples/Bitget/V3%20-%20UTA/Rest/rest-public-UTA-futures)

[View source on GitHub](https://github.com/sieblyio/crypto-api-examples/blob/master/examples/Bitget/V3%20-%20UTA/Rest/rest-public-UTA-futures.ts)

[Open the Bitget JavaScript SDK guide](/sdk/bitget/javascript)

## rest-public-UTA-futures.ts

```typescript
import { RestClientV3 } from 'bitget-api';

const restClient = new RestClientV3();

const symbol = 'BTCUSDT';

(async () => {
  try {
    const response = await restClient.getCandles({
      symbol,
      category: 'USDT-FUTURES',
      interval: '1m',
    });

    console.table(response.data);

    console.log('getCandles returned ' + response.data.length + ' candles');
  } catch (e) {
    console.error('request failed: ', e);
  }
})();
```
