Use case · TikTok downloader apps and bots

TikTok downloader apps, bots and archives

Users paste a TikTok link and expect a file. IGramAPI turns a video URL or a short link into a stable download link for the video without TikTok's watermark, its sound as an MP3 or a photo from a slideshow.

Built for: Telegram and WhatsApp bots, mobile and web downloader apps, content archives and social tools.

How it fits together

Resolve

Send whatever the user pasted, including vm.tiktok.com short links, and show the author, caption and available qualities.

Choose

Offer the qualities from formats, best first, or just use best.

Prepare

Send the URL and the chosen quality and get a link to a stored file.

Deliver

Hand the link to the user, or fetch the file and upload it to your chat or storage.

Why a plain link is not enough

TikTok's media links expire quickly and its servers refuse to hand the file to a browser or script that did not load the video page. Downloader apps run into this as 'link works once' or 'link gives an error'. The Downloader API fetches the file for you and returns a link that works anywhere until it expires.

Because the file comes from the playback stream, it does not carry the TikTok logo and @username overlay that TikTok adds to its own downloads. Text the creator put into the video stays.

Be a good citizen

Downloaders involve other people's content. Show the creator's name, link back to the original video and make it clear that users may only save content they have the right to use. Remove content when a rights holder asks. See the acceptable use policy.

Example request: TikTok Video Data API

The first step above, as you would call it. Replace YOUR_API_KEY with your key. This call costs 1 credit.

cURL
curl "https://api.igramapi.com/v1/tiktok/videos?url=https%3A%2F%2Fwww.tiktok.com%2F%40example_creator%2Fvideo%2F7401234567890123456" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response shape · example values
{
  "id": "7401234567890123456",
  "type": "video",
  "description": "Sunday market haul #streetfood #vlog",
  "created_at": 1761900000,
  "author": {
    "user_id": "6812345678901234567",
    "username": "example_creator",
    "nickname": "Example Creator",
    "avatar": "https://v16-webapp-prime.tiktok.com/video/tos/example/avatar.jpeg",
    "is_verified": true,
    "followers": 1820000
  },
  "plays": 2450000,
  "likes": 312400,
  "comments": 4120,
  "shares": 9800,
  "saves": 15600,
  "duration": 27,
  "width": 576,
  "height": 1024,
  "cover": "https://v16-webapp-prime.tiktok.com/video/tos/example/cover.jpeg",
  "dynamic_cover": "https://v16-webapp-prime.tiktok.com/video/tos/example/dynamic.webp",
  "formats": [
    {
      "id": "adapt_lowest_1080_1",
      "quality": "1080p",
      "width": 1080,
      "height": 1920,
      "bitrate": 803227,
      "codec": "h265_hvc1",
      "size_bytes": 9987936
    },
    {
      "id": "normal_540_0",
      "quality": "576p",
      "width": 576,
      "height": 1024,
      "bitrate": 1250793,
      "codec": "h264",
      "size_bytes": 15553308
    }
  ],
  "photos": [],
  "music": {
    "id": "7401234500000000001",
    "title": "original sound",
    "author": "Example Creator",
    "is_original": true,
    "duration": 27,
    "url": "https://v16-webapp-prime.tiktok.com/video/tos/example/sound.mp3",
    "cover": "https://v16-webapp-prime.tiktok.com/video/tos/example/sound.jpeg"
  },
  "hashtags": [
    "streetfood",
    "vlog"
  ],
  "mentions": [],
  "subtitles": [
    {
      "language": "eng-US",
      "format": "webvtt",
      "url": "https://v16-webapp-prime.tiktok.com/video/tos/example/captions.vtt"
    }
  ],
  "is_ad": false,
  "location_created": "IN",
  "comments_disabled": false,
  "duet_enabled": true,
  "stitch_enabled": true,
  "cached": false
}

Full TikTok Video Data API reference · Try endpoints in the playground

APIs used

Questions

Does it accept short links from the TikTok app?

Yes. vm.tiktok.com and vt.tiktok.com links are resolved to the video, and so is a plain video id.

How much does a download cost?

A video is 2 credits, an MP3 1 and a photo 1. You do not need to call the video endpoint first, but it costs 1 credit if you want to show the details.

Do you host the files permanently?

No. Files are available through a time-limited link of about an hour. Store the file on your side if you need it longer.

Can I download photo slideshows?

Yes. Use type image and the index of each photo.

Guides for this use case

Get your free API key

100 credits every month, no credit card.