Powerful API & Integrations

Connect FileKeeper with your applications using our comprehensive RESTful API

Quick Start

API Authentication

All API requests require authentication using your API key. You can find your API key in your account settings.

# Base URL
HOST: http://FileKeeper.net

# Example API key usage
GET /api/account/info?key=1l5ftrilhllgwx2bo

Get Account Information

Retrieve your account details including storage usage and premium status

// Request
GET /api/account/info?key=YOUR_API_KEY

// Response
{
  "msg": "OK",
  "status": 200,
  "result": {
    "email": "user@example.com",
    "balance": "0.00000",
    "storage_used": "24186265",
    "storage_left": 128824832615,
    "premium_expire": "2025-10-24 21:00:00"
  }
}

Get Upload Server

Get the next available upload server URL for file uploads

// Request
GET /api/upload/server?key=YOUR_API_KEY

// Response
{
  "msg": "OK",
  "server_time": "2024-01-15 04:29:54",
  "status": 200,
  "result": "http://s1.FileKeeper.net/upload/01"
}

Get File Information

Check file status and retrieve file details

// Request
GET /api/file/info?key=YOUR_API_KEY&file_code=gi4o0tlro01u

// Response
{
  "msg": "OK",
  "status": 200,
  "result": [{
    "status": 200,
    "filecode": "gi4o0tlro01u",
    "name": "Document.pdf",
    "size": "2048576",
    "uploaded": "2024-01-15 05:07:17"
  }]
}

Folder Management

Create and manage folders to organize your files

// Create folder
GET /api/folder/create?key=YOUR_API_KEY&name=New%20Folder

// Response
{
  "msg": "OK",
  "status": 200,
  "result": {
    "fld_id": "26"
  }
}

Advanced API Features

File Operations

Clone Files

Create instant copies of your files

GET /api/file/clone
?key=API_KEY
&file_code=FILE_CODE

Direct Links

Get direct download links for files

GET /api/file/direct_link
?key=API_KEY
&file_code=FILE_CODE

Rename Files

Update file names programmatically

GET /api/file/rename
?key=API_KEY
&file_code=FILE_CODE
&name=NEW_NAME

Statistics & Monitoring

Account Statistics API

Track downloads, views, sales, and revenue over time

// Request - Get last 7 days stats
GET /api/account/stats?key=YOUR_API_KEY&last=7

// Response
{
  "msg": "OK",
  "status": 200,
  "result": [{
    "day": "2024-01-15",
    "downloads": "156",
    "views": "1247",
    "profit_views": "12.50000",
    "sales": "3",
    "profit_sales": "45.00000",
    "profit_total": "57.50000"
  }]
}

File Upload Integration

HTML Upload Form Example

Simple HTML form for file uploads to FileKeeper servers

<!-- Upload Form -->
<form enctype="multipart/form-data"
      action="http://s1.FileKeeper.net/upload/01"
      method="post">

  <!-- Session ID (required) -->
  <input name="sess_id" value="3qr5wkukoy31pd1g">

  <!-- File input -->
  <input name="file" type="file">

  <!-- Submit button -->
  <button type="submit">Upload File</button>

</form>

File Management & Compliance

Deleted Files Tracking

Monitor recently deleted files

GET /api/files/deleted?key=API_KEY&last=20

// Returns list of deleted files with timestamps

DMCA Compliance

Track DMCA takedown schedules

GET /api/files/dmca?key=API_KEY&last=20

// Returns files scheduled for DMCA deletion

Popular Integrations

Cloud Storage

Sync with popular cloud providers

  • Google Drive
  • Dropbox
  • OneDrive
  • Amazon S3

Developer Tools

Integrate with development workflows

  • GitHub
  • GitLab
  • Jenkins CI/CD
  • Docker Hub

Communication

Share files seamlessly with teams

  • Slack
  • Microsoft Teams
  • Discord
  • Telegram

Productivity

Enhance workflow automation

  • Zapier
  • Make (Integromat)
  • IFTTT
  • Microsoft Power Automate

Content Management

Integrate with CMS platforms

  • WordPress
  • Joomla
  • Drupal
  • Ghost

Analytics & Tracking

Monitor file performance

  • Google Analytics
  • Mixpanel
  • Segment
  • Amplitude

Ready to Integrate?

Get started with FileKeeper API today and streamline your file management workflow