Introduction
Monestream provides a simple HTTP API to integrate ours into your business or application.
All requests to the API should be only GET or POST
You can find your API key here - https://monewatch.fun/my-accounts
Rate limits
API requests are rate limited to 10 per second - for more requests contact us
{
"msg": "Too Many Requests",
"status": "429"
}
Account
Account Info
Get basic info of your account
https://monewatch.fun/api/account/info?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
Response
{
"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": "2025-10-24 21:00:00
}
}
Account Reports
Get reports of your account (default last 7 days)
https://monewatch.fun/api/account/stats?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
last |
Last x days report | No |
from_date |
From date - YYYY-MM-DD | No |
to_date |
To date - YYYY-MM-DD | No |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"profit_views": "0.00000",
"downloads": "0",
"views": "0",
"day": "2017-08-11",
"profit_total": "0.00000"
},
{
"profit_views": "0.00000",
"downloads": "0",
"views": "0",
"day": "2017-08-12",
"profit_total": "0.00000"
}
]
}
DMCA List
Get DMCA reported files list (500 results per page)
https://monewatch.fun/api/dmca/list?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
per_page |
Results per page (default 500) | no |
page |
Pagination | no |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"reported_on": "2017-08-11 04:30:07",
"protected_download": "yyy",
"protected_embed": "zzz",
"file_code": "xxx",
"fld_id": "0",
"disabled_on": "2017-08-11 05:00:07"
}
]
}
Upload
Local upload
Upload local files using API
https://monewatch.fun/api/upload/server?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": "https://monewatch.fun/api/upload/server"
}
Example to use (cURL)
curl -X POST -F 'api_key={your_api_key}' -F '[email protected]' https://monewatch.fun/api/upload/server?{your_api_key}
Example to use (HTML)
<form enctype="multipart/form-data" action="https://monewatch.fun/api/upload/server?{your_api_key}" method="post">
<input type="hidden" name="api_key" value="{your_api_key}">
<input name="file" type="file">
<input type="submit">
</form>
After upload response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"download_url": "https://monewatch.fun/d/xxx",
"single_img": "https://monewatch.fun/t/xxx",
"status": 200,
"filecode": "xxx",
"splash_img": "https://monewatch.fun/s/xxx",
"canplay": 1,
"size": "123456",
"length": "123456",
"uploaded": "2017-08-11 04:30:07",
"protected_embed": "https://monewatch.fun/e/yyy",
"protected_dl": "https://monewatch.fun/d/zzz",
"title": "test_file"
}
]
}
Copy or Clone
Copy / Clone your's or other's file
https://monewatch.fun/api/file/clone?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
file_code |
File code | Yes |
fld_id |
Folder ID (to copy inside the folder) | No |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": {
"embed_url": "https://monewatch.fun/e/xxx",
"download_url": "https://monewatch.fun/d/xxx",
"protected_download": "https://monewatch.fun/d/yyy",
"protected_embed": "https://monewatch.fun/e/zzz",
"filecode": "xxx"
}
}
Remote Upload
Add link
Upload files using direct links
https://monewatch.fun/api/upload/url?key={your_api_key}&url={upload_url}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
url |
URL to upload | Yes |
fld_id |
To upload inside a folder | No |
new_title |
To set new title | No |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"new_title": "",
"status": 200,
"total_slots": "100",
"result": {
"filecode": "98zukoh5jqiw"
},
"used_slots": "0"
}
Remote upload list
Remote Upload List & Status
https://monewatch.fun/api/urlupload/list?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"bytes_total": "0",
"created": "2017-08-11 04:30:07",
"remote_url": "https://dropbox.com/hukbasd7k3fd",
"status": "working",
"file_code": "98zukoh5jqiw",
"bytes_downloaded": "0",
"folder_id": "0"
}
]
}
Remote upload status
Remote Upload Status
https://monewatch.fun/api/urlupload/status?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
file_code |
File code of the file | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"bytes_total": "0",
"created": "2017-08-11 04:30:07",
"remote_url": "https://dropbox.com/hukbasd7k3fd",
"status": "working",
"file_code": "hjsnr087johj",
"bytes_downloaded": "0",
"folder_id": "0"
}
]
}
Slots
Get remote upload slots information
https://monewatch.fun/api/urlupload/slots?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
Actions
Perform actions on remote uploads
https://monewatch.fun/api/urlupload/actions?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
file_code |
File code | Yes |
action |
Action to perform (cancel, restart, etc.) | Yes |
Manage folders
Create
Create a new folder
https://monewatch.fun/api/folder/create?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
name |
Folder name | Yes |
parent_id |
Parent folder ID | No |
Rename
Rename a folder
https://monewatch.fun/api/folder/rename?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
fld_id |
Folder ID | Yes |
name |
New name of the folder | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": "true"
}
List Folders & Files
List all folders
https://monewatch.fun/api/folder/list?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
fld_id |
Folder ID | Yes |
only_folders |
To list only folders (0 or 1) | No |
Response
{
"msg":"OK",
"status":200,
"result":{
"folders":[
{
"name":"Folder name",
"code":"67299gduj3",
"fld_id":"123"
},
],
"files": [
{
"download_url": "https://monewatch.fun/d/xxx",
"single_img": "https://monewatch.fun/t/xxx",
"file_code": "xxx",
"canplay": 1,
"length": "1234",
"views": "1",
"uploaded": "2017-08-11 04:30:07",
"public": "1",
"fld_id": "0",
"title": "test_file"
}
],
},
"server_time":"2023-10-17 07:31:01"
}
Manage Files
List files
List all files
https://monewatch.fun/api/file/list?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
page |
Pagination | no |
per_page |
Max videos per page (Max 200) | no |
fld_id |
Videos inside a folder | no |
created |
Show files uploaded after timestamp (Ex : 2021-10-07 03:15:19) Or specify number to show only files uploaded X minutes ago | no |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": {
"total_pages": 1,
"files": [
{
"download_url": "https://monewatch.fun/d/xxx",
"single_img": "https://monewatch.fun/t/xxx",
"file_code": "xxx",
"canplay": 1,
"length": "1234",
"views": "1",
"uploaded": "2017-08-11 04:30:07",
"public": "1",
"fld_id": "0",
"title": "test_file"
}
],
"results_total": "1",
"results": 1
}
}
File status
Check status of your file
https://monewatch.fun/api/file/check?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
file_code |
File code | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"status": "Active",
"filecode": "xxx"
}
]
}
File info
Get file info
https://monewatch.fun/api/file/info?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
file_code |
File code | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"single_img": "https://monewatch.fun/t/xxx",
"status": 200,
"filecode": "xxx",
"splash_img": "https://monewatch.fun/s/xxx",
"canplay": 1,
"size": "123456",
"views": "0",
"length": "123456",
"uploaded": "2017-08-11 04:30:07",
"last_view": "",
"protected_embed": "/e/yyy",
"protected_dl": "/d/zzz",
"title": "test_file"
}
]
}
File image
Get file splash, single or thumbnail image
https://monewatch.fun/api/file/image?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
file_code |
File code | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"status": 200,
"filecode": "xxx",
"title": "test_file",
"single_img": "https://monewatch.fun/t/xxx",
"thumb_img": "https://monewatch.fun/t/xxx",
"splash_img": "https://monewatch.fun/s/xxx"
}
]
}
File rename
Rename your file
https://monewatch.fun/api/file/rename?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
file_code |
File code | Yes |
title |
New file name | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": "true"
}
File move
Move your file from one folder to another
https://monewatch.fun/api/file/move?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
file_code |
File code | Yes |
fld_id |
Folder ID to move the file (set 0 to / directory) | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": "true"
}
File search
Search your files
https://monewatch.fun/api/search/videos?key={your_api_key}
Parameter
| Parameter | Description | Required |
|---|---|---|
key |
Your API Key | Yes |
search_term |
Search term | Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": "true"
}
Extras
Remote splash image
Load splash image via URL directly
https://monewatch.fun/e/xxx?c_poster=https://example.com/image.jpg
Parameter
| Parameter | Description | Required |
|---|---|---|
c_poster |
Splash image | Yes |
Remote subtitle
Load multiple subtitles via URL directly
https://monewatch.fun/e/xxx?c1_file=https://example.com/sub.vtt&c1_label=English
Parameter
| Parameter | Description | Required |
|---|---|---|
c1_file |
Subtitle URL (srt or vtt) | Yes |
c1_label |
Subtitle language or any lable | Yes |
Remote subtitle JSON
Load multiple subtitles via URL in JSON format
https://monewatch.fun/e/xxx?subtitle_json=https://example.com/sub.json
Parameter
| Parameter | Description | Required |
|---|---|---|
subtitle_json |
Multiple subtitle in JSON format | Yes |
Remote subtitle JSON example
[
{"src":"https://example.com/name_en.vtt", "label":"English", default: true},
{"src":"https://example.com/name_fr.vtt", "label":"French"}
]
Clients
API client libraries are available for integration. Please contact support for more information.