Plugin API

Search community plugins or read a complete record by GitHub repository. Both endpoints are public and read-only.

Switch endpoints to update the console and every documentation section below.

GET/api/v1/plugins/search
Public access No authentication 60 requests / minute

Filter published, verified plugins by keyword, category, and compatibility, with sorting and pagination.

Live console

Adjust parameters and send a request directly to this site.

Request URL
https://dshpluginhub.dev/api/v1/plugins/search?locale=en&sort=stars&page=1&per_page=20
cURL
curl --request GET 'https://dshpluginhub.dev/api/v1/plugins/search?locale=en&sort=stars&page=1&per_page=20' --header 'Accept: application/json'

Response

Send a request to view formatted JSON here.

Query parameters

All filters run server-side. Empty results return 200 with an empty array.

ParameterRules
qQuery parameterOptional; at most 100 characters after whitespace normalization.
localeQuery parameterzh or en; defaults to en.
categoryQuery parameterOptional; uses the marketplace category set.
typeQuery parameterhost, client, or hybrid.
sourceQuery parameternpm or github.
verificationQuery parameterruntime-verified or static-checked.
compatibilityQuery parametercompatible, unknown, or incompatible; may be combined with harness_version.
capabilityQuery parameterOptional; uses a capability tag captured by the catalog.
profileQuery parameterOptional; filters by a verified DSH profile.
harness_versionQuery parameterOptional; target Harness version used by compatibility.
sortQuery parameterrelevance, growth, stars, newest, or active. Defaults to relevance with a keyword, otherwise stars. Unfiltered requests return the Community Official plugin first.
pageQuery parameter1-1000; defaults to 1.
per_pageQuery parameter1-50; defaults to 20.

Response fields

Responses include public plugin data, compatibility, metrics, timestamps, links, and pagination metadata.

response3

itemsobject[]
Plugin records on this page; an empty array when nothing matches.
paginationobject
Page number, page size, and result totals.
metaobject
API version, locale, query, sort mode, and data update time.

items[]12

idstring
GitHub repository numeric ID and the stable plugin identifier.
slugstring
Repository identifier in owner/repository form.
namestring
Plugin display name.
ownerstring
GitHub repository owner.
repostring
GitHub repository name.
descriptionstring
Plugin summary localized to the requested locale.
typehost | client | hybrid
Plugin runtime form.
categorystring
Marketplace category enum value.
topicsstring[]
GitHub repository topics.
languagestring
Primary language detected by GitHub.
licensestring
Repository license SPDX identifier.
capabilitiesstring[] | null
Captured Harness capability tags; null until cataloged.

items[].package7

namestring
Installable package name.
versionstring
Currently validated version.
sourcenpm | github
Installation source.
sourceSpecstring
Complete install source specification with a pinned version.
installCommandstring
Ready-to-run DSH command that installs the current latest release.
profilestring
DSH profile used by the install command.
profilesstring[]
All DSH profiles declared during validation.

items[].compatibility6

verificationLevelstatic-checked | runtime-verified
Distinguishes static catalog checks from runtime verification.
harnessVersionstring
DSH version used for compatibility validation.
harnessRangestring | null
Declared compatible Harness range; null until cataloged.
platformsstring[] | null
Declared platform list; null until cataloged.
smokeStatusstring
Static or runtime smoke validation status.
validatedAtstring
Latest validation time in ISO 8601.

items[].safety5

buildApprovalrequired | not-required | unknown
Whether build-script approval is known to be required; unknown without evidence.
permissionsstring[] | null
Declared permissions; null until cataloged.
externalServicesstring[] | null
Declared external services; null until cataloged.
telemetrynone | declared | unknown
Telemetry declaration state; unknown without a trusted declaration.
riskFlagsstring[]
Risk flags emitted by validation.

items[].metrics5

starsnumber
Current GitHub star count.
starsDelta1dnumber | null
Star change between the latest two successful daily snapshots; null without a baseline.
forksnumber
Current GitHub fork count.
openIssuesnumber
Current open issue count.
viewsnumber
Cumulative marketplace detail-page views.

items[].timestamps3

listedAtstring
First marketplace listing time in ISO 8601.
lastPushedAtstring
Latest GitHub push time in ISO 8601.
sourceUpdatedAtstring
Latest source-data sync time in ISO 8601.

items[].links2

