- API
- Check links
GET
https://send.now/api/files/check?key=1ltghrilhllgrx2b2&url_0=https://send.now/eb58d02u8znz&url_1=https://send.now/d/1pbZB
| Parameters |
Description |
Example |
Format |
Required |
| key |
API-Key |
1ltghrilhllgrx2b2 |
String |
yes |
| url_0 |
Link of a file: a file link or a short /d/ link. Number the parameters url_0, url_1, ... (up to 50) |
https://send.now/eb58d02u8znz |
String |
yes |
| url_1 |
Next link |
https://send.now/d/1pbZB |
String |
no |
cURL example
curl --include \
'https://send.now/api/files/check?key=1ltghrilhllgrx2b2&url_0=https://send.now/eb58d02u8znz&url_1=https://send.now/d/1pbZB'
Response
{
"msg": "OK",
"result": {
"https://send.now/eb58d02u8znz": {
"found": true,
"file_size": 2734362,
"file_code": "eb58d02u8znz"
},
"https://send.now/d/1pbZB": {
"found": true,
"file_size": 2734362,
"file_code": "eb58d02u8znz"
},
"https://send.now/zzzzzzzzzzzz": {
"found": false
}
},
"status": 200,
"server_time": "2024-08-26 12:19:28"
}
Notice
|
A quick yes/no for many links in one request. For names, dates and checksums use File info. |
|
found is false for a file that does not exist, was deleted or was removed after a DMCA report. |
|
The result is keyed by the links you sent. Something that is not a link of a file is left out. |
Status code
| 200 |
Everything is OK. Request succeeded |
| 400 |
Bad request (e.g. wrong parameters) |
| 403 |
Permission denied |
| 404 |
File not found |
| 451 |
Unavailable
|