Search components
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
plugin | theme
Required for a plugin search; optional for a theme search
Bearer authentication of the form Bearer <token>, where token is your auth token.
plugin | theme
Required for a plugin search; optional for a theme search
Searches wordpress.org itself for a plugin or theme by name — not the token’s inventory (GET /components/GET /site-items already cover that) — to resolve the exact slug POST /components/install needs.\n\nQuery parameters:\n- type (string, required): plugin | theme.\n- s (string, 2 to 100 chars): required for a plugin search; optional for a theme search, which browses wordpress.org’s popular list without one.\n- page[number] (integer, default 1).\n- page[size] (integer, 1 to 50, default 15).\n\n200 with a wordpress-repository-items collection: slug, name, version, author, active_installs, rating, requires_wp, tested_wp, requires_php, last_updated, download_link. The id is the repository slug.\n\n- 422: type missing/not plugin|theme; s missing for a plugin search, or under 2/over 100 chars; page[number]/page[size] out of range.\n- 502: wordpress.org could not be reached — retry in a moment.\n\nUnscoped to any organization data: a read-only token may call it.