---
search:
  tags:
    - Torrents
    - GET
seo:
  description: >-
    With the torrent's current trackers and web seeds. 422 until the metadata…
    Reference for the GET /torrents/{hash}/torrent-file endpoint in the
    piecemeal API.
sidebar:
  label: Download a torrent's .torrent file
  badge: GET
title: Download a torrent's .torrent file
type: openapi-operation
---
With the torrent's current trackers and web seeds. 422 until the metadata is known.

`GET /torrents/{hash}/torrent-file`

**Responses**

- `200` — The .torrent file.
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

Response example, 200:

```json
"string"
```
