{"openapi":"3.0.0","info":{"title":"Social Media Downloader API","description":"A professional API for downloading content from Facebook, Instagram, Spotify, MediaFire, SoundCloud, Threads, X (Twitter), TikTok, CapCut, and Pinterest. Also includes YouTube transcript generator. Includes detailed documentation and interactive testing interface.","version":"2.0.0","contact":{"name":"Ashlynn Repository - Telegram Channel","url":"https://t.me/Ashlynn_Repository"}},"servers":[{"url":"https://socialdown.itz-ashlynn.workers.dev","description":"Production server"}],"tags":[{"name":"Social Media","description":"Download content from social media platforms"},{"name":"Utilities","description":"Utility and helper endpoints"}],"paths":{"/":{"get":{"summary":"API Documentation","description":"Returns the main API documentation page","responses":{"200":{"description":"HTML documentation page","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/docs":{"get":{"summary":"Swagger UI","description":"Interactive API documentation with Swagger UI","responses":{"200":{"description":"Swagger UI interface","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/docs/swagger.json":{"get":{"summary":"OpenAPI Specification","description":"Returns the OpenAPI specification in JSON format","responses":{"200":{"description":"OpenAPI specification","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/fb":{"get":{"summary":"Download Facebook Video (GET)","description":"Download a Facebook video using URL parameter","tags":["Social Media"],"parameters":[{"name":"url","in":"query","required":true,"description":"Facebook video URL","schema":{"type":"string","format":"uri"},"example":"https://www.facebook.com/watch?v=123456789"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"hd":{"type":"string"},"sd":{"type":"string"},"audio":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"facebook","hd":"https://video-url-hd.mp4","sd":"https://video-url-sd.mp4","audio":"https://audio-url.mp4","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download Facebook Video (POST)","description":"Download a Facebook video using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Facebook video URL"}},"required":["url"]},"example":{"url":"https://www.facebook.com/watch?v=123456789"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"hd":{"type":"string"},"sd":{"type":"string"},"audio":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/insta":{"get":{"summary":"Download Instagram Video (GET)","description":"Download an Instagram video using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"Instagram video URL","schema":{"type":"string","format":"uri"},"example":"https://www.instagram.com/p/ABC123/"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"urls":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"instagram","urls":["https://video-url-1.mp4","https://video-url-2.mp4"],"metadata":{"original_url":"https://www.instagram.com/p/ABC123/"},"creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download Instagram Video (POST)","description":"Download an Instagram video using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Instagram video URL"}},"required":["url"]},"example":{"url":"https://www.instagram.com/p/ABC123/"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"urls":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/spotify":{"get":{"summary":"Download Spotify Track (GET)","description":"Download a Spotify track using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"Spotify track URL","schema":{"type":"string","format":"uri"},"example":"https://open.spotify.com/track/4iV5W9uYEdYUVa79Axb7Rh"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"name":{"type":"string"},"artists":{"type":"array","items":{"type":"string"}},"image":{"type":"string"},"duration_ms":{"type":"number"},"download_url":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"spotify","name":"Song Name","artists":["Artist Name"],"image":"https://image-url.jpg","duration_ms":180000,"download_url":"https://download-url.mp3","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download Spotify Track (POST)","description":"Download a Spotify track using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Spotify track URL"}},"required":["url"]},"example":{"url":"https://open.spotify.com/track/4iV5W9uYEdYUVa79Axb7Rh"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"name":{"type":"string"},"artists":{"type":"array","items":{"type":"string"}},"image":{"type":"string"},"duration_ms":{"type":"number"},"download_url":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/mediafire":{"get":{"summary":"Download MediaFire File (GET)","description":"Download a MediaFire file using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"MediaFire file URL","schema":{"type":"string","format":"uri"},"example":"https://www.mediafire.com/file/abc123/file.zip"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"size":{"type":"number"},"mimetype":{"type":"string"},"created":{"type":"string"},"download":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"mediafire","type":"file","name":"file.zip","size":1048576,"mimetype":"application/zip","created":"2024-01-01T00:00:00.000Z","download":"https://download-url.com/file.zip","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download MediaFire File (POST)","description":"Download a MediaFire file using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"MediaFire file URL"}},"required":["url"]},"example":{"url":"https://www.mediafire.com/file/abc123/file.zip"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"size":{"type":"number"},"mimetype":{"type":"string"},"created":{"type":"string"},"download":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/soundcloud":{"get":{"summary":"Download SoundCloud Track (GET)","description":"Download a SoundCloud track using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"SoundCloud track URL","schema":{"type":"string","format":"uri"},"example":"https://soundcloud.com/artist/track-name"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"soundcloud","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download SoundCloud Track (POST)","description":"Download a SoundCloud track using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"SoundCloud track URL"}},"required":["url"]},"example":{"url":"https://soundcloud.com/artist/track-name"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/threads":{"get":{"summary":"Download Threads Post (GET)","description":"Download a Threads post using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"Threads post URL","schema":{"type":"string","format":"uri"},"example":"https://www.threads.net/@username/post/123"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"threads","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download Threads Post (POST)","description":"Download a Threads post using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Threads post URL"}},"required":["url"]},"example":{"url":"https://www.threads.net/@username/post/123"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/x":{"get":{"summary":"Download X (Twitter) Post (GET)","description":"Download an X (Twitter) post using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"X (Twitter) post URL","schema":{"type":"string","format":"uri"},"example":"https://x.com/username/status/123456789"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"found":{"type":"boolean"},"media":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"}}}},"authorName":{"type":"string"},"authorUsername":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"x","found":true,"media":[{"url":"https://media-url.jpg","type":"image"}],"authorName":"User Name","authorUsername":"username","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download X (Twitter) Post (POST)","description":"Download an X (Twitter) post using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"X (Twitter) post URL"}},"required":["url"]},"example":{"url":"https://x.com/username/status/123456789"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"found":{"type":"boolean"},"media":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"}}}},"authorName":{"type":"string"},"authorUsername":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/tiktok":{"get":{"summary":"Download TikTok Video (GET)","description":"Download a TikTok video using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"TikTok video URL","schema":{"type":"string","format":"uri"},"example":"https://www.tiktok.com/@username/video/123456789"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"thumbnail":{"type":"string"},"title":{"type":"string"},"downloadLinks":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"link":{"type":"string"}}}}}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"tiktok","data":[{"thumbnail":"https://thumbnail-url.jpg","title":"Video Title","downloadLinks":[{"text":"Download MP4 [1]","link":"https://download-url.mp4"}]}],"creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download TikTok Video (POST)","description":"Download a TikTok video using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"TikTok video URL"}},"required":["url"]},"example":{"url":"https://www.tiktok.com/@username/video/123456789"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"thumbnail":{"type":"string"},"title":{"type":"string"},"downloadLinks":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"link":{"type":"string"}}}}}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/capcut":{"get":{"summary":"Download CapCut Template (GET)","description":"Download a CapCut template using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"CapCut template URL","schema":{"type":"string","format":"uri"},"example":"https://www.capcut.com/template/123456789"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"title":{"type":"string"},"desc":{"type":"string"},"like":{"type":"number"},"play":{"type":"number"},"duration":{"type":"number"},"usage":{"type":"number"},"createTime":{"type":"string"},"coverUrl":{"type":"string"},"videoRatio":{"type":"string"},"author":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"capcut","title":"Template Title","desc":"Template Description","like":1000,"play":5000,"duration":15,"usage":200,"createTime":"2024-01-01T00:00:00.000Z","coverUrl":"https://cover-url.jpg","videoRatio":"9:16","author":"Author Name","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download CapCut Template (POST)","description":"Download a CapCut template using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"CapCut template URL"}},"required":["url"]},"example":{"url":"https://www.capcut.com/template/123456789"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"title":{"type":"string"},"desc":{"type":"string"},"like":{"type":"number"},"play":{"type":"number"},"duration":{"type":"number"},"usage":{"type":"number"},"createTime":{"type":"string"},"coverUrl":{"type":"string"},"videoRatio":{"type":"string"},"author":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/pinterest":{"get":{"summary":"Download Pinterest Media (GET)","description":"Download images or videos from Pinterest using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"Pinterest pin URL","schema":{"type":"string","format":"uri"},"example":"https://in.pinterest.com/pin/19421842139638698/"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"thumbnail":{"type":"string"},"thumbnailHotlinkProtection":{"type":"boolean"},"duration":{"type":["string","null"]},"medias":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"quality":{"type":"string"},"extension":{"type":"string"},"size":{"type":"number"},"formattedSize":{"type":"string"},"videoAvailable":{"type":"boolean"},"audioAvailable":{"type":"boolean"},"chunked":{"type":"boolean"},"cached":{"type":"boolean"}}}},"source":{"type":"string"}}},"example":{"url":"https://in.pinterest.com/pin/19421842139638698/","title":"Pinterest Video","thumbnail":"https://i.pinimg.com/564x/7f/96/8a/7f968a7319179e3a6ba2c186b0fbca1c.jpg","thumbnailHotlinkProtection":false,"duration":null,"medias":[{"url":"https://i.pinimg.com/236x/7f/96/8a/7f968a7319179e3a6ba2c186b0fbca1c.jpg","quality":"236p","extension":"jpg","size":7080,"formattedSize":"6.91 KB","videoAvailable":true,"audioAvailable":true,"chunked":false,"cached":false},{"url":"https://v1.pinimg.com/videos/iht/expMp4/80/c0/42/80c04263147b175607239c35457db05c_720w.mp4","quality":"1080p","extension":"mp4","size":345354,"formattedSize":"337.26 KB","videoAvailable":true,"audioAvailable":true,"chunked":false,"cached":false}],"source":"pinterest"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download Pinterest Media (POST)","description":"Download images or videos from Pinterest using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Pinterest pin URL"}},"required":["url"]},"example":{"url":"https://in.pinterest.com/pin/19421842139638698/"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"thumbnail":{"type":"string"},"thumbnailHotlinkProtection":{"type":"boolean"},"duration":{"type":["string","null"]},"medias":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"quality":{"type":"string"},"extension":{"type":"string"},"size":{"type":"number"},"formattedSize":{"type":"string"},"videoAvailable":{"type":"boolean"},"audioAvailable":{"type":"boolean"},"chunked":{"type":"boolean"},"cached":{"type":"boolean"}}}},"source":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/yt":{"get":{"summary":"Download YouTube Video (GET)","description":"Download YouTube video as MP3 or MP4 using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"YouTube video URL","schema":{"type":"string","format":"uri"},"example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{"name":"format","in":"query","required":false,"description":"Output format (mp3 or mp4)","schema":{"type":"string","enum":["mp3","mp4"],"default":"mp3"},"example":"mp3"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"videoId":{"type":"string"},"videoUrl":{"type":"string"},"format":{"type":"string"},"fileSize":{"type":"string"},"downloadUrl":{"type":"string"},"downloadPage":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"youtube","data":[{"title":"Rick Astley - Never Gonna Give You Up","videoId":"dQw4w9WgXcQ","videoUrl":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","format":"mp3","fileSize":"3.2 MB","downloadUrl":"https://direct-download-link.mp3","downloadPage":"https://download-page-url","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}],"creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download YouTube Video (POST)","description":"Download YouTube video as MP3 or MP4 using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"YouTube video URL"},"format":{"type":"string","enum":["mp3","mp4"],"description":"Output format (mp3 or mp4)","default":"mp3"}},"required":["url"]},"example":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","format":"mp3"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"videoId":{"type":"string"},"videoUrl":{"type":"string"},"format":{"type":"string"},"fileSize":{"type":"string"},"downloadUrl":{"type":"string"},"downloadPage":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"youtube","data":[{"title":"Rick Astley - Never Gonna Give You Up","videoId":"dQw4w9WgXcQ","videoUrl":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","format":"mp3","fileSize":"3.2 MB","downloadUrl":"https://direct-download-link.mp3","downloadPage":"https://download-page-url","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}],"creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/youtube":{"get":{"summary":"Download YouTube Video (GET) - Alternative endpoint","description":"Alternative endpoint for downloading YouTube video as MP3 or MP4","parameters":[{"name":"url","in":"query","required":true,"description":"YouTube video URL","schema":{"type":"string","format":"uri"},"example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"},{"name":"format","in":"query","required":false,"description":"Output format (mp3 or mp4)","schema":{"type":"string","enum":["mp3","mp4"],"default":"mp3"},"example":"mp3"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"videoId":{"type":"string"},"videoUrl":{"type":"string"},"format":{"type":"string"},"fileSize":{"type":"string"},"downloadUrl":{"type":"string"},"downloadPage":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download YouTube Video (POST) - Alternative endpoint","description":"Alternative endpoint for downloading YouTube video as MP3 or MP4 using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"YouTube video URL"},"format":{"type":"string","enum":["mp3","mp4"],"description":"Output format (mp3 or mp4)","default":"mp3"}},"required":["url"]},"example":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","format":"mp3"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"videoId":{"type":"string"},"videoUrl":{"type":"string"},"format":{"type":"string"},"fileSize":{"type":"string"},"downloadUrl":{"type":"string"},"downloadPage":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/sendmail":{"get":{"summary":"Send Email (GET)","description":"Send an email using query parameters","parameters":[{"name":"to","in":"query","required":true,"description":"Recipient email address","schema":{"type":"string","format":"email"},"example":"recipient@example.com"},{"name":"from","in":"query","required":true,"description":"Sender email address","schema":{"type":"string","format":"email"},"example":"sender@example.com"},{"name":"subject","in":"query","required":true,"description":"Email subject","schema":{"type":"string"},"example":"Test Email"},{"name":"message","in":"query","required":true,"description":"Email message content","schema":{"type":"string"},"example":"This is a test email sent via the API."}],"responses":{"200":{"description":"Email sent successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"subject":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"email","data":{"to":"recipient@example.com","from":"sender@example.com","subject":"Test Email","message":"This is a test email sent via the API...","status":"sent","timestamp":"2024-01-01T00:00:00.000Z"},"creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Send Email (POST)","description":"Send an email using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"string","format":"email","description":"Recipient email address"},"from":{"type":"string","format":"email","description":"Sender email address"},"subject":{"type":"string","description":"Email subject"},"message":{"type":"string","description":"Email message content"}},"required":["to","from","subject","message"]},"example":{"to":"recipient@example.com","from":"sender@example.com","subject":"Test Email","message":"This is a test email sent via the API."}}}},"responses":{"200":{"description":"Email sent successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"subject":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"platform":"email","data":{"to":"recipient@example.com","from":"sender@example.com","subject":"Test Email","message":"This is a test email sent via the API...","status":"sent","timestamp":"2024-01-01T00:00:00.000Z"},"creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/send-email":{"get":{"summary":"Send Email (GET) - Alternative endpoint","description":"Alternative endpoint for sending email using query parameters","parameters":[{"name":"to","in":"query","required":true,"description":"Recipient email address","schema":{"type":"string","format":"email"},"example":"recipient@example.com"},{"name":"from","in":"query","required":true,"description":"Sender email address","schema":{"type":"string","format":"email"},"example":"sender@example.com"},{"name":"subject","in":"query","required":true,"description":"Email subject","schema":{"type":"string"},"example":"Test Email"},{"name":"message","in":"query","required":true,"description":"Email message content","schema":{"type":"string"},"example":"This is a test email sent via the API."}],"responses":{"200":{"description":"Email sent successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"subject":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Send Email (POST) - Alternative endpoint","description":"Alternative endpoint for sending email using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"string","format":"email","description":"Recipient email address"},"from":{"type":"string","format":"email","description":"Sender email address"},"subject":{"type":"string","description":"Email subject"},"message":{"type":"string","description":"Email message content"}},"required":["to","from","subject","message"]},"example":{"to":"recipient@example.com","from":"sender@example.com","subject":"Test Email","message":"This is a test email sent via the API."}}}},"responses":{"200":{"description":"Email sent successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"data":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"subject":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"}}},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/yt-trans":{"get":{"summary":"Get YouTube Transcript (GET)","description":"Fetch transcript of a YouTube video using URL parameter","parameters":[{"name":"url","in":"query","required":true,"description":"YouTube video URL or video ID","schema":{"type":"string","format":"uri"},"example":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"responses":{"200":{"description":"Successful transcript fetch","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"videoUrl":{"type":"string"},"transcript":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}},"example":{"success":true,"videoUrl":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","transcript":"Never gonna give you up, never gonna let you down...","creator":"https://t.me/Ashlynn_Repository","timestamp":"2024-01-01T00:00:00.000Z"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Get YouTube Transcript (POST)","description":"Fetch transcript of a YouTube video using JSON body","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"YouTube video URL or video ID"}},"required":["url"]},"example":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}}}},"responses":{"200":{"description":"Successful transcript fetch","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"videoUrl":{"type":"string"},"transcript":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}},"/tempmail":{"get":{"summary":"TempMail Service (GET)","description":"Manage temporary email addresses - list domains, create email, or fetch messages","tags":["Utilities"],"parameters":[{"name":"action","in":"query","required":true,"description":"Action to perform: list, create, or messages","schema":{"type":"string","enum":["list","create","messages"]}},{"name":"email","in":"query","description":"Email address (required for 'messages' action)","schema":{"type":"string"}},{"name":"password","in":"query","description":"Optional password for email account","schema":{"type":"string"}},{"name":"page","in":"query","description":"Page number for messages (default: 1)","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response"}}},"post":{"summary":"TempMail Service (POST)","description":"Manage temporary email addresses using JSON body","tags":["Utilities"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["list","create","messages"],"description":"Action to perform"},"email":{"type":"string"},"password":{"type":"string"},"page":{"type":"integer"}},"required":["action"]},"example":{"action":"create","password":""}}}},"responses":{"200":{"description":"Successful response"}}}},"/download":{"get":{"summary":"Download Content (Legacy - GET)","description":"Legacy endpoint that auto-detects platform and downloads content","parameters":[{"name":"url","in":"query","required":true,"description":"Video URL (Facebook or Instagram)","schema":{"type":"string","format":"uri"},"example":"https://www.facebook.com/watch?v=123456789"}],"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"hd":{"type":"string"},"sd":{"type":"string"},"audio":{"type":"string"},"urls":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}},"post":{"summary":"Download Content (Legacy - POST)","description":"Legacy endpoint that auto-detects platform and downloads content","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Video URL (Facebook or Instagram)"}},"required":["url"]},"example":{"url":"https://www.facebook.com/watch?v=123456789"}}}},"responses":{"200":{"description":"Successful download","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"platform":{"type":"string"},"hd":{"type":"string"},"sd":{"type":"string"},"audio":{"type":"string"},"urls":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"error_code":{"type":"string"},"creator":{"type":"string"},"timestamp":{"type":"string"}}}}}}}}}}}