---
title: "Upload a magnet with its URI or hash."
method: GET
path: "/magnet/upload"
---

# Upload a magnet with its URI or hash.

`GET /magnet/upload`

Upload a magnet with its URI or hash.<br /> You can either send the magnets in GET parameters, or in POST.<br />

## Query parameters

- `apikey` string
- `agent` string, required
- `magnets[]` string[], required

## Response `200`

This endpoint retrieves a complete list of all available hosts for this user

- object
  - `status` string
  - `data` object
    - `magnets` object[]
      - `magnet` string
      - `hash` string
      - `name` string
      - `size` integer
      - `ready` boolean
      - `id` integer
      - `error` object
        - `code` string
        - `message` string
  - `error` object
    - `code` string
    - `message` string

---

[API](https://skmtc.dev/alldebrid/apis/alldebrid-api.md) · [All operations](https://skmtc.dev/alldebrid/apis/alldebrid-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alldebrid/alldebrid-api/revisions/4856488e3924/schema)
