# wordpress.plugin

One plugin of the WordPress.org directory: author, version, rating with the count of each star, active installations, downloads, support threads, the WordPress and PHP versions it needs, tags, when it was added and last updated, its description, and whether the directory closed it, when and why.

WordPress plugin, one of the WordPress plugins scrapers.

| | |
| --- | --- |
| Id | `wordpress.plugin` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/wordpress.plugin/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `plugin` | string | yes | The plugin's slug (`contact-form-7`) or the address of its page (`https://wordpress.org/plugins/contact-form-7/`). Limit: at least 1 characters, at most 400 characters. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `slug` | string | The plugin's slug, the name in its address. `wordpress.plugin` takes it. |
| `url` | string | The plugin's page on wordpress.org. |
| `name` | string | The plugin's name. |
| `version` | string or null | The latest version. |
| `author` | string or null | The plugin's author, by the name the directory shows. |
| `short_description` | string or null | The plugin's one-line description. |
| `description` | string or null | The plugin's description, as text. |
| `tags` | array of string | The plugin's tags. |
| `rating` | number or null | The average rating, from 1 to 5; null for a plugin nobody has rated. |
| `rating_count` | integer or null | How many people rated it. |
| `ratings_by_stars` | object of integer values | How many ratings of each number of stars, e.g. {"5": 1477, "1": 409}. |
| `active_installations` | integer or null | The sites it is active on, as the directory rounds them (10000000 is "10+ million"). |
| `downloads` | integer or null | How many times it was downloaded, all versions. |
| `support_threads` | integer or null | Threads in its support forum in the last two months. |
| `support_threads_resolved` | integer or null | How many of those are marked resolved. |
| `requires_wordpress` | string or null | The oldest version of WordPress it needs. |
| `tested_up_to` | string or null | The newest version of WordPress it was tested with. |
| `requires_php` | string or null | The oldest version of PHP it needs. |
| `last_updated` | string (date-time) or null | When it was last updated, in UTC. |
| `added` | string or null | The day it was added to the directory, as YYYY-MM-DD. |
| `business_model` | string or null | `commercial` for a plugin with paid upgrades or services, `community` for one a community supports; null when it states neither. |
| `homepage` | string or null | The plugin's website. |
| `commercial_support_url` | string or null | Where paid support is offered, for a commercial plugin. |
| `version_count` | integer or null | How many versions it has published. |
| `icon` | string or null | The plugin's icon. |
| `closed` | boolean | True when the directory has closed the plugin: it is no longer offered for download, and the record holds only what the closure notice states. Default: `false`. |
| `closed_date` | string or null | The day the directory closed it, as YYYY-MM-DD. |
| `closed_reason` | string or null | Why, as the directory states it: `security-issue`, `author-request`, `guideline-violation`, ... |
| `fetched_at` | string (date-time) | When the directory answered, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/wordpress.plugin/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"plugin":"contact-form-7"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "wordpress.plugin",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "plugin": "contact-form-7"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "slug": "contact-form-7",
      "url": "https://wordpress.org/plugins/contact-form-7/",
      "name": "Contact Form 7",
      "version": "6.2.6",
      "author": "Rock Lobster Inc.",
      "short_description": "Just another contact form plugin. Simple but flexible.",
      "description": "Contact Form 7 is a plugin designed to be a practical tool for all WordPress users who embrace the philosophy of free and open source software. It employs sophisticatedly modularized architecture and its original Schema-Woven Validation … [truncated]",
      "tags": [
        "contact form",
        "schema-woven validation"
      ],
      "rating": 4,
      "rating_count": 2189,
      "ratings_by_stars": {
        "1": 409,
        "2": 68,
        "3": 79,
        "4": 156,
        "5": 1477
      },
      "active_installations": 10000000,
      "downloads": 436008221,
      "support_threads": 89,
      "support_threads_resolved": 31,
      "requires_wordpress": "7.1",
      "tested_up_to": "7.2",
      "requires_php": "8.3",
      "last_updated": "2026-11-23T02:28:00Z",
      "added": "2007-08-02",
      "business_model": null,
      "homepage": "https://contactform7.com/",
      "commercial_support_url": null,
      "version_count": 213,
      "icon": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255",
      "closed": false,
      "closed_date": null,
      "closed_reason": null,
      "fetched_at": "2026-11-24T20:16:20.089368Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `description`: 991 characters, the first 236 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the WordPress plugins scrapers](https://docs.enrichednow.com/results-and-statuses.md#wordpress-plugins) are in their own section there.
