{
  "openapi": "3.0.1",
  "info": {
    "title": "WordPress Plugins Scraper | $3/1K | 60K+ Plugins Directory",
    "description": "Scrape any WordPress.org plugin directory entry: installs, rating, author, version, tags, contributors, support stats. 60K+ plugins. Search by keyword, tag, author, or slug. Official public API — no login, no API key.",
    "version": "1.0",
    "x-build-id": "HOxPCLu9zg8070pl1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~wordpress-plugins-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-wordpress-plugins-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/apivault_labs~wordpress-plugins-scraper/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-wordpress-plugins-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/apivault_labs~wordpress-plugins-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-wordpress-plugins-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "browse",
              "tag",
              "author",
              "slugs"
            ],
            "type": "string",
            "description": "How to query the WordPress.org directory:\n• search — free-text search\n• browse — top lists (popular, new, updated, featured)\n• tag — plugins with a specific tag (slug, e.g. 'seo', 'woocommerce')\n• author — plugins by a specific WordPress.org author\n• slugs — fetch exact plugin slugs (full detail)",
            "default": "browse"
          },
          "query": {
            "title": "Query",
            "type": "string",
            "description": "For search mode — keyword (e.g. 'seo', 'backup', 'woocommerce').\nFor tag mode — tag slug (e.g. 'seo', 'cache').\nFor author mode — WP.org username (e.g. 'yoast', 'automattic').\nIgnored in browse/slugs modes."
          },
          "browseBy": {
            "title": "Browse category",
            "enum": [
              "popular",
              "new",
              "updated",
              "featured"
            ],
            "type": "string",
            "description": "Used only in 'browse' mode.",
            "default": "popular"
          },
          "slugs": {
            "title": "Plugin slugs",
            "type": "array",
            "description": "Used only in 'slugs' mode. List of exact plugin slugs (e.g. 'woocommerce', 'contact-form-7').",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max plugins to fetch",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after fetching this many plugins (0 = no limit up to the category total). Pages are 100 plugins each.",
            "default": 250
          },
          "fullDetails": {
            "title": "Fetch full details per plugin",
            "type": "boolean",
            "description": "When enabled, fetches the plugin_information endpoint for every result — includes contributors, ratings histogram, support stats, screenshots. Slower but more data.",
            "default": false
          },
          "extractInstalls": {
            "title": "Active Installs",
            "type": "boolean",
            "description": "Include active install count (rounded).",
            "default": true
          },
          "extractRating": {
            "title": "Rating",
            "type": "boolean",
            "description": "Include rating (0-100) and number of ratings.",
            "default": true
          },
          "extractAuthor": {
            "title": "Author",
            "type": "boolean",
            "description": "Include author name, profile URL, and homepage.",
            "default": true
          },
          "extractVersion": {
            "title": "Version & Compatibility",
            "type": "boolean",
            "description": "Include plugin version, required WP version, tested up to, required PHP.",
            "default": true
          },
          "extractDates": {
            "title": "Dates",
            "type": "boolean",
            "description": "Include added date and last_updated date.",
            "default": true
          },
          "extractTags": {
            "title": "Tags",
            "type": "boolean",
            "description": "Include tag list.",
            "default": true
          },
          "extractSupport": {
            "title": "Support Stats",
            "type": "boolean",
            "description": "Include support threads count and resolution rate.",
            "default": true
          },
          "extractDownloadLink": {
            "title": "Download Link & Icon",
            "type": "boolean",
            "description": "Include direct .zip download URL and plugin icon.",
            "default": true
          },
          "extractContributors": {
            "title": "Contributors (fullDetails only)",
            "type": "boolean",
            "description": "Include all contributors with their WP.org profile URLs. Requires fullDetails=true.",
            "default": true
          },
          "extractRatingsHistogram": {
            "title": "Ratings Histogram (fullDetails only)",
            "type": "boolean",
            "description": "Include 1-5 star breakdown. Requires fullDetails=true.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel HTTP requests. WP.org API handles 10+ fine, but be polite. Default: 5.",
            "default": 5
          },
          "timeout": {
            "title": "Timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "HTTP timeout per API request.",
            "default": 30
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}