↘social downloader/LOCAL REST API · NO ACCOUNT
Your machine. Your key.

A small API for public media links.

Generate a free key on this computer and use the local REST endpoints from scripts or tools. No account, cloud key, or sign-in. The key file stays in this project folder.

Local API key

The key is created on first use and saved as .local-api-key with owner-only file permissions.

Not loaded yet

Only available at localhost / 127.0.0.1. Don’t publish or share this key.

Endpoints

Send your key in X-API-Key or Authorization: Bearer.

POST
/api/v1/resolve
Return public media metadata and available stream URLs.
POST
/api/v1/download
Download a video, audio stream, or carousel image.
POST
/api/v1/spotify
Spotify oEmbed metadata only; no track downloads.
GET
/api/v1/key
View the key from this computer only.

Quick start

Replace YOUR_LOCAL_API_KEY and the example URL. For a carousel, resolve first and use an image index (starting at 0).

curl -X POST http://localhost:3000/api/v1/resolve \\
  -H 'Content-Type: application/json' \\
  -H 'X-API-Key: YOUR_LOCAL_API_KEY' \\
  -d '{"url":"https://www.tiktok.com/@creator/video/1234567890"}'
POST
/api/v1/download
Body example: {"url":"…","media":"video"}; use media "audio" for public soundtrack/audio streams, or media "image" with "imageIndex":0 for a carousel frame.