๐Ÿ” API VAULT

Securely manage TikTok, DistroKid, Spotify & more โ€” Direct distribution + analytics

๐Ÿ›ก๏ธ

Security First โ€” Read Before Adding Keys

Your keys NEVER leave this device. They're stored in your browser's encrypted localStorage only.

For production: Use the .env.example file on your server โ€” never commit secrets to GitHub. Download the template at the bottom of this page.

Never paste API keys into chat, email, or public channels. This vault is the only safe place.

TikTok for Developers

Direct video uploads ยท Music library ยท Analytics ยท SoundOn distribution
Get your TikTok API credentials:
1. Register at developers.tiktok.com
2. Create an app โ†’ "TikTok for Business" or "Content Posting API"
3. Enable scopes: video.upload, video.publish, user.info.basic, video.list
4. Copy your Client Key + Client Secret below
video.upload video.publish user.info.basic video.list research.adlib.basic
๐Ÿ“– Docs

DistroKid (World-Wide Distribution)

Direct uploads to 150+ stores ยท Spotify, Apple Music, Amazon, YouTube Music, TikTok
DistroKid API Access (Important):
DistroKid does not publish a public REST API. For production use, contact [email protected] for partner API access (API keys + OAuth).

Alternative โ€” Mobile Token Method:
1. Log in to DistroKid iOS app
2. Use a proxy tool (Proxyman/Charles) to inspect API calls
3. Extract your Bearer token from Authorization header
4. Paste it below (for personal use only โ€” see DistroGo reference)
๐Ÿ“– Partner API

Spotify for Developers

Artist analytics ยท Playlist data ยท Track features ยท Search ยท Recommendations
Get your Spotify API credentials:
1. Go to developer.spotify.com/dashboard
2. Create an app โ†’ get Client ID + Client Secret
3. Add redirect URI: https://goatroyalty.app/callback
4. For Artist data, use Spotify for Artists access token
user-read-private user-read-email user-library-read playlist-read-private playlist-modify-public user-top-read user-read-recently-played
๐Ÿ“– Docs

Apple Music for Artists

MusicKit API ยท Analytics ยท Shazam data ยท iTunes Connect
๐Ÿ“– Docs

YouTube Data API v3

Content ID ยท Video uploads ยท Analytics ยท Channel management

Export for Production Server

Download .env file to deploy on your GOAT Royalty App server (keys stay local)

Once you've configured your APIs, export them as a .env file to deploy on your server. Never commit this file to GitHub โ€” add it to .gitignore.