FileMoon API
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
{
"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
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
last | show stats for last X days Default: 7 | No |
String
|
{
"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"
}
]
}
Please note you should fetch new upload server everytime you want to upload new file.
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:29:54",
"status": 200,
"result": "https://filemoonapi.com/upload/01"
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
file | file Example: xxxx.mp4 | Yes |
File
|
{
"msg": "OK",
"status": 200,
"files": [ {
"filecode":"tnklyibwwpsh",
"filename": "qwbs4m4ze4j4.mp4",
"status": "OK" } ]
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
url | URL to video file Example: http://site.com/v.mkv | No |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:29:54",
"status": 200,
"result": {
"filecode": "jthi5jdsu8t9"
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
file_code | File Code Example: af12cxzbr23143 | Yes |
String
|
{
"msg": "File succesfully removed from remote upload queue",
"server_time": "2017-08-11 04:29:54",
"status": 200,
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
file_code | File Code Example: af12cxzbr23143 | Yes |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:29:54",
"status": 200,
"result": {
"url": "https://exampleurl.com/file.mp4",
"progress": "55%",
"status": "WORKING",
"created": "10:00:00 09-06-2022",
"updated": "10:01:00 09-06-2022",
"error_msg": "",
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
file_code | file code, or list separated by comma Example: gi4o0tlro01u,gi4o0tlro012 |
Yes |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": [
{
"status": 200,
"file_code": "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,
"file_code": "gi4o0tlro012"
}
]
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
page | page number Example: 2 | No |
Number
|
per_page | number of results per page Example: 20 | No |
Number
|
fld_id | folder id Example: 15 | No |
Number
|
public | show public (1) or private (0) files only Example: 1 | No |
Number
|
created | show only files uploaded after timestamp. Specify number to show only files uploaded X minutes ago. Example: 2018-06-21 05:07:10 |
No |
String
|
title | filter video titles Example: Iron man | No |
String
|
{
"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"
}
]
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
file_code | file code Example: gi4o0tlro01u,gi4o0tlro012 | Yes |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": {
"file_code": "gtl2mhgw4is7",
"url": "https://filemoonapi.com/d/gtl2mhgw4is7"
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
file_code | file code Example: gi4o0tlro01u,gi4o0tlro012 | Yes |
String
|
fld_id | folder id Example: 15 | Yes |
Number
|
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
fld_id | Folder ID Example: 15 | No |
Number
|
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": {
"folders": [
{
"name": "Sub1",
"fld_id": "24"
}
],
"files": [
{
"link": "https://filemoonapi.com/4w0sy8e63f0c.html",
"uploaded": "2017-07-18 04:06:39",
"file_code": "4w0sy8e63f0c",
"fld_id": "16",
"title": "000 video sample2 s",
"canplay": 0
}
]
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
parent_id | parent folder id Example: 15 | No |
Number
|
name | folder name Example: New Folder | Yes |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": {
"fld_id": "26"
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
last | number of files limit Example: 20 | No |
Number
|
{
"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"
}
]
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
last | number of files limit Example: 20 | No |
Number
|
{
"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"
}
]
}
Name | Description | Required | Type |
---|---|---|---|
cX_file | c1_file (replace x with number) Example: c1_file=https://example.com | Yes |
String
|
cX_label | c1_label (replace x with number)Example: c1_label=English | Yes |
String
|
[
{"src":"http://yoursubtitle.com/file.vtt", "label":"Language1", default: true},
{"src":"http://yoursubtitle.com/file2.vtt", "label":"Language2"}
]
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
{
"msg": "OK",
"server_time": "2021-12-08 10:53:45",
"status": 200,
"result": [
{
"quality": "X",
"name": "This file title",
"progress": 0,
"status": "ERROR",
"error": "File download failed:500",
"file_code": "xx1234cccs",
},
{
"file_code": "xx1234cccs",
"quality": "H",
"name": "This file title2",
"progress": "91",
"status": "ENCODING",
}
]
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
code | File Code Example: asdcxz124bvbg3 | Yes |
String
|
{
"msg": "OK",
"server_time": "2021-12-08 10:53:45",
"status": 200,
"result":
{
"file_code": "xx1234cccs",
"quality": "H",
"name": "This file title2",
"progress": "91",
"status": "ENCODING",
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
code | File Code Example: asdcxz124bvbg3 | Yes |
String
|
{
"msg": "Encoding for file code: xxx12313mcmc was restarted",
"server_time": "2021-12-08 10:53:45",
"status": 200,
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
code | File Code Example: asdcxz124bvbg3 | Yes |
String
|
{
"msg": "Failed encoding for file code: xxx21347823n was deleted.",
"server_time": "2021-12-08 10:53:45",
"status": 200,
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
code | File Code Example: as1xc34vv12x | No |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:29:54",
"status": 200,
"result": {
"thumbnail": "https://img-place.com/as1xc34vv12x.png"
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
code | File Code Example: as1xc34vv12x | No |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:29:54",
"status": 200,
"result": {
"thumbnail": "https://img-place.com/as1xc34vv12x_xt.png"
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
code | File Code Example: as1xc34vv12x | No |
String
|
{
"msg": "OK",
"server_time": "2017-08-11 04:29:54",
"status": 200,
"result": {
"thumbnail": "https://img-place.com/as1xc34vv12x.mp4"
}
}
Name | Description | Required | Type |
---|---|---|---|
key | API key Example: 1l5ftrilhllgwx2bo | Yes |
String
|
{
"old_domain":"filemoon.sx",
"new_domain":"blablabla_embed_domain.com",
"status":200,
"server_time":"2024-12-03 08:32:03"
}