Introduction

TheVideoBee API Documentation.

Please contact us to get API enabled for your account.

Reference

Account

My Account Function

Account Info

My Account Functions

GET https://thevideobee.to/api/account/info?key=[key]
							
Parameter Required? Type
Key Yes String API Key. Example: 1l5ftrilhllgwx2bo

Response
200
Header
Content-Type:application/json
							
Body
{
										"msg": "OK", 
										"server_time": "2017-08-11 04:30:07", 
										"status": 200, 
										"result": 
										{ 
											"email": "[email protected]", 
											"balance": "0.00000", 
											"storage_used" :"24186265", 
											"storage_left": 128824832615, 
											"premim_expire": "2015-10-24 21:00:00 
										} 
									}
							

Account Status

GET https://thevideobee.to/api/account/stats?key=[key]&last=[last]
							

Parameter Required? Type
key Yes String> API Key. Example: 1l5ftrilhllgwx2bo
last No Number Show status last X days. Default 7.

Response
200
Header
Content-Type:application/json
Body
{ 
									"msg": "OK", 
									"server_time": "2017-08-11 04:30:07", 
									"status": 200, 
									"result": [ 
										{ 
											"downloads": "0", 
											"profit_views": "0.00000", 
											"views_adb": "1", 
											"sales": "0", 
											"profit_sales": "0.00000", 
											"profit_refs": "0.00000", 
											"profit_site": "0.00000", 
											"views": "0", 
											"refs": "0", 
											"day": "2017-09-12", 
											"profit_total": "0.00000", 
											"views_prem": "0" 
										} 
									] 
								}
							

Upload

Upload By URL

Add URL to upload queue
GET https://thevideobee.to/api/upload/url?key=[key]&url=[url]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
url Yes Url URL to video file Example: https://site.com/v.mkv.

Response
200
Header
Content-Type:application/json
Body
{
								"msg": "OK", 
								"server_time": "2017-08-11 04:29:54", 
								"status": 200, 
								"result": 
								{ 
									"filecode": "jthi5jdsu8t9"
								}
							}

Upload Server

Shortest sample video upload form:


								<form enctype="multipart/form-data" action="https://fsx.thevideobee.to/upload/01" method="post">
									<input type="hidden" name="api_key" value="1l5ftrilhllgwx2bo">
									<input name="file" type="file">
									<input type="submit">
								</form>
							
Get next upload server URL
GET https://thevideobee.to/api/upload/server?key=[key]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo

Response
200
Header
Content-Type:application/json
Body
{
								"msg": "OK",
								"server_time": "2017-08-11 04:29:54",
								"status": 200,
								"result": "https://fsy.thevideobee.to/upload/01"
							}

File

File Info

Get info/check file(s)

GET https://thevideobee.to/api/file/info?key=[key]&file_code=[file_code]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
file_code Yes String file code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012

Response
200
Header
Content-Type:application/json
Body
{
								"msg": "OK",
								"server_time": "2017-08-11 04:28:53",
								"status": 200,
								"result": 
								[ 
									{ 
										"status": 200,
										"filecode": "gi4o0tlro01u",
										"name": "4K Time Lapse in the EOS 6D Mark II",
										"canplay": 1,
										"views_started": "1",
										"views": "0",
										"length": "20",
										"uploaded": "2017-08-10 05:07:17" 
									},
									{ 
										"status": 404,
										"filecode": "gi4o0tlro012" 
									} 
								]
							}

File Rename

Get info/check file(s)

GET https://thevideobee.to/api/file/rename?key=[key]&file_code=[file_code]&title=[title]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
file_code Yes String file code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012
title Yes String New file title. Example: Cool Video

Response
200
Header
Content-type:application/json
Body
{
								"msg": "OK",
								"server_time": "2017-08-11 04:28:53",
								"status": 200,
								"result": 
								[ 
									{ 
										"status": 200,
										"filecode": "gi4o0tlro01u",
										"name": "4K Time Lapse in the EOS 6D Mark II",
										"canplay": 1,
										"views_started": "1",
										"views": "0",
										"length": "20",
										"uploaded": "2017-08-10 05:07:17" 
									},
									{ 
										"status": 404,
										"filecode": "gi4o0tlro012" 
									} 
								] 
							}

File Clone

Clone File

GET https://thevideobee.to/api/file/clone?key=[key]&file_code=[file_code]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
file_code Yes String file code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012

Response
200
Header
Content-type:application/json
Body
{
								"msg": "OK",
								"server_time": "2017-08-11 04:28:53",
								"status": 200,
								"result": 
								{ 
									"filecode": "gtl2mhgw4is7",
									"url": "https://thevideobee.to/gtl2mhgw4is7"
								}
							}

File Set Folder

Set file(s) folder

GET http://thevideobee.to/api/file/set_folder?key=[key]&file_code=[file_code]&fld_id=[fld_id]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
file_code Yes String File code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012.
fld_id Yes Number Folder id Example: 15.

Response
200
Header
Content-type:application/json
Body
{
								"msg": "OK",
								"server_time": "2017-08-11 04:28:53",
								"status": 200
							}

Folder

Folder List

Get folder/file list

GET https://thevideobee.to/api/folder/list?key=[key]&fld_id=[fld_id]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
fld_id No Number folder id Example: 15.

Response
200
Header
Content-type:application/json
Body
{
								"msg": "OK",
								"server_time": "2017-08-11 04:28:53",
								"status": 200,
								"result": 
								{ 
									"folders": 
									[ 
										{ 
											"name": "Sub1",
											"fld_id": "24" 
										} 
									],
									"files": 
									[ 
										{ 
											"link": "https://thevideobee.to/4w0sy8e63f0c.html",
											"uploaded": "2017-07-18 04:06:39",
											"file_code": "4w0sy8e63f0c",
											"fld_id": "16",
											"title": "000 video sample2 s",
											"canplay": 0 
										} 
									] 
								}
							}

Create Folder

Create new folder

GET https://thevideobee.to/api/folder/create?key=[key]&parent_id=[parent_id]&name=[name]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
parent_id No Number Parent folder id. Example: 15.
name Yes String folder name. Example: New Folder.

Response
200
Header
Content-type:application/json
Body
{
								"msg": "OK",
								"server_time": "2017-08-11 04:28:53",
								"status": 200,
								"result": { 
									"fld_id": "26" 
								}
							}

Rename Folder

Rename folder

GET https://thevideobee.to/api/folder/rename?key=[key]&fld_id=[fld_id]&name=[name]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
fld_id Yes Number Folder id Example: 15.
name Yes String Folder name. Example: New Folder.

Response
200
Header
Content-type:application/json
Body
{
								"msg": "OK",
								"server_time": "2017-08-11 04:28:53",
								"status": 200,
								"result": "true"
							}

Files

Deleted Files

Get last files deleted

GET https://thevideobee.to/api/files/deleted?key=[key]&last=[last]
Parameter Required? Type
key Yes String API Key. Example: 1l5ftrilhllgwx2bo
last No Number Number of files limit Example: 20.

Response
200
Header
Content-type:application/json
Body
{
								"msg":"OK",
								"server_time":"2017-08-11 04:28:53",
								"status":200,
								"result": 
								[ 
									{ 
										"file_code":"gtl2mhgw4is7",
										"title":"New title",
										"deleted":"2017-08-11 20:00:01",
										"deleted_ago_sec":"194316" 
									},
									{ 
										"file_code":"uoyagho8c707",
										"title":"000-video-sample2s",
										"deleted":"2017-08-10 20:30:02",
										"deleted_ago_sec":"278915" 
									} 
								] 
							}