- API
- Views and Traffic
Views
GET
https://send.now/api/video/views?key=1ltghrilhllgrx2b2&last=30
https://send.now/api/video/views?key=1ltghrilhllgrx2b2&file_code=jfru5kl9dhrt&date1=2026-11-01&date2=2026-11-15
| Parameters |
Description |
Example |
Format |
Required |
| key |
API-Key |
1ltghrilhllgrx2b2 |
String |
yes |
| file_code |
One of your videos. Without it: all of your videos |
jfru5kl9dhrt |
String |
no |
| date1 |
First day (YYYY-MM-DD) |
2026-11-01 |
String |
no |
| date2 |
Last day (default today) |
2026-11-15 |
String |
no |
| last |
Instead of date1: the last N days (default 7, at most 366) |
30 |
Number |
no |
| group |
day, week or month (all videos) |
day |
String |
no |
Response
{
"msg": "OK",
"result": {
"date1": "2026-11-10",
"date2": "2026-11-16",
"group": "day",
"totals": {
"views": 1290,
"page": 820,
"channel": 170,
"embed": 300,
"videos": 14
},
"prev": 1104,
"all": 52310,
"since": "2026-08-02",
"rows": [
{
"key": "2026-11-10",
"views": 160,
"page": 101,
"channel": 22,
"embed": 37
}
],
"top": [
{
"file_code": "jfru5kl9dhrt",
"name": "Holiday.mp4",
"views": 410,
"page": 260,
"channel": 50,
"embed": 100,
"all": 8800,
"gone": 0
}
]
},
"status": 200,
"server_time": "2026-11-16 12:19:28"
}
Direct Link Traffic
GET
https://send.now/api/account/traffic?key=1ltghrilhllgrx2b2
Response
{
"msg": "OK",
"result": {
"direct_link_traffic": 53687091200,
"direct_link_traffic_text": "50 GB",
"converting_uses_traffic": "use",
"waiting": [
{
"file_code": "gtl2ka3ppm1x",
"name": "Concert.mkv",
"need": 3221225472
}
]
},
"status": 200,
"server_time": "2026-11-16 12:19:28"
}
Notice
|
A view is counted once per viewer and video in 24 hours; your own views are not counted. page is the video page, channel a channel, embed other websites. prev is the views of the same number of days just before, all the views of all time. |
|
converting_uses_traffic: use = converting a video takes its size from your Direct Link Traffic, need = some must be left, empty = no. waiting are the videos that wait for traffic to be converted (need in bytes). |
Status code
| 200 |
Everything is OK. Request succeeded |
| 400 |
Bad request (e.g. a wrong date, more than 366 days) |
| 404 |
File not found |