Authentication

All requests must include the X-API-KEY header. You can find your personal key in your profile dropdown on the homepage.

Example Request

curl -H "X-API-KEY: your_key_here" http://46.247.109.229:6969/api.php?action=get_projects

Points System

Rate Limiting

Every user starts with 100 points per hour. Points reset automatically 1 hour after your first request of the hour. Check X-Points-Remaining and Retry-After headers for status.

Cost Breakdown

  • List Projects 5 pts
  • Get Project Meta 1 pt
  • Get Versions List 3 pts
  • Get Download URL 30 pts
  • Admin Actions 1 pt

Endpoints

GET ?action=get_projects
Cost: 5 Points

Returns an array of all projects you have permission to view.

Example Response

[
  {
    "id": "skript-economy",
    "name": "Advanced Economy",
    "categories": ["Economy", "Skript"],
    "type": "skript"
  }
]
GET ?action=get_project&id={id}
Cost: 1 Point

Returns detailed metadata and statistics for a specific project.

Example Response

{
  "id": "economy",
  "name": "Simple Economy",
  "total_downloads": 150,
  "genuine_downloads": 124,
  "latest_version": "1.3",
  "rating": 4.5
}
GET ?action=get_versions&id={id}
Cost: 3 Points

Returns all release history for the specified project.

GET ?action=download&id={id}&version={v}
Cost: 30 Points

Returns a temporary download URL for the requested version.

Example Response

{
  "download_url": "https://yoursite.com/download.php?id=economy&version=1.3&key=..."
}