detailstring
Absolute localized plugin detail URL.
repositorystring
GitHub repository URL.

pagination4

pagenumber
Current page number.
perPagenumber
Current number of items per page.
totalnumber
Total number of matching plugins.
totalPagesnumber
Total number of result pages.

meta5

apiVersionv1
Current API version.
localezh | en
Locale used for this response.
querystring
Normalized search text; empty when omitted.
sortstring
Sort mode used for this response.
dataUpdatedAtstring | null
Latest result data update time in ISO 8601.

Complete response example

A successful request returns 200. This structural example includes every public field; versions, metrics, and timestamps are illustrative.

200 OK
{
  "items": [
    {
      "id": "1163808211",
      "slug": "liustack/modlens",
      "name": "modlens",
      "owner": "liustack",
      "repo": "modlens",
      "description": "OCR, layout, and semantic visual evidence for text-only coding agents.",
      "type": "hybrid",
      "category": "multimodal-creative",
      "topics": [
        "dsh-plugin",
        "vision",
        "ocr"
      ],
      "language": "TypeScript",
      "license": "MIT",
      "package": {
        "name": "@liustack/modlens",
        "version": "3.22.1",
        "source": "npm",
        "sourceSpec": "@liustack/modlens@3.22.1",
        "installCommand": "dsh plugin --profile web add @liustack/modlens",
        "profile": "web",
        "profiles": [
          "web"
        ]
      },
      "compatibility": {
        "harnessVersion": "0.1.0-rc.7",
        "harnessRange": null,
        "platforms": null,
        "verificationLevel": "static-checked",
        "smokeStatus": "static-passed",
        "validatedAt": "2026-08-21T02:00:00.000Z"
      },
      "safety": {
        "buildApproval": "unknown",
        "permissions": null,
        "externalServices": null,
        "telemetry": "unknown",
        "riskFlags": []
      },
      "capabilities": null,
      "metrics": {
        "stars": 3393,
        "starsDelta1d": 24,
        "forks": 91,
        "openIssues": 2,
        "views": 420
      },
      "timestamps": {
        "listedAt": "2026-08-19T01:20:29.105Z",
        "lastPushedAt": "2026-08-20T14:19:24.000Z",
        "sourceUpdatedAt": "2026-08-21T02:00:00.000Z"
      },
      "links": {
        "detail": "https://dshpluginhub.dev/en/plugins/liustack/modlens",
        "repository": "https://github.com/liustack/modlens"
      }
    }
  ],
  "pagination": {
    "page": 1,
    "perPage": 20,
    "total": 1,
    "totalPages": 1
  },
  "meta": {
    "apiVersion": "v1",
    "locale": "en",
    "query": "vision",
    "sort": "relevance",
    "dataUpdatedAt": "2026-08-21T02:00:00.000Z"
  }
}

Errors and limits

Invalid parameters return 400, exhausted anonymous quotas return 429, and temporary failures return 503.

400INVALID_QUERYView error response

Invalid query parameters. Correct the fields identified in error.fields before retrying.

{
  "error": {
    "code": "INVALID_QUERY",
    "message": "Invalid request parameters.",
    "fields": {
      "locale": "Supported values are zh and en."
    }
  }
}
429RATE_LIMITEDView error response

The anonymous quota is exhausted. Wait the number of seconds in Retry-After before retrying; avoid immediate retry loops.

{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Too many requests."
  }
}
503SERVICE_UNAVAILABLEView error response

The query or rate-limit service is temporarily unavailable. Retry later with increasing backoff.

{
  "error": {
    "code": "SERVICE_UNAVAILABLE",
    "message": "The plugin search service is temporarily unavailable."
  }
}

Rate-limit response headers

RateLimit-Policy
Quota and window policy, for example 60;w=60, 2000;w=86400.
RateLimit-Limit
Total quota in the window reported by this response.
RateLimit-Remaining
Requests remaining in that window, with a minimum of 0.
RateLimit-Reset
Seconds until that window resets, not a Unix timestamp.
Retry-After
Returned when the quota is exceeded; minimum seconds to wait before retrying.

Both endpoints share the anonymous client quota: 60 requests per minute and 2,000 per day by default. Response headers report the effective limits.

Cross-origin GET and OPTIONS are supported; preflight requests return 204. No cookies, API key, or sign-in are required.

Rate limiting stores only a daily rotating HMAC of the IP address, never the raw IP.