Developer API

A small read-only JSON API for bots and external tools to look up a plugin's current version and download link. Only published (approved) plugins are ever returned.

Look up by name

Exact match is tried first, then a partial match. If more than one plugin shares that name, add author to disambiguate — otherwise you'll get "status": "ambiguous" with every candidate listed.

GET https://www.onlyplugins.lol/index.php?action=api_plugin&name=PluginName
GET https://www.onlyplugins.lol/index.php?action=api_plugin&name=PluginName&author=SomeAuthor

Look up by id or slug

GET https://www.onlyplugins.lol/index.php?action=api_plugin&id=<plugin-id>
GET https://www.onlyplugins.lol/index.php?action=api_plugin&slug=<plugin-slug>

Response

{
  "status": "ok",
  "count": 1,
  "plugins": [
    {
      "id": "...",
      "slug": "...",
      "name": "...",
      "author": "...",
      "version": "1.2.0",
      "category": "...",
      "download_url": "https://.../index.php?action=download&id=...",
      "page_url": "https://.../index.php?page=view&id=...",
      "updated_at": "2026-01-01T00:00:00+00:00",
      "downloads": 123
    }
  ]
}

status is one of ok, ambiguous, not_found, or error. Compare the version field against what's installed to know if an update is available, then fetch download_url.