Base URL
url
loading...
ENDPOINTS
13 total
GET
/downloader/yta?q={song_name}
YouTube Audio
▼
Parameters
| Name | Type | Description |
|---|---|---|
| qrequired | string | Song name or artist + title |
| qualityoptional | string | 128k (default), 192k, 320k |
Response
"title": "Alan Walker - Faded",
"thumb": "https://i.ytimg.com/vi/...",
"duration": "00:03:33",
"size": "3.28 MB",
"sizeB": 3439329,
"dl_url": "https://dl.iamworker.com/..."
Try it
song name
GET
/downloader/ytv?url={youtube_url}
YouTube Video
▼
Parameters
| Name | Type | Description |
|---|---|---|
| urlrequired | string | YouTube video URL |
| qualityoptional | string | 360p (default), 720p, 1080p |
Response
"title": "Alan Walker - Faded",
"thumb": "https://i.ytimg.com/vi/...",
"duration": "00:03:33",
"quality": "360p",
"size": "12.4 MB",
"dl_url": "https://dl.iamworker.com/..."
Try it
GET
/downloader/tiktok?url={tiktok_url}
TikTok DL
▼
Parameters
| Name | Type | Description |
|---|---|---|
| urlrequired | string | TikTok video URL |
Response
"result": {
"id": "7234567890123",
"title": "video caption...",
"play": "https://...",
"music": "https://...",
"author": { "nickname": "username" },
"digg_count": 12400,
"duration": 15
}
Try it
GET
/downloader/twitter?url={tweet_url}
Twitter / X DL
▼
Parameters
| Name | Type | Description |
|---|---|---|
| urlrequired | string | Twitter / X post URL |
Response
"desc": "tweet text...",
"thumb": "https://pbs.twimg.com/...",
"HD": "https://video.twimg.com/...",
"SD": "https://video.twimg.com/...",
"audio": "https://twdown.net/..."
Try it
GET
/downloader/facebook?url={fb_url}
Facebook DL
▼
Parameters
| Name | Type | Description |
|---|---|---|
| urlrequired | string | Facebook video URL |
Response
"title": "Facebook Video",
"hd": "https://video.xx.fbcdn.net/hd...",
"sd": "https://video.xx.fbcdn.net/sd...",
"url": "https://video.xx.fbcdn.net/..."
Try it
GET
/downloader/gdrive?url={drive_url}
Google Drive DL
▼
Parameters
| Name | Type | Description |
|---|---|---|
| urlrequired | string | Google Drive file share URL |
Response
"fileName": "document.pdf",
"fileSize": "2.4 MB",
"fileSizeB": 2516582,
"mimetype": "application/pdf",
"downloadUrl": "https://drive.google.com/..."
Try it
GET
/downloader/npm?q={package_name}
npm Package
▼
Parameters
| Name | Type | Description |
|---|---|---|
| qrequired | string | npm package name e.g. axios |
Response
"name": "axios",
"version": "1.6.0",
"description": "Promise based HTTP client",
"license": "MIT",
"owner": "jasonsaayman",
"downloadLink": "https://registry.npmjs.org/...",
"homepage": "https://axios-http.com"
Try it
GET
/search/lyrics?q={song_name}
Song Lyrics
▼
Parameters
| Name | Type | Description |
|---|---|---|
| qrequired | string | Song name or artist + title |
Response
"title": "Faded",
"artist": "Alan Walker",
"lyrics": "You were the shadow to my light...",
"link": "https://genius.com/...",
"image": "https://images.genius.com/..."
Try it
GET
/search/gimage?q={query}
Google Images
▼
Parameters
| Name | Type | Description |
|---|---|---|
| qrequired | string | Image search query |
Response
// Array of image URLs
[
"https://example.com/image1.jpg",
"https://example.com/image2.png",
...
]
Try it
GET
/search/wallpaper?q={query}
HD Wallpapers
▼
Parameters
| Name | Type | Description |
|---|---|---|
| qrequired | string | Wallpaper search query |
| pageoptional | number | Page number (default: 1) |
Response
[
{ "title": "Anime Landscape 4K",
"image": "https://www.besthdwallpaper.com/..." },
...
]
Try it
GET
/social/ttstalk?username={username}
TikTok Profile
▼
Parameters
| Name | Type | Description |
|---|---|---|
| usernamerequired | string | TikTok username (without @) |
Response
"id": "6829680307",
"username": "charlidamelio",
"name": "charli d'amelio",
"avatar": "https://...",
"bio": "bio text",
"verified": true,
"followers": "152M",
"likes": "11.2B"
Try it
GET
/social/igstalk?username={username}
Instagram Profile
▼
Parameters
| Name | Type | Description |
|---|---|---|
| usernamerequired | string | Instagram username |
| limitoptional | number | Posts to return (default: 12) |
Response
"profile": {
"name": "Cristiano Ronaldo",
"followers": 619000000,
"verified": true
},
"posts": [ ... ]
Try it
GET
/tools/ttp?text={text}
Text to Image
▼
Parameters
| Name | Type | Description |
|---|---|---|
| textrequired | string | Text to render as image |
| coloroptional | string | Hex color without # (default: 30F4EF) |
Response
"status": 200,
"result": "https://www.picturetopeople.org/p2p/..."
Try it
SETUP GUIDE
📦 1. Clone / create folder
bash
mkdir trashcore-api && cd trashcore-api
⚙️ 2. Install dependencies
bash
npm install express cors api-dylux
▶ 3. Start server
bash
node server.js
# Running on port 3000
🌐 4. Test a route
bash
curl "http://localhost:3000/downloader/npm?q=axios"
🚀 Deploy to Railway
bash
# Push to GitHub, then connect on Railway # Set start command: node server.js # PORT is set automatically
🐍 Usage from Python
python
import requests r = requests.get( "http://localhost:3000/downloader/yta", params={"q": "Alan Walker Faded"} ) print(r.json())