# Current OHLC Bars

> Returns the last OHLCV bar for each requested symbol and timeframe in a single call

Source: /trader/api/charting/get-current-bars

## `GET /trendbars/current`

**Current OHLC Bars**

Returns the last OHLCV bar for each requested symbol and timeframe in a single call

Tags: `Charting`

#### Query parameters

- `sids` (array) (required) — Symbol IDs to fetch the current bar for (repeat parameter for multiple)
- `timeframe` (string) (required) — Bar timeframe/resolution
  - enum: `1M`, `2M`, `3M`, `5M`, `15M`, `30M`, `1H`, `4H`, `12H`, `D`, `W`, `M`


### Responses

#### `200` — Successfully retrieved current bars

**Content-Type:** `application/json`

- `bars` (array) (required)
  - items:
    - `symbol_id` (string) (required) — Symbol identifier
    - `bar` (object) (required)
      - `open` (number) (required) — Opening price
      - `high` (number) (required) — Highest price
      - `low` (number) (required) — Lowest price
      - `close` (number) (required) — Closing price
      - `volume` (integer) (required) — Trading volume
      - `datetime` (string) (required) — Bar timestamp

#### `400` — Bad request (missing or invalid parameters)

**Content-Type:** `application/json`

- `error` (object) (required)
  - `type` (string) (required) — Error type code
  - `message` (string) (required) — Human-readable error message
  - `field` (string) — Field name if error is field-specific

#### `401` — Unauthorized (invalid or missing JWT token)

**Content-Type:** `application/json`



#### `500` — Internal server error

**Content-Type:** `application/json`



