StoriesFly logo
Download endpoint

Reels and TikTok downloader

The files of one post by its link: an Instagram post, reel or IGTV, or a TikTok video or photo post (short links too). The video (TikTok's without the watermark), every picture of a carousel or photo post, the cover and, for TikTok, the soundtrack and caption. Files only, no metrics: use post or tiktok/video for those. File links are temporary: download right away.

GEThttps://storiesfly.com/api/v1/download
  • Price a fixed price: $0.20 per 1,000 for a TikTok link, $0.50 per 1,000 for an Instagram link
  • Answers up to 15 minutes old

Parameters

All parameters go in the query string.

NameTypeSentDescription
urlstringrequiredAn Instagram post, reel or IGTV link, or a TikTok video or photo link (short links too).

Example request

Put your own key in the header, or in the apiKey option of the npm client.

curl "https://storiesfly.com/api/v1/download?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FDdY3MUJCfby%2F" \
  -H "X-Api-Key: sf_live_your_key"

Example response

200 OK · X-Units-Charged: 1

  "platform" "instagram"
  "id" "DdY3MUJCfby"
  "url" "https://www.instagram.com/p/DdY3MUJCfby/"
  "author" "arianagrande"
  "caption" null
  "media_type" "video"
  "thumbnail_url" "https://scontent.cdninstagram.com/v/t51.82787-15/813966136_18783396925039697_6406007525826130925_n.jpg"
  "media" 
    
      "type" "video"
      "url" "https://instagram.fbeg3-2.fna.fbcdn.net/o1/v/t2/f2/m86/AQPHnjf83HZ9PR2G28elI5BWiebhxAmJxbUPxxIecjIu2AxjcEHA6WoTngqdgKKomsQIGeIYxUjVgFzMRcMB4yqxuvGRfQCLsvGsZV8.…"
      "quality" null
      "thumbnail_url" "https://scontent.cdninstagram.com/v/t51.82787-15/813966136_18783396925039697_6406007525826130925_n.jpg"
    
  
  "audio_url" null

A real answer, shortened: lists are cut to two items and long texts to 160 characters.

Price and freshness

A call is sold at a fixed price: $0.20 per 1,000 for a TikTok link, $0.50 per 1,000 for an Instagram link, the same at every level. It uses one free request while you have them, then your balance.

Answers are kept for up to 15 minutes. Asking again inside that time returns the same answer and is charged again.

Errors

A failed call answers with an HTTP status and a body {error, code}. These are the codes this endpoint gives. Errors and what is charged covers all of them.

StatusCodeWhen
400bad_requestA parameter is missing or wrong. fields lists the names. Free.
401unauthorizedThe X-Api-Key header is missing or the key is wrong. Free.
402credits_exhaustedThe free requests and the balance are used up. Top up in the dashboard. Free.
403telegram_requiredThe account behind the key is not linked to Telegram. The answer has a link_url to do it. Free.
404not_foundThe post does not exist, is private or was removed. Charged like an answer.
429rate_limitedMore requests in a second than your level allows, more than this group can take at once, or more than 1,000 TikTok and download calls today. Wait for the Retry-After header. Free.
500internal_errorA fault on our side. Retry shortly. Refunded.
503upstream_unavailableOur side failed or timed out. Retry shortly. Refunded.
FAQ

Questions about this endpoint

What does it cost?

A fixed price, the same at every level: $0.20 per 1,000 for a TikTok link, $0.50 per 1,000 for an Instagram link. While you have free requests, a call uses one of them instead.

Which links can I send?

An Instagram post, reel or IGTV link, or a TikTok video or photo link, the short share links included. A profile, story or share link of Instagram is refused with bad_request.

Why are there no views or likes?

It returns files only, no metrics. For the numbers, call post or tiktok/video.

Your first 100 requests are on us

Sign in with Telegram, create a key, call any endpoint. Top up only when you need more.