---
title: "Download URLs for a post, reel or carousel"
method: GET
path: "/v1/media"
tags: ["Posts & reels"]
---

# Download URLs for a post, reel or carousel

`GET /v1/media`

## Request

- Base URL: `https://data.fastsocial.co`
- URL: `https://data.fastsocial.co/v1/media`
- Auth: API key in header `X-API-Key`

Direct image and video file URLs for every slide of a post, in the best quality available. URLs are signed Instagram CDN links that expire after a few hours.

Cost: **1 credit**.

## Query parameters

- `url` string
- `shortcode` string

## Response `200`

OK

- object
  - `ok` unknown, required
  - `data` MediaFiles, required
    - `shortcode` string
    - `owner_username` string, nullable
    - `files` object[]
      - `type` 'image' | 'video'
      - `url` string
      - `thumbnail_url` string, nullable
  - `meta` Meta, required
    - `cache` 'hit' | 'miss' | 'stale'
    - `age_seconds` integer
    - `stale` boolean
    - `credits` integer
    - `credits_remaining` integer, nullable

## Other responses

- `400`: Error
- `401`: Error
- `404`: Error
- `422`: Error
- `429`: Error
- `451`: Error
- `502`: Error
- `503`: Error

---

[API](https://skmtc.dev/fastsocial/apis/fastsocial-instagram-data-api.md) · [All operations](https://skmtc.dev/fastsocial/apis/fastsocial-instagram-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fastsocial/apis/fastsocial-instagram-data-api/revisions/fe69c993e76a?raw)
