# WordPress.org API

> Returns WordPress.org plugins and themes with version, author, installs or downloads and rating, via lookups, searches, listings and author pages.

Category: Developer & Tech. Region: global. 11 endpoints at `https://api.hoshime.com/v1/wordpressorg/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/wordpressorg
## GET /v1/wordpressorg/plugin

One WordPress.org plugin by slug: version, author, active installs and rating.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Plugin slug, such as akismet. (e.g. akismet) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `activeInstalls` (integer (int64)), `author` (string), `description` (string), `downloadUrl` (string), `name` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresWp` (string), `slug` (string), `testedUpTo` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/plugin?slug=akismet" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/searchPlugins

WordPress.org plugins matching a search, most installed first.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words to search for, such as spam protection. (e.g. akismet) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `activeInstalls` (integer (int64)), `author` (string), `description` (string), `downloadUrl` (string), `name` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresWp` (string), `slug` (string), `testedUpTo` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/searchPlugins?query=akismet" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/pluginsByTag

WordPress.org plugins with one tag, such as seo or contact-form, most installed first. Page with cursor.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tag` | string | yes | Plugin tag, such as seo. (e.g. seo) |
| `limit` | integer | no | Items per page, 1 to 100. (default 20) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `activeInstalls` (integer (int64)), `author` (string), `description` (string), `downloadUrl` (string), `name` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresWp` (string), `slug` (string), `testedUpTo` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/pluginsByTag?tag=seo" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/theme

One WordPress.org theme by slug: version, author, downloads and rating.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Theme slug, such as twentytwentyfour. (e.g. twentytwentyfour) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `author` (string), `downloadUrl` (string), `downloads` (integer (int64)), `name` (string), `previewUrl` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresPhp` (string), `requiresWp` (string), `slug` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/theme?slug=twentytwentyfour" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/searchThemes

WordPress.org themes matching a search, most installed first.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words to search for, such as twenty. (e.g. twenty) |
| `limit` | integer | no | Items per page, 1 to 100. (default 10) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `author` (string), `downloadUrl` (string), `downloads` (integer (int64)), `name` (string), `previewUrl` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresPhp` (string), `requiresWp` (string), `slug` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/searchThemes?query=twenty" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/browseThemes

WordPress.org themes in one directory listing: popular, new, recently updated or featured. Page with cursor.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `list` | string | no | Listing: popular, new, updated or featured. (one of popular, new, updated, featured; default popular; e.g. popular) |
| `limit` | integer | no | Items per page, 1 to 100. (default 20) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `author` (string), `downloadUrl` (string), `downloads` (integer (int64)), `name` (string), `previewUrl` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresPhp` (string), `requiresWp` (string), `slug` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/browseThemes?list=popular" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/authorThemes

The WordPress.org themes one author publishes, by the author's username. Page with cursor.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `author` | string | yes | WordPress.org username, such as wordpressdotorg. (e.g. wordpressdotorg) |
| `limit` | integer | no | Items per page, 1 to 100. (default 20) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `author` (string), `downloadUrl` (string), `downloads` (integer (int64)), `name` (string), `previewUrl` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresPhp` (string), `requiresWp` (string), `slug` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/authorThemes?author=wordpressdotorg" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/browse

WordPress.org plugins in one directory listing: popular, new or recently updated. Page with cursor.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `list` | string | no | Listing: popular, new or updated. (one of popular, new, updated; default popular; e.g. popular) |
| `limit` | integer | no | Items per page, 1 to 100. (default 20) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `activeInstalls` (integer (int64)), `author` (string), `description` (string), `downloadUrl` (string), `name` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresWp` (string), `slug` (string), `testedUpTo` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/browse?list=popular" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/authorPlugins

The WordPress.org plugins one author publishes, by the author's profile name. Page with cursor.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `author` | string | yes | WordPress.org username, such as automattic. (e.g. automattic) |
| `limit` | integer | no | Items per page, 1 to 100. (default 20) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `activeInstalls` (integer (int64)), `author` (string), `description` (string), `downloadUrl` (string), `name` (string), `rating` (integer (int64)), `ratingCount` (integer (int64)), `requiresWp` (string), `slug` (string), `testedUpTo` (string), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/authorPlugins?author=automattic" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/core

The current stable WordPress release: its version, download and requirements.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `download` (string), `locale` (string), `mysqlVersion` (string), `phpVersion` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/core" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/wordpressorg/versionShare

The share of WordPress sites on each core version, most used first.

Scope: `social:read` · Units: 1 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Items per page, 1 to 100. (default 20) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `share` (number (double)), `version` (string)

```bash
curl "https://api.hoshime.com/v1/wordpressorg/versionShare" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
