---
title: "Gets subtitles in a specified format."
method: GET
path: "/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/{startPositionTicks}/Stream.{format}"
tags: ["Subtitle"]
---

# Gets subtitles in a specified format.

`GET /Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/{startPositionTicks}/Stream.{format}`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/{startPositionTicks}/Stream.{format}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/jellyfin/apis/jellyfin-api/docs/Videos/:itemId/:mediaSourceId/Subtitles/:index/:startPositionTicks/Stream.:format/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `itemId` string, uuid, required: The item id.
- `mediaSourceId` string, required: The media source id.
- `index` integer, required: The subtitle stream index.
- `startPositionTicks` integer, required: Optional. The start position of the subtitle in ticks.
- `format` string, required: The format of the returned subtitle.

## Query parameters

- `endPositionTicks` integer, nullable: Optional. The end position of the subtitle in ticks.
- `copyTimestamps` boolean: Optional. Whether to copy the timestamps.
- `addVttTimeMap` boolean: Optional. Whether to add a VTT time map.

## Response `200`

File returned.

---

[API](https://skmtc.dev/jellyfin/apis/jellyfin-api.md) - [All operations](https://skmtc.dev/jellyfin/apis/jellyfin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jellyfin/apis/jellyfin-api/revisions/eb6f75af7066?raw)
