Videobin API Documentation.
Please contact us to get API enabled for your account.
My Account functions
My Account functions
GEThttps://videobin.co/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": "[email protected]",
"balance": "0.00000",
"storage_used" :"24186265",
"storage_left": 128824832615,
"premim_expire": "2015-10-24 21:00:00
}
}
GEThttps://videobin.co/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"
}
]
}
Add URL to upload queue
GEThttps://videobin.co/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"
}
}
Shortest sample video upload form:
<form enctype="multipart/form-data" action="https://videobin.co/upload/01" method="post">
<input name="sess_id" value="3qr5wkukoy31pd1g">
<input name="file" type="file">
</form>
Get next Upload Server URL
GEThttps://videobin.co/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.videobin.co/upload/01"
}
Get info/check file(s)
GEThttps://videobin.co/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"
}
]
}
Get info/check file(s)
GEThttps://videobin.co/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"
}
]
}
Clone file
GEThttps://videobin.co/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://videobin.co/gtl2mhgw4is7"
}
}
Get link to selected quality
GEThttps://videobin.co/api/file/direct_link?key=key&file_code=file_code&q=q
Parameters
keyRequired API key Example: 1l5ftrilhllgwx2bo.String
file_codeRequired file code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012String
qRequired video quality if exist. Possible values: n , h , l .String
Response
200
Header
Content-Type:application/json
Body
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": "http://s1.xvs.tt/zqscczdqtpmokkcvalhzmsedk2cz5dsbq/v.mp4"
}
Get links to all available qualities
GEThttps://videobin.co/api/file/direct_link?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": {
"h": {
"url": "http://s1.xvs.tt/okkcvkkhrqupalhzmsedl4cz5dsbq/v.mp4",
"size": "3503903"
},
"n": {
"url": "http://s1.xvs.tt/okkcvkkhrqupalhzmsedl4cz5dsdq/v.mp4",
"size": "1363737"
},
"o": {
"url": "http://s1.xvs.tt/okkcvkkhrqipalhzmsedplzb6yoeq/v.mp4",
"size": "8493208"
}
}
}
Get folder/file list
GEThttps://videobin.co/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://videobin.co/4w0sy8e63f0c.html",
"uploaded": "2017-07-18 04:06:39",
"file_code": "4w0sy8e63f0c",
"fld_id": "16",
"title": "000 video sample2 s",
"canplay": 0
}
]
}
}
Create new folder
GEThttps://videobin.co/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
GEThttps://videobin.co/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"
}
Get last files deleted
GEThttps://videobin.co/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"
}
]
}
This works with DMCA mod enabled
Get files scheduled for DMCA delete
GEThttps://videobin.co/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"
}
]
}