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

# Search for WordPress themes that can be installed

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

Get list of WordPress themes 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 (default = 10)
- `browse` 'featured' | 'new' | 'popular' | 'updated' — response ordering. Leave off for default order

## Response `200`

OK

- SearchThemesResponse
  - `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 — Name/Slug of the theme
    - `status` 'active' | 'inactive' | 'not_installed' — Status of the theme
    - `version` string — Latest theme version
    - `title` string — Title of the theme
    - `screenshot_url` string — URL showing a screenshot of the theme
    - `preview_url` string — URL to preview a working version of the theme
    - `description` string — Description of the theme from its author

## 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)
