> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Turn any video or audio link into files, transcripts and metadata. One API for your app, and your AI agent can build it in over MCP.

Fetching media from YouTube, TikTok, or X works on your laptop and breaks in production. Datacenter IPs get blocked, extraction breaks whenever a site changes, you end up maintaining ffmpeg, and half the videos you need have no captions.

Importly takes that off your plate. Send a URL and get back a file, a transcript, or metadata. Call it from your app through the REST API, or have your coding agent build it in through the hosted MCP server. Same key, same prices.

> [card] [Have your agent build it in](/docs/integrations/mcp.md)
>
> Connect Claude Code, Cursor, or another MCP client and your agent writes the integration.

> [card] [Call the REST API](/docs/quick-start.md)
>
> Your first import with one request and one webhook.

> [!NOTE]
>
> New accounts get \$3.00 in free credits. No card required.

## What you can do

> [card] [Download media](/docs/features/downloads.md)
>
> Video or audio at the quality you choose, as a direct link or delivered to your bucket.

> [card] [Get transcripts](/docs/features/transcripts.md)
>
> The video's own captions when it has them. AI speech-to-text when it doesn't.

> [card] [Read metadata](/docs/features/metadata.md)
>
> Title, duration, formats, uploader, and view counts, without downloading.

Works with YouTube, TikTok, X, Instagram, Vimeo, podcasts, and 1000+ other sites. See [supported sites](/docs/features/supported-sites.md).

## How a request works

**1. Submit a URL**

`POST /import`, `/transcribe`, or `/metadata`. You get a `jobId` back immediately.

**2. The job runs**

It moves from `queued` to `running`, then to `completed` or `failed`.

**3. Collect the result**

Pass a `webhookUrl` to have it pushed to you, or poll the status endpoint. See [webhooks](/docs/webhooks.md).

```bash cURL theme={null}
curl -X POST https://api.importly.io/import \
  -H "Authorization: Bearer $IMPORTLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "webhookUrl": "https://example.com/webhooks/importly"
  }'
```

```javascript Node.js theme={null}
// Submit an import; Importly POSTs the result to your webhook.
const res = await fetch('https://api.importly.io/import', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.IMPORTLY_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    url: 'https://www.youtube.com/watch?v=jNQXAC9IVRw',
    webhookUrl: 'https://example.com/webhooks/importly',
  }),
})
const { data } = await res.json()
console.log(data.jobId) // poll GET /import/status?id=... or wait for the webhook
```

```python Python theme={null}
import os
import requests

api_key = os.environ["IMPORTLY_API_KEY"]

# Submit an import; Importly POSTs the result to your webhook.
res = requests.post(
    "https://api.importly.io/import",
    headers={"Authorization": f"Bearer {api_key}"},
    json={
        "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
        "webhookUrl": "https://example.com/webhooks/importly",
    },
)
print(res.json()["data"]["jobId"])  # poll GET /import/status?id=... or wait for the webhook
```

## Pricing at a glance

| Feature | Price |
| - | - |
| Download | About $0.15 for a 10-minute 720p video ($2.05 per GB, \$0.01 minimum) |
| Transcript from captions | \$0.003 |
| AI speech-to-text | $0.01 per minute, all-in ($0.01 minimum) |
| Metadata (full or basic) | \$0.003 |
| Status checks and balance | Free |

You pay for what we download: failed imports are free, failed transcriptions are refunded, and an import never costs more than your balance. Details on [Pricing & credits](/docs/billing.md).

## Limits

> [accordion] Public URLs only
>
> Private, login-only, or password-protected media can't be fetched. YouTube playlist pages are rejected; submit individual videos.

> [accordion] Downloads are capped by your balance
>
> An import never downloads more than your remaining credit can pay for.

> [accordion] Rate limits
>
> Limits apply per account, for example 240 imports per hour, with up to 50 queued or running at once. See [Errors & rate limits](/docs/error-handling.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.