# instagram, tiktok & pinterest downloader api - fastsaver api

download api for instagram, tiktok, pinterest, facebook, x, rutube and likee. GET /fetch returns the media as json, from 1.5 credits a call, by platform.

> source: https://api.fastsaver.io/docs/fetch

`GET https://api.fastsaver.io/v1/fetch` - one link in, clean json out

paste a link from any supported platform. the response shape is the same everywhere: `ok`, `id`, `source`, `type`, then the media. multi-item posts (carousels, tiktok photo posts, pinterest idea pins) return `type: "album"` with an `items` array and NO top-level `download_url` - check `type` first. tiktok responses carry two extra fields, `music_url` and `music`. an unsupported host still costs 0.1 credit.

Credits: vary by platform. A failed call costs 0.1 credit.
Every request carries `X-Api-Key`.

## Parameters

- `url` (string, required) - the media url. the scheme is optional. (example: `https://www.instagram.com/p/DRsmm9UjKfH/`)

## Platforms

| host | what it covers | credits |
|---|---|---|
| instagram.com | posts, reels, carousels | 1.5 |
| instagram.com/stories/ | stories and highlights | 5 |
| tiktok.com | no watermark; photo posts come back as an album | 1.5 |
| pinterest.com | pin.it short links work too | 1.5 |
| facebook.com | fb.com and fb.watch work too | 1.5 |
| x.com | twitter.com works too | 1.5 |
| rutube.ru | rutube.com works too | 3 |
| likee.video | share links only (/v/<code>) | 3 |

## Request

```http
GET https://api.fastsaver.io/v1/fetch?url=https://www.instagram.com/p/example
```

## Response

```json
{
  "ok": true,
  "id": "DRsmm9UjKfH",
  "source": "instagram.com",
  "type": "video",
  "download_url": "https://scontent-dfw6-2.cdninstagram.com/o1/v/t2/f2/m412/AQOqB7ZktoNZKYvIUuQU6ptpi3…",
  "width": 1080,
  "height": 1920,
  "thumbnail_url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/588206701_85850229606866_n.jpg…",
  "duration": 46,
  "caption": "Ferrari 296 GTS top speed run…"
}
```
