---
title: "Proxy Tiktok Media"
method: GET
path: "/api/v1/trending-tiktok/media"
tags: ["trending-tiktok"]
---

# Proxy Tiktok Media

`GET /api/v1/trending-tiktok/media`

Stream a TikTok CDN media URL through our own domain.

Browsers can't reliably load tiktokcdn URLs directly (short-lived, referer-locked,
region-blocked — TikTok is banned in India), so the <video>/<img> src points here
and the backend relays the bytes. Public on purpose: media elements can't send the
JWT auth header. SSRF-safe because the view only allows TikTok CDN hosts.

## Query parameters

- `url` string, required — TikTok CDN media URL (video / cover / slide) to stream through the backend

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) · [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brandbooster/fastapi/revisions/a9374f6fe96c/schema)
