Skip to navigation

Search components

View as MarkdownOpen in Claude

Searches wordpress.org for a plugin or theme by name. It looks at the public repository, not at what is installed on your websites (use “List components” or “List site items” for that), and gives you the exact slug that “Install a component on websites” needs.

Errors

  • 422: type is missing or not plugin or theme, s is missing for a plugin search or is shorter than 2 or longer than 100 characters, or a page value is out of range.
  • 502: wordpress.org cannot be reached. Retry in a moment.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Query parameters

typestringOptional

What to search: plugin or theme. Required.

sstringOptional

Search text, 2 to 100 characters. Required for a plugin search; optional for a theme search, which then browses the popular themes.

page[number]stringOptional
Page to return, starting at 1. Default 1.
page[size]stringOptional
Number of results per page, 1 to 50. Default 15.

Response

200 - Components found on wordpress.org

datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional