### Example API Response (Create Folder) Source: https://streamtape.com/api/index_lang=en Example JSON response for a successful folder creation, returning the new folder ID. ```JSON { "status": 200, "msg": "OK", "result": { "folderid": "LnvnE51P5gc" } } ``` -------------------------------- ### Example API Response (Running Converts) Source: https://streamtape.com/api/index_lang=en Example JSON response listing running file conversions, including progress and status. ```JSON { "status": 200, "msg": "OK", "result":[ { "name":"streamtape.mp4", "folderid":"0", "status":"new", "progress":0, "retries":0, "link":"https://streamtape.com/v/XklyYLYAZZZDZW/streamtape.mp4", "linkid":"XklyYLYAZZZDZW" }, { "name":"Blender.mp4", "folderid":"", "status":"pending", "progress":0.75, "retries":0, "link":"https://streamtape.com/v/B4GaCbJAAAyBxb/Blender.mp4", "linkid":"B4GaCbJAAAyBxb" } ] } ``` -------------------------------- ### Example API Response (File List) Source: https://streamtape.com/api/index_lang=en Example JSON response indicating a successful operation, listing folders and files with their details. ```JSON { "status": 200, "msg": "OK", "result": { "folders": [ { "id": "B-qlJkdHFeo", "name": "Subfolder" } ], "files": [ { "name": "MyMinecraftLetsPlay.mp4", "size": 7040842, "link": "https://streamtape.com/v/rbAarvRPXdYbaxY/MyMinecraftLetsPlay.mp4", "created_at": 1585532987430, "downloads": 0, "linkid": "rbAarvRPXdYbaxY", "convert": "converted" } ] } } ``` -------------------------------- ### Streamtape API Response Example (Running Converts) Source: https://streamtape.com/api/index_lang=fr Example JSON response listing running file conversions on Streamtape. Each entry includes details like filename, folder ID, status, progress percentage, retry count, and the associated download link. ```JSON { "status": 200, "msg": "OK", "result":[ { "name":"streamtape.mp4", "folderid":"0", "status":"new", "progress":0, "retries":0, "link":"https://streamtape.com/v/XklyYLYAZZZDZW/streamtape.mp4", "linkid":"XklyYLYAZZZDZW" }, { "name":"Blender.mp4", "folderid":"", "status":"pending", "progress":0.75, "retries":0, "link":"https://streamtape.com/v/B4GaCbJAAAyBxb/Blender.mp4", "linkid":"B4GaCbJAAAyBxb" } ] } ``` -------------------------------- ### Streamtape API: Response Example for File Listing Source: https://streamtape.com/api/index_lang=fr An example JSON response detailing the files within a folder, including their IDs, names, sizes, types, and conversion status. ```JSON { "status": 200, "msg": "OK", "result": { "wg8ad12d3QiJRXG3": { "id": "wg8ad12d3QiJRXG3", "name": "MyMinecraftLetsPlay.mp4", "size": 1234, "type": "video/mp4", "converted": true, "status": 200 }, "ag8ad12d3QiJRXG4": { "id": "ag8ad12d3QiJRXG5", "name": "OutfitOfTheDay21.mp4", "size": 12346, "type": "video/mp4", "converted": true, "status": 200 }, "bg8ad12d3QiJRXG9": { "id": "bg8ad12d3QiJRXG9", "name": "Travel with Me - Episode 128", "size": 1234567, "type": "video/mp4", "converted": true, "status": 200 }, "yg8ad12d3QiJRXG1": { "id": "yg8ad12d3QiJRXG1", "name": "Reaction Video", "size": 12345, "type": "video/mp4", "converted": true, "status": 200 } } } ``` -------------------------------- ### Streamtape API Get Thumbnail Response Example Source: https://streamtape.com/api/index Example JSON response containing the URL for a video thumbnail. The response includes status, message, and the thumbnail link. ```json { "status": 200, "msg": "OK", "result": "https://thumb.tapecontent.net/thumb/wg8ad12d3QiJRXG/thumb.jpg" } ``` -------------------------------- ### Streamtape API File Operation Response Example Source: https://streamtape.com/api/index Example JSON response for file operations, indicating status, messages, and file details like name, folder, status, progress, retries, and links. ```json { "status": 200, "msg": "OK", "result":[ { "name":"streamtape.mp4", "folderid":"0", "status":"error", "progress":0, "retries":2, "link":"https://streamtape.com/v/XklyYLYAZZZDZW/streamtape.mp4", "linkid":"XklyYLYAZZZDZW" } ] } ``` -------------------------------- ### GET /file/runningconverts Source: https://streamtape.com/api/index_lang=fr Lists all files that are currently being converted, showing their progress and status. ```APIDOC ## GET /file/runningconverts ### Description It lists all running converts with their progress. ### Method GET ### Endpoint https://api.streamtape.com/file/runningconverts ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password ### Request Example ```json { "login": "y7bhafa3bxfxudzk", "key": "dq6hzjewe27bmwdn" } ``` ### Response #### Success Response (200) - **status** (integer) - The status code of the response. - **msg** (string) - A message indicating the status of the operation. - **result** (array) - A list of running convert jobs. - **name** (string) - The name of the file being converted. - **folderid** (string) - The ID of the folder the file belongs to. - **status** (string) - The current status of the conversion (e.g., "new", "pending", "converted"). - **progress** (number) - The progress of the conversion, from 0 to 1. - **retries** (integer) - The number of times the conversion has been retried. - **link** (string) - The direct link to the converted file. - **linkid** (string) - The unique ID for the converted file link. #### Response Example ```json { "status": 200, "msg": "OK", "result":[ { "name":"streamtape.mp4", "folderid":"0", "status":"new", "progress":0, "retries":0, "link":"https://streamtape.com/v/XklyYLYAZZZDZW/streamtape.mp4", "linkid":"XklyYLYAZZZDZW" }, { "name":"Blender.mp4", "folderid":"", "status":"pending", "progress":0.75, "retries":0, "link":"https://streamtape.com/v/B4GaCbJAAAyBxb/Blender.mp4", "linkid":"B4GaCbJAAAyBxb" } ] } ``` ``` -------------------------------- ### GET /file/runningconverts Source: https://streamtape.com/api/index Lists all files currently undergoing conversion, including their progress and status. ```APIDOC ## GET /file/runningconverts ### Description Lists all files currently undergoing conversion, including their progress and status. ### Method GET ### Endpoint https://api.streamtape.com/file/runningconverts ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password ### Request Example ```json { "request": "https://api.streamtape.com/file/runningconverts?login=y7bhafa3bxfxudzk&key=dq6hzjewe27bmwdn" } ``` ### Response #### Success Response (200) - **result** (array) - A list of objects, where each object represents a file being converted and contains details like name, folder ID, status, progress, and download link. #### Response Example ```json { "status": 200, "msg": "OK", "result": [ { "name": "streamtape.mp4", "folderid": "0", "status": "new", "progress": 0, "retries": 0, "link": "https://streamtape.com/v/XklyYLYAZZZDZW/streamtape.mp4", "linkid": "XklyYLYAZZZDZW" }, { "name": "Blender.mp4", "folderid": "", "status": "pending", "progress": 0.75, "retries": 0, "link": "https://streamtape.com/v/B4GaCbJAAAyBxb/Blender.mp4", "linkid": "B4GaCbJAAAyBxb" } ] } ``` ``` -------------------------------- ### Streamtape API List Folder/Files Request Example Source: https://streamtape.com/api/index This is the request URL to list the contents of a specific folder on Streamtape. It requires login, key, and the folder ID. ```http https://api.streamtape.com/file/listfolder?login={login}&key={key}&folder={folder} ``` -------------------------------- ### Streamtape API Upload URL Request Example (cURL) Source: https://streamtape.com/api/index This cURL command demonstrates how to request an upload URL from the Streamtape API. It includes necessary parameters like login, key, and optional parameters for folder, sha256, and httponly. ```bash curl -F file1=@/path/to/file.txt https://tapecontent.net/xfsproupload/wg8ad12d3QiJRXG ``` -------------------------------- ### Get Account Information Source: https://streamtape.com/api/index Retrieves account-related information such as API ID, email, and signup date. Requires API login and key. ```bash https://api.streamtape.com/account/info?login={login}&key={key} ``` -------------------------------- ### Get Account Information Source: https://streamtape.com/api/index_lang=en Retrieves account details such as API ID, email, and signup date. Requires login and API key for authentication. The response includes status, message, and account details. ```http https://api.streamtape.com/account/info?login={login}&key={key} ``` ```json { "status": 200, "msg": "OK", "result": { "apiid": "", "email": "user@gmail.com", "signup_at": "2019-12-31 23:59:59" } } ``` -------------------------------- ### GET /file/failedconverts Source: https://streamtape.com/api/index_lang=fr Lists all files that failed during the conversion process. Contact support if you have a video that is not converting. ```APIDOC ## GET /file/failedconverts ### Description It lists all converts which failed. Contact us if you have a valid video which does not convert on our side. ### Method GET ### Endpoint https://api.streamtape.com/file/failedconverts ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password ### Request Example ```json { "login": "y7bhafa3bxfxudzk", "key": "dq6hzjewe27bmwdn" } ``` ### Response #### Success Response (200) - **status** (integer) - The status code of the response. - **msg** (string) - A message indicating the status of the operation. - **result** (array) - A list of failed convert jobs. - **name** (string) - The name of the file that failed conversion. - **folderid** (string) - The ID of the folder the file belongs to. - **status** (string) - The status of the conversion (should indicate failure). - **retries** (integer) - The number of times the conversion was retried. - **link** (string) - The link to the file, if available. - **linkid** (string) - The unique ID for the file link. #### Response Example ```json { "status": 200, "msg": "OK", "result": [ { "name": "failed_video.mp4", "folderid": "0", "status": "failed", "retries": 3, "link": "", "linkid": "" } ] } ``` ``` -------------------------------- ### Streamtape Dynamic Thumbnail via URL Source: https://streamtape.com/api/index Example of using a custom thumbnail by providing its URL in the query string of the embed or video link. Useful for A/B testing or dynamic thumbnail generation. ```http https://streamtape.com/e/wg8ad12d3QiJRXG?thumb=http://myimage.com/thumb.jpg ``` -------------------------------- ### Streamtape API Upload URL Response Example Source: https://streamtape.com/api/index This JSON object details a successful response from the Streamtape API when requesting an upload URL, providing the upload URL and its validity period. ```json { "status": 200, "msg": "OK", "result": { "url": "https://tapecontent.net/xfsupload/wg8ad12d3QiJRXG", "valid_until": "2019-12-31 23:59:59" } } ``` -------------------------------- ### GET /file/failedconverts Source: https://streamtape.com/api/index Lists all files that failed during the conversion process. Contact support for files that should have converted successfully. ```APIDOC ## GET /file/failedconverts ### Description Lists all files that failed during the conversion process. Contact support for files that should have converted successfully. ### Method GET ### Endpoint https://api.streamtape.com/file/failedconverts ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password ### Request Example ```json { "request": "https://api.streamtape.com/file/failedconverts?login=y7bhafa3bxfxudzk&key=dq6hzjewe27bmwdn" } ``` ### Response #### Success Response (200) - **result** (array) - A list of objects, where each object represents a file that failed conversion. #### Response Example ```json { "status": 200, "msg": "OK", "result": [ { "name": "corrupted_video.mp4", "folderid": "", "status": "failed", "progress": 0, "retries": 3, "link": null, "linkid": null } ] } ``` ``` -------------------------------- ### Streamtape API Upload Response Example Source: https://streamtape.com/api/index This JSON object represents a successful response from the Streamtape API after a file upload, indicating the status and details of the uploaded file. ```json { "status": 200, "msg": "OK", "result": { "wg8ad12d3QiJRXG3": { "id": "wg8ad12d3QiJRXG3", "name": "MyMinecraftLetsPlay.mp4", "size": 1234, "type": "video/mp4", "converted": true, "status": 200 }, "ag8ad12d3QiJRXG4": { "id": "ag8ad12d3QiJRXG4", "name": "OutfitOfTheDay21.mp4", "size": 12346, "type": "video/mp4", "converted": true, "status": 200 }, "bg8ad12d3QiJRXG9": { "id": "bg8ad12d3QiJRXG9", "name": "Travel with Me - Episode 128", "size": 1234567, "type": "video/mp4", "converted": true, "status": 200 }, "yg8ad12d3QiJRXG1": { "id": "yg8ad12d3QiJRXG1", "name": "Reaction Video", "size": 12345, "type": "video/mp4", "converted": true, "status": 200 } } } ``` -------------------------------- ### Streamtape API Add Remote Upload Request Example Source: https://streamtape.com/api/index This is the URL format for adding a remote file for uploading to Streamtape. It requires login, key, and the remote URL, with optional parameters for folder, headers, and custom file name. ```http https://api.streamtape.com/remotedl/add?login={login}&key={key}&url={url}&folder={folder}&headers={headers}amp;name={name} ``` -------------------------------- ### Streamtape API Check Remote Upload Status Request Example Source: https://streamtape.com/api/index This URL is used to check the status of a remote upload initiated with the Streamtape API. It requires login, key, and the ID of the remote upload. ```http https://api.streamtape.com/remotedl/status?login={login}&key={key}&limit={limit}&id={id} ``` -------------------------------- ### Streamtape API Get Thumbnail Parameters Source: https://streamtape.com/api/index Parameters required for the 'getsplash' API endpoint to retrieve a video thumbnail. This includes authentication credentials and the specific file ID. ```text login: API-Login key: API-Key / API-Password file: File-ID ``` -------------------------------- ### Get Download Link API Source: https://streamtape.com/api/index_lang=en Obtains a direct download link for a file using a previously generated download ticket and optionally a captcha response. ```APIDOC ## GET /file/dl ### Description Obtains a direct download link for a file using a previously generated download ticket and optionally a captcha response. ### Method GET ### Endpoint https://api.streamtape.com/file/dl ### Parameters #### Query Parameters - **file** (string) - Required - File-ID - **ticket** (string) - Required - Previously generated download ticket - **captcha_response** (string) - Optional - Response from a captcha challenge ### Response #### Success Response (200) - **name** (string) - The name of the file - **size** (integer) - The size of the file in bytes - **url** (string) - The direct download URL for the file #### Response Example ```json { "status": 200, "msg": "OK", "result": { "name": "Vlog1220-Sidney.mp4", "size": 12345, "url": "https://tapecontent.net/Vlog1220-Sidney.mp4" } } ``` ``` -------------------------------- ### Streamtape API Get Thumbnail Request Source: https://streamtape.com/api/index URL format for requesting a video thumbnail from the Streamtape API. Requires login, API key, and the file ID. ```http https://api.streamtape.com/file/getsplash?login={login}&key={key}&file={file} ``` -------------------------------- ### Get Download Link API Source: https://streamtape.com/api/index_lang=fr Obtains a direct download link for a file using a previously generated download ticket. ```APIDOC ## GET /file/dl ### Description Obtains a direct download link for a file using a previously generated download ticket. ### Method GET ### Endpoint `https://api.streamtape.com/file/dl` ### Parameters #### Query Parameters - **file** (string) - Required - File-ID - **ticket** (string) - Required - Previously generated download ticket - **captcha_response** (string) - Required - Response from CAPTCHA verification ### Request Example `https://api.streamtape.com/file/dl?file={file}&ticket={ticket}&captcha_response={captcha_response}` ### Response #### Success Response (200) - **name** (string) - The name of the file - **size** (integer) - The size of the file in bytes - **url** (string) - The direct download URL for the file #### Response Example ```json { "status": 200, "msg": "OK", "result": { "name": "Vlog1220-Sidney.mp4", "size": 12345, "url": "https://tapecontent.net/Vlog1220-Sidney.mp4" } } ``` ``` -------------------------------- ### Get Upload URL Source: https://streamtape.com/api/index_lang=fr Retrieves a URL for uploading files. Uploads should be POSTed to this URL as multipart/form-data. ```APIDOC ## POST /file/ul ### Description Retrieves a URL for uploading files. Uploads should be POSTed to this URL as multipart/form-data. ### Method POST ### Endpoint https://api.streamtape.com/file/ul ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password - **folder** (string) - Optional - Folder-ID to upload to - **sha256** (string) - Optional - Expected sha256. If sha256 of uploaded file doesn't match this value, upload fails. - **httponly** (boolean) - Optional - If this is set to true, use only http upload links ### Response #### Success Response (200) - **status** (integer) - The status code of the response. - **msg** (string) - A message indicating the status of the operation. - **result** (object) - An object containing the upload URL and its validity period. - **url** (string) - The upload URL. - **valid_until** (string) - The expiration date and time of the upload URL. #### Response Example ```json { "status": 200, "msg": "OK", "result": { "url": "https://tapecontent.net/xfsupload/wg8ad12d3QiJRXG", "valid_until": "2019-12-31 23:59:59" } } ``` ``` -------------------------------- ### Get Download Link API Source: https://streamtape.com/api/index Retrieves the actual download link for a file using a previously generated download ticket. ```APIDOC ## POST /file/dl ### Description Retrieves the download link for a file using a valid download ticket and optionally a CAPTCHA response. ### Method POST ### Endpoint `https://api.streamtape.com/file/dl` ### Parameters #### Query Parameters - **file** (string) - Required - File ID - **ticket** (string) - Required - Previously generated download ticket - **captcha_response** (string) - Optional - Response from CAPTCHA ### Response #### Success Response (200) - **name** (string) - The name of the file - **size** (integer) - The size of the file in bytes - **url** (string) - The direct download URL #### Response Example ```json { "status": 200, "msg": "OK", "result": { "name": "Vlog1220-Sidney.mp4", "size": 12345, "url": "https://tapecontent.net/Vlog1220-Sidney.mp4" } } ``` ``` -------------------------------- ### Get File Thumbnail Source: https://streamtape.com/api/index_lang=en Retrieves the thumbnail image for a given file using its File-ID. Requires login and key for authentication. ```APIDOC ## GET /file/getsplash ### Description Shows the video Thumbnail for a given file. ### Method GET ### Endpoint https://api.streamtape.com/file/getsplash ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password - **file** (string) - Required - File-ID ### Response #### Success Response (200) - **status** (integer) - The status code of the response. - **msg** (string) - The message indicating the status of the response. - **result** (string) - The URL of the thumbnail image. #### Response Example ```json { "status": 200, "msg": "OK", "result": "https://thumb.tapecontent.net/thumb/wg8ad12d3QiJRXG/thumb.jpg" } ``` ``` -------------------------------- ### Get Video Thumbnail Source: https://streamtape.com/api/index Retrieve the thumbnail image for a given video file using its file ID. ```APIDOC ## GET /file/getsplash ### Description Shows the video Thumbnail. ### Method GET ### Endpoint https://api.streamtape.com/file/getsplash ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password - **file** (string) - Required - File-ID ### Response #### Success Response (200) - **status** (integer) - The status code of the response. - **msg** (string) - A message indicating the status of the operation. - **result** (string) - The URL of the thumbnail image. #### Response Example ```json { "status": 200, "msg": "OK", "result": "https://thumb.tapecontent.net/thumb/wg8ad12d3QiJRXG/thumb.jpg" } ``` ``` -------------------------------- ### Get Video Thumbnail API Source: https://streamtape.com/api/index_lang=fr Retrieve the thumbnail image for a given video file using its file ID. ```APIDOC ## GET /file/getsplash ### Description Shows the video Thumbnail. ### Method GET ### Endpoint https://api.streamtape.com/file/getsplash ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password - **file** (string) - Required - File-ID ### Response #### Success Response (200) - **status** (integer) - HTTP status code. - **msg** (string) - Status message. - **result** (string) - URL to the thumbnail image. #### Response Example ```json { "status": 200, "msg": "OK", "result": "https://thumb.tapecontent.net/thumb/wg8ad12d3QiJRXG/thumb.jpg" } ``` ``` -------------------------------- ### Streamtape Custom Player Color via URL Source: https://streamtape.com/api/index Example of customizing the Streamtape player's color by passing RGB values in the URL query string. This affects both embed and direct video links. ```http https://streamtape.com/e/wg8ad12d3QiJRXG?color=26,194,102 ``` -------------------------------- ### Get Download Link Source: https://streamtape.com/api/index Retrieves the download URL for a file using a previously generated download ticket. Returns file name, size, and the download URL. ```bash https://api.streamtape.com/file/dl?file={file}&ticket={ticket}&captcha_response={captcha_response} ``` -------------------------------- ### Streamtape API Add Remote Upload Response Example Source: https://streamtape.com/api/index This JSON response confirms the successful addition of a remote file for upload to Streamtape, providing the new upload ID and the associated folder ID. ```json { "status": 200, "msg": "OK", "result": { "id": "rbAarvRPXdYbaxY", "folderid": "LnvnE51P5gc" } } ``` -------------------------------- ### Streamtape API Remove Remote Upload Response Example Source: https://streamtape.com/api/index A successful response from the Streamtape API after removing a remote upload, indicating the status and confirming the operation. ```json { "status": 200, "msg": "OK", "result": true } ``` -------------------------------- ### Streamtape API Check Remote Upload Status Response Example Source: https://streamtape.com/api/index This JSON object represents the status of a remote upload managed by the Streamtape API, detailing the upload's progress, source URL, and timestamps. ```json { "status": 200, "msg": "OK", "result": { "LnvnE51P5gc": { "id": "LnvnE51P5gc", "remoteurl": "https://vid.me/myvideo123", "status": "new", "bytes_loaded": null, "bytes_total": null, "folderid": "LnvnE51P5gc", "added": "2019-12-31 23:59:59", "last_update": "2019-12-31 23:59:59", "extid": false, "url": false } } } ``` -------------------------------- ### Get Download Link Source: https://streamtape.com/api/index_lang=en Retrieves the actual download link for a file using a previously generated download ticket. Requires the file ID and ticket. The response includes file name, size, and the download URL. ```http https://api.streamtape.com/file/dl?file={file}&ticket={ticket}&captcha_response={captcha_response} ``` ```json { "status": 200, "msg": "OK", "result": { "name": "Vlog1220-Sidney.mp4", "size": 12345, "url": "https://tapecontent.net/Vlog1220-Sidney.mp4" } } ``` -------------------------------- ### Streamtape API Remove Remote Upload Request Example Source: https://streamtape.com/api/index This is the URL for removing or canceling a remote upload on Streamtape. It requires login, key, and the ID of the remote upload to be removed. ```http https://api.streamtape.com/remotedl/remove?login={login}&key={key}&id={id} ``` -------------------------------- ### List Running Converts in Streamtape API Source: https://streamtape.com/api/index Retrieves a list of all currently running file conversions on Streamtape. Requires API login and key. Returns details such as file name, status, progress, and download links. ```HTTP https://api.streamtape.com/file/runningconverts?login={login}&key={key} ``` -------------------------------- ### Generate Download Ticket Source: https://streamtape.com/api/index_lang=en Prepares a file for download by generating a download ticket. Requires the file ID and optionally login/key. The response contains the ticket, wait time, and validity period. ```http https://api.streamtape.com/file/dlticket?file={file}&login={login}&key={key} ``` ```json { "status": 200, "msg": "OK", "result": { "ticket": "wg8ad12d3QiJRXG~~1585532987430~n~~0~q75Z2aJg-TYfQgxz8", "wait_time": 10, "valid_until": "2019-12-31 23:59:59" } } ``` -------------------------------- ### Generate Download Ticket API Source: https://streamtape.com/api/index_lang=fr Prepares a file for download by generating a download ticket. ```APIDOC ## POST /file/dlticket ### Description Prepares a file for download by generating a download ticket. ### Method POST ### Endpoint `https://api.streamtape.com/file/dlticket` ### Parameters #### Query Parameters - **file** (string) - Required - File-ID - **login** (string) - Optional - API-Login - **key** (string) - Optional - API-Key / API-Password ### Request Example `https://api.streamtape.com/file/dlticket?file={file}&login={login}&key={key}` ### Response #### Success Response (200) - **ticket** (string) - The generated download ticket - **wait_time** (integer) - Estimated wait time in seconds before download can start - **valid_until** (string) - Timestamp indicating when the ticket expires #### Response Example ```json { "status": 200, "msg": "OK", "result": { "ticket": "wg8ad12d3QiJRXG~~1585532987430~n~~0~q75Z2aJg-TYfQgxz8", "wait_time": 10, "valid_until": "2019-12-31 23:59:59" } } ``` ``` -------------------------------- ### Streamtape Dynamic Subtitles via Query Parameters Source: https://streamtape.com/api/index Demonstrates how to load subtitles dynamically using query parameters in the URL. Supports multiple subtitle files with labels and file paths. ```http https://streamtape.com/e/wg8ad12d3QiJRXG?c1_label=FR&c1_file=http://yoursubtitle.com/file.srt ``` -------------------------------- ### Streamtape Player Subtitle Options Source: https://streamtape.com/api/index_lang=en Demonstrates multiple ways to load subtitles dynamically into a Streamtape video player. This includes using query parameters for labeled subtitle files, an iframe 'name' attribute for a single subtitle, and a JSON definition for multiple subtitles. ```url https://streamtape.com/e/wg8ad12d3QiJRXG?c1_label=FR&c1_file=http://yoursubtitle.com/file.srt ``` ```html ``` ```url https://streamtape.com/e/wg8ad12d3QiJRXG?subtitle_json=http://yoursubtitle.com/def.json ``` -------------------------------- ### Account Infos API Source: https://streamtape.com/api/index_lang=en Retrieves information about your Streamtape account, including signup date and API credentials. ```APIDOC ## GET /account/info ### Description Retrieves information about your Streamtape account, including signup date and API credentials. ### Method GET ### Endpoint https://api.streamtape.com/account/info ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password ### Response #### Success Response (200) - **apiid** (string) - Your API key - **email** (string) - Your registered email address - **signup_at** (string) - The date and time you signed up #### Response Example ```json { "status": 200, "msg": "OK", "result": { "apiid": "y7bhafa3bxfxudzk", "email": "user@gmail.com", "signup_at": "2019-12-31 23:59:59" } } ``` ``` -------------------------------- ### General Information Source: https://streamtape.com/api/index_lang=fr Provides general information about the Streamtape API, including base URL, supported HTTP methods, and response structure. ```APIDOC ## General Information ### Description Provides general information about the Streamtape API, including base URL, supported HTTP methods, and response structure. ### Base URL `https://api.streamtape.com` ### Supported Methods `GET`, `POST` ### Response Structure ```json { "status": , "msg": "", "result": } ``` ### Status Codes - **200**: Everything is OK. Request succeeded - **400**: Bad request (e.g. wrong parameters) - **403**: Permission denied (wrong api login/key, action on a file which does not belong to you, ...) - **404**: File not found - **451**: Unavailable For Legal Reasons - **509**: Bandwidth usage exceeded. Please try again later. - **50x**: Server errors. ``` -------------------------------- ### Lists running converts Source: https://streamtape.com/api/index_lang=en Retrieves a list of all files currently undergoing conversion, including their progress status. ```APIDOC ## GET /file/runningconverts ### Description Lists all running converts with their progress. ### Method GET ### Endpoint https://api.streamtape.com/file/runningconverts ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password ### Request Example { "example": "https://api.streamtape.com/file/runningconverts?login={login}&key={key}" } ### Response #### Success Response (200) - **status** (integer) - Status code of the response. - **msg** (string) - Message indicating the status of the operation. - **result** (array) - An array of objects, each representing a file currently being converted. - **name** (string) - The name of the file. - **folderid** (string) - The ID of the folder the file belongs to. - **status** (string) - The current status of the conversion (e.g., "new", "pending", "converted"). - **progress** (number) - The progress of the conversion, represented as a decimal between 0 and 1. - **retries** (integer) - The number of times the conversion has been retried. - **link** (string) - The direct link to the converted file. - **linkid** (string) - The unique identifier for the file link. #### Response Example { "example": "{\"status\": 200, \"msg\": \"OK\", \"result\":[{\"name\":\"streamtape.mp4\",\"folderid\":\"0\",\"status\":\"new\",\"progress\":0,\"retries\":0,\"link\":\"https://streamtape.com/v/XklyYLYAZZZDZW/streamtape.mp4\",\"linkid\":\"XklyYLYAZZZDZW\"},{\"name\":\"Blender.mp4\",\"folderid\":\"\",\"status\":\"pending\",\"progress\":0.75,\"retries\":0,\"link\":\"https://streamtape.com/v/B4GaCbJAAAyBxb/Blender.mp4\",\"linkid\":\"B4GaCbJAAAyBxb\"}] }" } ``` -------------------------------- ### Streamtape API Upload URL Request Parameters Source: https://streamtape.com/api/index This shows the URL structure and parameters for requesting an upload URL from the Streamtape API. Parameters include login, key, folder, sha256, and httponly. ```http https://api.streamtape.com/file/ul?login={login}&key={key}&folder={folder}&sha256={sha256}&httponly={httponly} ``` -------------------------------- ### Streamtape Dynamic Subtitles via Subtitle JSON Source: https://streamtape.com/api/index Advanced method for loading subtitles using a JSON definition file. This allows for multiple subtitle tracks with labels and default settings. Requires VTT format and CORS headers. ```json [ {"src":"http://yoursubtitle.com/file.vtt", "label":"Language1", default: true}, {"src":"http://yoursubtitle.com/file2.vtt", "label":"Language2"} ] ``` -------------------------------- ### Create Folder Source: https://streamtape.com/api/index_lang=en Creates a new folder within your Streamtape account. You can specify a parent folder to organize your files. ```APIDOC ## POST /file/createfolder ### Description Creates a new folder. ### Method POST ### Endpoint https://api.streamtape.com/file/createfolder ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password - **name** (string) - Optional - Name of new Folder - **pid** (string) - Optional - Parent Folder ID (if not set root folder will be used) ### Request Example { "example": "https://api.streamtape.com/file/createfolder?login={login}&key={key}&name={name}&pid={parent}" } ### Response #### Success Response (200) - **status** (integer) - Status code of the response. - **msg** (string) - Message indicating the status of the operation. - **result** (object) - Contains the ID of the newly created folder. - **folderid** (string) - The ID of the newly created folder. #### Response Example { "example": "{\"status\": 200, \"msg\": \"OK\", \"result\": { \"folderid\": \"LnvnE51P5gc\" }}" } ``` -------------------------------- ### Create Folder in Streamtape API Source: https://streamtape.com/api/index Creates a new folder within the Streamtape file system. Requires API login and key. An optional parent folder ID can be provided to specify the parent directory. ```HTTP https://api.streamtape.com/file/createfolder?login={login}&key={key}&name={name}&pid={parent} ``` -------------------------------- ### POST /file/createfolder Source: https://streamtape.com/api/index Creates a new folder within your Streamtape account. You can specify a parent folder to organize your files. ```APIDOC ## POST /file/createfolder ### Description Creates a new folder within your Streamtape account. You can specify a parent folder to organize your files. ### Method POST ### Endpoint https://api.streamtape.com/file/createfolder ### Parameters #### Query Parameters - **login** (string) - Required - API-Login - **key** (string) - Required - API-Key / API-Password - **name** (string) - Optional - Name of new Folder - **pid** (string) - Optional - Parent Folder ID (if not set root folder will be used) ### Request Example ```json { "request": "https://api.streamtape.com/file/createfolder?login=y7bhafa3bxfxudzk&key=dq6hzjewe27bmwdn&name=My New Folder Name&pid=B-qlJkdHFeo" } ``` ### Response #### Success Response (200) - **folderid** (string) - The ID of the newly created folder. #### Response Example ```json { "status": 200, "msg": "OK", "result": { "folderid": "LnvnE51P5gc" } } ``` ```