API

Upload

Remote Upload

Files

Folders

 General Informations

Request URL

https://api.byteshare.net

API Username

Visit Account Settings page in your Dashboard

API Password

Visit Account Settings page in your Dashboard

Note

Maximum 5 requests per second

 Upload

Use the Remote Upload below - Upload MP4 video from your server (eg: https://yourdomain.com/video.mp4) through the Remote Upload endpoint below. Other upload options available soon.


 Remote Upload

Request URL

https://api.byteshare.net/remoteupload?api_username={username}&api_password={password}&url={url}&folder_id={id}

Method

GET

Supported Sources

Any ByteShare URL, Any .MP4 video URL, Instagram, Twitter, Facebook, Dailymotion, Vimeo, Tumblr, Pinterest, Imgur, Ted, Mashabkle, Vk, 9Gag, Soundcloud, Flickr, Bandcamp, ESPN, IMDB, Izlesen, Buzzfeed, TikTok, Ok, Likee, Twitch, Blogspot, Reddit, Douyin, Kwai, LinkedIn, Streamable, Bitchute, Akilli, Gaana, Bilibili, Rumble, Periscope, Puhutv, Blutv, Mxtakatak

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
url URL of a file to upload (mp4) https://byteshare.net/watch/ret4r8f4 yes
title Your desired title of a file Cute cats no
folder_id ID of the folder where to upload a file f454abr no

Result

{
    "success": true,
    "result":
    {
        "input_url": "https://byteshare.net/watch/3M6vU4Gx3O",
        "byteshare_url": "https://byteshare.net/embed/e32S9gvpuH.mp4",
        "id": "e32S9gvpuH"
    }
}

 Remote Status

Request URL

https://api.byteshare.net/remotestatus?api_username={username}&api_password={password}&file_id={id}

Method

GET

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
file_id ID returned by Remote Upload ret4r8f4 yes

Result

{
    "success": true,
    "result":
    {
        "byteshare_url": "https://byteshare.net/embed/e32S9gvpuH.mp4",
        "id": "e32S9gvpuH",
        "status": "Downloading|Completed|Deleted|Error"
    }
}

 File info

Request URL

https://api.byteshare.net/fileinfo?api_username={username}&api_password={password}&file_id={id}

Method

GET

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
file_id ID returned by Remote Upload ret4r8f4 yes

Result

{
    "success": true,
    "result":
    {
        "byteshare_url": "https://byteshare.net/embed/e32S9gvpuH",
        "id": "e32S9gvpuH",
        "status": "Downloading|Completed|Deleted|Error",
        "added": "2021-10-23 20:43:58"
    }
}

 Duplicate file

Request URL

https://api.byteshare.net/duplicatefile?api_username={username}&api_password={password}&file_id={file_id}&folder_id={folder_id}

Method

GET

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
file_id ID of the file to duplicate ret4r8f4 yes
folder_id ID of the folder where to duplicate a file fse8fe88rf no

Result

{
    "success": true,
    "result":
    {
        "byteshare_url": "https://byteshare.net/embed/e32S9gvpuH",
        "id": "e32S9gvpuH"
    }
}

 Rename file

Request URL

https://api.byteshare.net/renamefile?api_username={username}&api_password={password}&file_id={file_id}&title={title}

Method

GET

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
file_id ID of the file to rename ret4r8f4 yes
title New title of the file My Test Video yes

Result

{
    "success": true,
    "result":
    {
        "title": "My Test Video",
    }
}

 Removed files

Request URL

https://api.byteshare.net/removedfiles?api_username={username}&api_password={password}&page={page_number}

Method

GET

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
page Page number 2 no

Result

{
    "success": true,
    "result":
    [
        {
            "id":"Ige0eSFnFv",
            "title":"My Video"
        },
        {
            "id":"g5jJVIXVoK",
            "title":"Cute cats"
        }
    ]
}

 List folder

Request URL

https://api.byteshare.net/listfolder?api_username={username}&api_password={password}&page={page_number}&folder_id={folder_id}

Method

GET

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
page Page number 2 no
folder_id ID to the folder to list f45g54rgc no

Result

{
    "success": true,
    "result":
    [
        {
            "type":"mp4",
            "id":"Ige0eSFnFv",
            "title":"My Video"
        },
        {
            "type":"folder",
            "id":"fg5jJVIXVoK",
            "title":"My video folder"
        }
    ]
}

 Create folder

Request URL

https://api.byteshare.net/createfolder?api_username={username}&api_password={password}&title={title}&folder_id={folder_id}

Method

GET

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
title Folder title My Folder yes
folder_id Parent folder ID f45g54rgc no

Result

{
    "success": true,
    "result":
    {
        "id": "fr8r7t8fw5f8r",
    }
}

 Rename folder

Request URL

https://api.byteshare.net/renamefolder?api_username={username}&api_password={password}&folder_id={folder_id}&title={title}

Method

GET

Parameters

Name Description Example Required
api_username API Username t4wee8f6w5f1g2w yes
api_password API Password 89z4r231fwxfgw1g yes
folder_id ID of the folder to rename f45g54rgc yes
title New folder title My Folder yes

Result

{
    "success": true,
    "result":
    {
        "title": "My folder",
    }
}