Last checked: -
3.0
Operational
Subscriptions control access. Administrators provision user accounts and API keys.
Quick actions
Plans (example)
All API endpoints require authentication. Use JWT tokens or API keys.
POST /auth/login
Login to get JWT token
{"username": "your_username", "password": "your_password"}curl -X POST https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/auth/login -H "Content-Type: application/json" -d '{"username":"user","password":"pass"}'
GET /auth/me
Get current user info and usage stats
curl https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/auth/me -H "Authorization: Bearer YOUR_JWT_TOKEN"
GET /api?url=...
Get file information from TeraBox links
url (required): TeraBox share linkpwd (optional): Password for protected linkscurl "https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/api?url=https://terabox.com/s/1ABC123..." -H "Authorization: Bearer YOUR_TOKEN"
GET /api2?url=...
Get files with direct download links
url (required): TeraBox share linkpwd (optional): Password for protected linkscurl "https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/api2?url=https://terabox.com/s/1ABC123..." -H "Authorization: Bearer YOUR_TOKEN"
GET /api?mode=resolve&surl=...
Advanced: Auto-resolve with jsToken
mode=resolve: Auto-extract jsToken and fetch APIsurl (required): Short URL ID from share linkcurl "https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/api?mode=resolve&surl=1ABC123" -H "Authorization: Bearer YOUR_TOKEN"
GET /api?mode=stream&surl=...
Streaming: Get HLS playlist for video playback
mode=stream: Generate streaming playlistsurl (required): Short URL IDtype (optional): Quality (M3U8_AUTO_360, M3U8_AUTO_480, etc.)curl "https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/api?mode=stream&surl=1ABC123&type=M3U8_AUTO_360" -H "Authorization: Bearer YOUR_TOKEN"
GET /health
Check API health status
{"status": "healthy", "timestamp": "ISO_DATE"}curl https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/health
GET /api/public-stats
View public system statistics
curl https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/api/public-stats
GET /api-info
Get API information and available endpoints
curl https://6ab25a82-ff2e-46c2-87f7-527275574e3a.glacierhosting.org/api-info
GET /auth/me to see current usageAuthorization: Bearer YOUR_JWT_TOKENX-API-Key: YOUR_API_KEY?api_key=YOUR_API_KEY/auth/me
📝 Important Notes:
/api2 for downloads, /api for file informationmode=resolve, mode=stream) provide better performanceGET /auth/mepwd parameterRegistered Users
Active Today
Requests Today