---
title: "Search for WordPress plugins that can be installed"
method: GET
path: "/v1/sites/{id}/plugins/search"
tags: ["Plugins"]
---

# Search for WordPress plugins that can be installed

`GET /v1/sites/{id}/plugins/search`

Get list of WordPress plugins that can be installed to site.

## Path parameters

- `id` integer, required — ID of the Site you are interacting with

## Query parameters

- `query` string — Search terms
- `page` integer — Page of results to include (default = 1)
- `per_page` integer — How many results to include in each page
- `browse` 'new' | 'popular' | 'top-rated' | 'updated' — response ordering. Leave off for default order

## Response `200`

OK

- SearchPluginsResponse
  - `success` boolean — whether the request succeeded
  - `errors` string[]
  - `messages` string[], nullable
  - `metadata` object
    - `page` integer — Page number of the results
    - `page_size` integer — Number of results per page
    - `total` integer — Total number of results
    - `sort` string — Sorting criteria
    - `direction` 'asc' | 'desc' — Sorting direction
  - `result` object[]
    - `name` string — Title of the plugin
    - `status` 'active' | 'inactive' | 'not_installed' — Plugin status
    - `update` string — Date of the last plugin update
    - `version` string — Latest plugin version
    - `icons` object — Icons of various sizes
      - `1x` string — Link to a 128x128px plugin icon
      - `2x` string — Link to a 256x256px plugin icon
    - `slug` string — Plugin name/slug
    - `rating` integer — Numerical rating of the plugin (out of 100)
    - `num_ratings` integer — Number of ratings
    - `downloaded` integer — Number of times the plugin has been downloaded
    - `homepage` string — Link to the plugin's home page
    - `short_description` string — Author's short description of the plugin
    - `description` string — HTML description of the plugin from the author
    - `active_installs` integer — Number of current installations of this plugin

## Other responses

- `400` — Bad Request
- `401` — Authentication failed
- `403` — Not authorized to access endpoint
- `404` — Given site not found for user
- `405` — Invalid input
- `500` — Internal error

---

[API](https://skmtc.net/rocket/apis/rocket-net-api.md) · [All operations](https://skmtc.net/rocket/apis/rocket-net-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rocket/rocket-net-api/revisions/db0dcbbc5764/schema)
