# WordPress.org API

> WordPress.org workflow and API: plugins and plugin. Returns plugins, name, slug and author as JSON.

WordPress.org data from wordpress.org: plugins and plugin.

- Page: https://fous.com/workflows/wordpress-org
- Handle: `@wordpress-org`
- Category: [Developer tools](https://fous.com/workflows/category/developer-tools)
- Source website: https://wordpress.org/plugins
- Last verified: Sep 29, 2026
- Fous is not affiliated with WordPress.org.

## Methods

### Get plugin

Operation `get_plugin`, version 1. 1 credit per call.

Get details for the best-matching WordPress.org plugin by name or plugin page link, including its latest-version changelog when available.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `plugin` | string | yes | `"https://wordpress.org/plugins/akismet/"` | Plugin name or WordPress.org plugin page link, for example Yoast SEO or https://wordpress.org/plugins/akismet/. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "plugin"
  ],
  "properties": {
    "plugin": {
      "type": "string",
      "minLength": 1,
      "description": "Plugin name or WordPress.org plugin page link, for example Yoast SEO or https://wordpress.org/plugins/akismet/.",
      "examples": [
        "https://wordpress.org/plugins/akismet/",
        "Yoast SEO"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "plugin": "https://wordpress.org/plugins/akismet/"
    },
    {
      "plugin": "Yoast SEO"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `name` | string | `"Akismet Anti-spam: Spam Protection"` | Plugin name. |
| `author` | string or null | `"Automattic"` | Plugin author. |
| `rating` | number or null | `4.7` | Average rating out of 5 stars. |
| `version` | string or null | `"5.7.2"` | Latest plugin version. |
| `download_link` | string or null | `"https://downloads.wordpress.org/plugin/akismet.5.7.2.zip"` | Download link for the plugin. |
| `plugin_page_link` | string | `"https://wordpress.org/plugins/akismet/"` | WordPress.org plugin page link. |
| `last_updated_date` | string or null | `"2026-08-18"` | Last updated date (YYYY-MM-DD). |
| `number_of_ratings` | integer or null | `1187` | Number of user ratings. |
| `short_description` | string or null | `"The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for` | Short summary of the plugin. |
| `active_installations` | integer or null | `5000000` | Reported active installations. |
| `requires_php_version` | string or null | `"7.2"` | Minimum PHP version required. |
| `tested_up_to_version` | string or null | `"7.1.2"` | Latest WordPress version tested. |
| `latest_version_changelog` | string or null | `"5.7.2\nRelease Date – 19 August 2026\n• Fix Fluent Forms integration on WordPress versions older than 6.1."` | Latest version changelog as plain text, up to 1,500 characters. |
| `requires_wordpress_version` | string or null | `"5.8"` | Minimum WordPress version required. |

**Example input**

```json
{
  "plugin": "https://wordpress.org/plugins/akismet/"
}
```

**Example output**

```json
{
  "name": "Akismet Anti-spam: Spam Protection",
  "author": "Automattic",
  "rating": 4.7,
  "version": "5.7.2",
  "download_link": "https://downloads.wordpress.org/plugin/akismet.5.7.2.zip",
  "plugin_page_link": "https://wordpress.org/plugins/akismet/",
  "last_updated_date": "2026-08-18",
  "number_of_ratings": 1187,
  "short_description": "The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for WordPress and WooCommerce.",
  "active_installations": 5000000,
  "requires_php_version": "7.2",
  "tested_up_to_version": "7.1.2",
  "latest_version_changelog": "5.7.2\nRelease Date – 19 August 2026\n• Fix Fluent Forms integration on WordPress versions older than 6.1.",
  "requires_wordpress_version": "5.8"
}
```

### Search plugins

Operation `search_plugins`, version 1. 1 credit per call.

Find WordPress.org plugins by what they do, in directory search order, with ratings, installations, compatibility and plugin links. Returns up to 100 matches.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `query` | string | yes | `"contact form"` | Describe what the plugin should do, for example contact form. |
| `max_results` | integer | no | `35` | Most plugins to return, for example 20 (up to 100). |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Describe what the plugin should do, for example contact form.",
      "examples": [
        "contact form",
        "image optimization",
        "zzzzbublipquux987654321"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Most plugins to return, for example 20 (up to 100).",
      "x-fous-developer": true,
      "examples": [
        35,
        100
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "query": "contact form"
    },
    {
      "query": "image optimization",
      "max_results": 35
    },
    {
      "query": "zzzzbublipquux987654321"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `plugins` | array |  | Plugins in directory search order. |
| `plugins[].name` | string | `"Contact Form 7"` | Plugin name. |
| `plugins[].slug` | string | `"contact-form-7"` | Directory plugin slug. |
| `plugins[].author` | string or null | `"Rock Lobster Inc."` | Plugin author. |
| `plugins[].rating` | number or null | `4` | Average rating out of 5 stars. |
| `plugins[].last_updated` | string or null | `"2026-08-17"` | Date the plugin was last updated. |
| `plugins[].tested_up_to` | string or null | `"7.1.2"` | WordPress version the plugin was tested up to. |
| `plugins[].plugin_page_link` | string | `"https://wordpress.org/plugins/contact-form-7/"` | WordPress.org plugin page. |
| `plugins[].number_of_ratings` | integer or null | `2179` | Number of submitted ratings. |
| `plugins[].active_installations` | integer or null | `10000000` | Reported active installations. |

**Example input**

```json
{
  "query": "contact form"
}
```

**Example output**

```json
{
  "plugins": [
    {
      "name": "Contact Form 7",
      "slug": "contact-form-7",
      "author": "Rock Lobster Inc.",
      "rating": 4,
      "last_updated": "2026-08-17",
      "tested_up_to": "7.1.2",
      "plugin_page_link": "https://wordpress.org/plugins/contact-form-7/",
      "number_of_ratings": 2179,
      "active_installations": 10000000
    },
    {
      "name": "Forminator Forms – Contact Form, Payment Form & Custom Form Builder",
      "slug": "forminator",
      "author": "WPMU DEV - Your All-in-One WordPress Platform",
      "rating": 4.8,
      "last_updated": "2026-09-17",
      "tested_up_to": "7.1.2",
      "plugin_page_link": "https://wordpress.org/plugins/forminator/",
      "number_of_ratings": 2131,
      "active_installations": 600000
    },
    {
      "name": "WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More",
      "slug": "wpforms-lite",
      "author": "Syed Balkhi",
      "rating": 4.8,
      "last_updated": "2026-09-23",
      "tested_up_to": "7.1.2",
      "plugin_page_link": "https://wordpress.org/plugins/wpforms-lite/",
      "number_of_ratings": 14380,
      "active_installations": 5000000
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@wordpress-org",
  "visibility": "public",
  "operation": "get_plugin",
  "version": 1,
  "input": {
    "plugin": "https://wordpress.org/plugins/akismet/"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@wordpress-org\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_plugin\",\n  \"version\": 1,\n  \"input\": {\n    \"plugin\": \"https://wordpress.org/plugins/akismet/\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@wordpress-org",
  "visibility": "public",
  "operation": "get_plugin",
  "version": 1,
  "input": {
    "plugin": "https://wordpress.org/plugins/akismet/"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@wordpress-org","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## FAQ

### Is Fous affiliated with WordPress.org?

No. Fous is not affiliated with WordPress.org. This workflow reads the public wordpress.org website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a WordPress.org account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from wordpress.org when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

## Related

- [PyPI API](https://fous.com/workflows/pypi.md): PyPI provides package metadata, links, and current/latest plus 10 recent versions; release dates reflect first file uploads, and keyword searches return up to 100 packages.
- [npm API](https://fous.com/workflows/npm.md): npm provides package details, search results and latest versions, plus weekly download and publish data; daily and historical download counts may lag by a day or more.
- [VS Code Marketplace API](https://fous.com/workflows/vs-code-marketplace.md): Public listings for Visual Studio Code extensions.
- [Chrome Web Store API](https://fous.com/workflows/chrome-web-store.md): Chrome Web Store finds extensions by keywords or name and returns public listing details, with some listings omitting developer, user, or rating information.
- [GitHub API](https://fous.com/workflows/github.md): GitHub returns public repository matches and details, up to 25 trending projects, issues, pull requests, and newest-first published releases; release or commit dates may be unavailable.
- [Product Hunt API](https://fous.com/workflows/product-hunt.md): Product Hunt provides Pacific-time daily launches, product search, and profiles with reviews, alternatives, and 10 recent launches; ratings may be missing without reviews.
- [Google Play API](https://fous.com/workflows/google-play.md): Google Play helps people discover Android apps and games, view public listings and search results, read reviews when available by app and region, and see country-specific top charts.
- [Pinterest API](https://fous.com/workflows/pinterest.md): Pinterest helps people discover and save visual ideas, returning public search results from the first page and visible profile boards, with monthly views only when shown.
- [All Developer tools workflows](https://fous.com/workflows/category/developer-tools)
