You are not logged in
Advanced

ShareDir DL API

This is the API for end users (dl managers, etc.) to get account status, expiration date, list of supported hosts and other account data.

To use the api you must send the auth cookie along with a request. To get the cookie you need to log in to Sharedir.com by sending a http POST request:

https://sharedir.com/login.html?username=[USER]&password=[PASSWORD]&rem=1&login_submit=1&api=1

Replace [USER] and [PASSWORD] with your ShareDir account username and password. This will set the cookie (.sharedir.com domain), you need to use this cookie when calling api functions.

All return values are in plain text form.

LOGIN RETURN VALUES

Value Description
OK(Login successful)
ERR 100Account banned
ERR 110Invalid username/password combination
ERR 120The code doesn't match the image
ERR 200Login not successful (DB error)

Errors are returned in the form:

ERR <NUMBER>: <DESCRIPTION>

API Methods

Calling API methods is done by a http GET request:

https://sharedir.com/sdapi.php?[METHOD_NAME]=[METHOD_VALUE]

NameValueDescription
get_dl_hostsReturns comma (,) separated list of supported dl hosts
get_dl_limitReturns max. number of simultaneous downloads
get_max_file_connReturns max. number of connections per file
get_acc_typeReturns account type:

0 - Free

1 - Premium

get_traffic_leftReturns traffic left in KB
get_expire_dateReturns account expiration date (CEST) in DATETIME format (YYYY-MM-DD HH:MM:SS)
get_direct_dl_link <link> Converts <link> to direct dl link

Example converting http://uploaded.net/afSfXe:

https://sharedir.com/sdapi.php?get_direct_dl_link=http%3A%2F%2Fuploaded.net%2FafSfXe

get_direct_dl_link_short<link>Converts <link> to short direct dl link

Direct Download

Paste the link here to download without waiting


eg. http://www.mediafire.com/?gldgnyynz4z

Convert multiple links to Direct download links


enter one link per line
Supported file sharing services:
MediaFire.com, 4Shared.com, DepositFiles.com*, Uploaded.net, TurboBit.net, FileFactory.com, Share-Online.biz*, Rapidgator.net, HitFile.net, Filesmonster.com, Mega.co.nz, Novafile.com*, Uptobox.com, HugeFiles.cc, Keep2Share.cc*, 1fichier.com, BigFile.to, Oboom.com, NitroFlare.com*, FileJoker.net*, YouTube.com, DataFile.com, FileBoom.me*, TezFiles.com*, IcerBox.com*, depFile.com*, GigaPeta.com*, UploadRocket.net, Rockfile.eu
Close

Sign up and download without waiting from these file sharing sites:

MediaFire.com
4Shared.com
DepositFiles.com*
Uploaded.net
TurboBit.net
FileFactory.com
Share-Online.biz*
Rapidgator.net
HitFile.net
Filesmonster.com
Mega.co.nz
Novafile.com*
Uptobox.com
HugeFiles.cc
Keep2Share.cc*
1fichier.com
BigFile.to
Oboom.com
NitroFlare.com*
FileJoker.net*
YouTube.com
DataFile.com
FileBoom.me*
TezFiles.com*
IcerBox.com*
depFile.com*
GigaPeta.com*
UploadRocket.net
Rockfile.eu
Sign up now!
You will get 500 MB for direct downloads daily. If you need more traffic, you can upgrade to Premium at any time.
OR
Go premium right away
Close

Get a Premium account

and enjoy these premium features

  • Download without limits from 29 hosts
  • Unlimited speed
  • *50 GB traffic with 5 GB added daily
  • Multiple simultaneous downloads
  • Download resuming
  • Support for download managers
  • Download files directly from any site on the web through our SD Tools browser plugin
  • No advertisements
Get Premium
Supported file sharing services:
MediaFire.com, 4Shared.com, DepositFiles.com, Uploaded.net, TurboBit.net, FileFactory.com, Share-Online.biz, Rapidgator.net, HitFile.net, Filesmonster.com, Mega.co.nz, Novafile.com, Uptobox.com, HugeFiles.cc, Keep2Share.cc, 1fichier.com, BigFile.to, Oboom.com, NitroFlare.com, FileJoker.net, YouTube.com, DataFile.com, FileBoom.me, TezFiles.com, IcerBox.com, depFile.com, GigaPeta.com, UploadRocket.net, Rockfile.eu
*Traffic limits:
You will get 50 GB of download traffic every month + 5 GB added daily, up to a 50 GB maximum.
Secure payments by
CC
Close