INTRODUCTION

Vidlox API Documentation.

Please contact us to get API enabled for your account.

REFERENCE

Account

My Account functions

Account Info

My Account functions

GEThttps://vidlox.me/api/account/info?key=key

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

Response

200

Header

Content-Type:application/json

Body

{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": { "email": "myemail@gmail.com", "balance": "0.00000", "storage_used" :"24186265", "storage_left": 128824832615, "premim_expire": "2015-10-24 21:00:00 } }

Account Stats

GEThttps://vidlox.me/api/account/stats?key=key&last=last

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

lastOptional show stats for last X days Default: 7.Number

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

GEThttps://vidlox.me/api/upload/url?key=key&url=url

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

urlRequired URL to video file Example: http://site.com/v.mkv.Url

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://vidlox.me/upload/01" method="post">
<input name="sess_id" value="3qr5wkukoy31pd1g">
<input name="file" type="file">
</form>


Get next Upload Server URL

GEThttps://vidlox.me/api/upload/server?key=key

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

Response

200

Header

Content-Type:application/json

Body

{ "msg": "OK", "server_time": "2017-08-11 04:29:54", "status": 200, "result": "https://c41.vidlox.me/upload/01" }



File

File Info

Get info/check file(s)

GEThttps://vidlox.me/api/file/info?key=key&file_code=file_code

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

file_codeRequired file code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012String

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)

GEThttps://vidlox.me/api/file/rename?key=key&file_code=file_code&title=title

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

file_codeRequired file code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012String

titleRequired new file title Example: cool videoString

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

GEThttps://vidlox.me/api/file/clone?key=key&file_code=file_code

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

file_codeRequired file code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012String

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://vidlox.me/gtl2mhgw4is7" } }



Folder

Folder List

Get folder/file list

GEThttps://vidlox.me/api/folder/list?key=key&fld_id=fld_id

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

fld_idOptional folder id Example: 15.Number

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://vidlox.me/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

GEThttps://vidlox.me/api/folder/create?key=key&parent_id=parent_id&name=name

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

parent_idOptional Parent folder id Example: 15.Number

nameRequired folder name Example: New Folder.String

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

GEThttps://vidlox.me/api/folder/rename?key=key&fld_id=parent_id&name=name

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

fld_idRequired folder id Example: 15.Number

nameRequired folder name Example: New Folder.String

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

GEThttps://vidlox.me/api/files/deleted?key=key&last=last

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

lastOptional number of files limit Example: 20.Number

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" } ] }

DMCA Files

This works with DMCA mod enabled



Get files scheduled for DMCA delete

GEThttps://vidlox.me/api/dmca/list?key=key&last=last

Parameters

keyRequired API key Example: 1l5ftrilhllgwx2bo.String

lastOptional number of files limit Example: 20.Number

Response

200

Header

Content-Type:application/json

Body

{ "msg": "OK", "server_time": "2017-08-11 04:28:53", "status": 200, "result": [ { "file_code": "gtl2mhgw4is7", "del_time": "2017-08-11 16:31:53" }, { "file_code": "uoyagho8c707", "del_time": "2017-08-11 16:30:23" } ] }

Donations are always appreciated!
BTC: 1M9fFdQCs9MBTCphetqkpbMsPKJQgbqE7P
ETH: 0xB6901fF5642AF9df449F3C3faAC2A77CCaC1B2e9