- API
- File Info
GET
https://send.now/api/file/info?key=APIkey&file_code=file_code
https://send.now/api/file/info?key=APIkey;url=https://send.now/1zvjvzlkq8fx
| Parameters |
Description |
Example |
Format |
Required |
| key |
APIkey |
1ltghrilhllgrx2b2 |
STRING |
yes |
| file_code |
File Code |
gi4o0tlro01u |
STRING |
yes |
| url |
Long URL |
https://send.now/1zvjvzlkq8fx |
STRING |
yes |
| url |
Short URL |
https://send.now/d/1ahrH |
STRING |
yes |
cURL example
curl --include \
'https://send.now/api/file/info?key=APIkey&file_code=0rw8u8exqqte,0rw8u8exqqtd'
curl --include \
'https://send.now/api/file/info?key=APIkey;url=https://send.now/rg9q9kkhkqfh,https://send.now/d/1ahrH'
Response
{
"msg": "OK",
"result": [
{
"file_status": 404,
"filecode": "k6c2hddcy665",
"url": "https://send.now/k6c2hddcy665"
},
{
"filecode": "1zvjvzlkq8fx",
"file_last_download": "2022-02-08 11:18:47",
"file_sha256": "d3821eb84ec5150f352354d9c0081b49025b008527cc3e5e67636dbb51a2fd52",
"size": 85629,
"downloads": 0,
"file_status": 200,
"uploaded": "2022-02-08 11:18:47",
"file_md5": "l24/2NdoAK8aRjpskcI4ow",
"name": "2021-05-09_13h29_46.png",
"url": "https://send.now/1zvjvzlkq8fx"
}
],
"status": 200,
"server_time": "2025-10-23 11:07:53"
}
Response for a video of your account (when the video features are on)
{
"msg": "OK",
"result": [
{
"filecode": "jfru5kl9dhrt",
"file_status": 200,
"name": "holiday.mp4",
"size": 41203885,
"downloads": 0,
"uploaded": "2024-08-26 11:52:07",
"file_last_download": null,
"file_md5": "l24/2NdoAK8aRjpskcI4ow",
"file_sha256": "d3821eb84ec5150f352354d9c0081b49025b008527cc3e5e67636dbb51a2fd52",
"url": "https://send.now/jfru5kl9dhrt",
"renditions": [
{ "quality": "l", "size": 6419320, "width": 640, "height": 360, "length": 182 },
{ "quality": "n", "size": 14208551, "width": 1280, "height": 720, "length": 182 }
],
"captions": [
{ "lang": "eng", "label": "English", "srclang": "en", "url": "https://d134.sendcdn.com/i/00246/q7w9x2k4m6c8_eng_k3j9d8s7a6f5g4h3.vtt?v=1724670000" }
],
"poster": "https://d134.sendcdn.com/i/00246/q7w9x2k4m6c8.jpg?v=1724670000",
"thumbnail": "https://d134.sendcdn.com/i/00246/q7w9x2k4m6c8_t.jpg?v=1724670000",
"screenlist": "https://d134.sendcdn.com/i/00246/q7w9x2k4m6c8_x.jpg?v=1724670100",
"slider": { "url": "https://d134.sendcdn.com/i/00246/q7w9x2k4m6c80000.jpg?v=1724670200", "width": 192, "height": 108, "tiles": 65, "type": "vertical" }
}
],
"status": 200,
"server_time": "2024-08-26 12:19:28"
}
Notice
|
Use file_code or url. Both take a comma separated list (up to 50 file codes, up to 25 URLs); every item gets its own entry in result. |
|
file_status: 200 the file exists, 404 it does not exist, was deleted, or the short link is unknown, 451 unavailable. |
|
Your own files return the full details. For a file of another user only file_status, filecode, size and url are returned. |
|
url in the reply is the link you sent, or the link of the file when you sent file_code. Only links of this site are accepted. |
|
The details of a video of your own have more keys while the video features of the site are on: renditions (the versions that were made, with quality l Low, n Normal, h HD, x UHD, size in bytes, width, height and length in seconds; an empty list while there are none), captions (the subtitles: lang, label, srclang and the url of the WebVTT file; an empty list when there are none), poster and thumbnail (the pictures every video has), and when they were made screenlist (one image with a grid of frames) and slider (the frames the player shows under the mouse: one strip, tiles frames of width x height pixels). A key is only there when the site has that feature; a file that is no video has none of them. More about the versions: File encodings, Subtitles, Regenerate pictures. |
Status code
| 200 |
Everything is OK. Request succeeded |
| 400 |
Bad request (e.g. wrong parameters) |
| 403 |
Permission denied |
| 404 |
File not found |
| 451 |
Unavailable
|