Overview
The WordPress Optimizer Tool provides automated optimization and tuning capabilities for WordPress installations. This API enables developers and site administrators to enhance WordPress performance, security, and configuration through programmatic access to optimization routines.
The tool offers two core optimization pathways: comprehensive site optimization using credentials, and performance tuning using token-based authentication. Whether you're managing a single WordPress site or automating optimization across multiple installations, this tool streamlines performance improvements and configuration adjustments.
Ideal users include WordPress hosting providers, managed service providers, development agencies, and DevOps teams responsible for maintaining WordPress infrastructure at scale.
Usage
Optimize WordPress Site
Perform comprehensive optimization on a WordPress site using administrative credentials:
Sample Request:
CODEBLOCK0
Sample Response:
CODEBLOCK1
Tune WordPress Performance
Fine-tune performance settings using token-based authentication:
Sample Request:
CODEBLOCK2
Sample Response:
CODEBLOCK3
Endpoints
POST /optimize-wp
Performs comprehensive optimization on a WordPress site using administrative credentials. Analyzes configuration, plugins, themes, and security posture to apply automatic improvements.
Parameters:
| Name | Type | Required | Description |
|---|
| site | string | Yes | The WordPress site URL (e.g., https://example.com) |
| username |
string | Yes | WordPress admin username for authentication |
| password | string | Yes | WordPress admin password for authentication |
Response: JSON object containing optimization status, applied changes, performance metrics, and recommendations.
Status Codes:
- -
200 – Successful optimization - INLINECODE1 – Validation error in request parameters
POST /tune-wp
Performs performance tuning and configuration adjustments on a WordPress site using token-based authentication. Optimizes memory limits, execution timeouts, and database performance.
Parameters:
| Name | Type | Required | Description |
|---|
| site | string | Yes | The WordPress site URL (e.g., https://example.com) |
| token |
string | Yes | Authentication token for the WordPress site |
Response: JSON object containing tuning status, applied parameters, and performance metrics.
Status Codes:
- -
200 – Successful tuning - INLINECODE3 – Validation error in request parameters
GET /health
Health check endpoint to verify the service is operational and responsive.
Parameters: None
Response: JSON object indicating service health status.
Status Codes:
- -
200 – Service is healthy and operational
Pricing
| Plan | Calls/Day | Calls/Month | Price |
|---|
| Free | 5 | 50 | Free |
| Developer |
20 | 500 | $39/mo |
| Professional | 200 | 5,000 | $99/mo |
| Enterprise | 100,000 | 1,000,000 | $299/mo |
About
ToolWeb.in - 200+ security APIs, CISSP & CISM, platforms: Pay-per-run, API Gateway, MCP Server, OpenClaw, RapidAPI, YouTube.
References
- - Kong Route: https://api.mkkpro.com/tools/wordpress-optimizer
- API Docs: https://api.mkkpro.com:8029/docs
技能名称:WordPress优化工具
概述
WordPress优化工具为WordPress安装提供自动优化和调优能力。该API使开发者和站点管理员能够通过编程方式访问优化程序,从而增强WordPress的性能、安全性和配置。
该工具提供两种核心优化途径:使用凭据进行全面的站点优化,以及使用基于令牌的身份验证进行性能调优。无论您是管理单个WordPress站点,还是跨多个安装自动执行优化,该工具都能简化性能改进和配置调整。
理想用户包括WordPress托管提供商、托管服务提供商、开发机构以及负责大规模维护WordPress基础设施的DevOps团队。
使用方法
优化WordPress站点
使用管理员凭据对WordPress站点执行全面优化:
示例请求:
json
{
site: https://example.com,
username: admin,
password: securepasswordhere
}
示例响应:
json
{
status: success,
optimizations_applied: [
数据库优化,
插件分析,
主题性能审查,
安全加固
],
performance_improvement: 35%,
recommendations: [
启用缓存,
优化图片,
移除未使用的插件
]
}
调优WordPress性能
使用基于令牌的身份验证微调性能设置:
示例请求:
json
{
site: https://example.com,
token: wptokenabc123xyz
}
示例响应:
json
{
status: success,
tuning_parameters: {
memory_limit: 256M,
maxexecutiontime: 300,
database_queries: 已优化
},
metrics: {
pageloadtime: 1.2s,
database_efficiency: 92%
}
}
端点
POST /optimize-wp
使用管理员凭据对WordPress站点执行全面优化。分析配置、插件、主题和安全态势,以应用自动改进。
参数:
| 名称 | 类型 | 必填 | 描述 |
|---|
| site | 字符串 | 是 | WordPress站点URL(例如 https://example.com) |
| username |
字符串 | 是 | 用于身份验证的WordPress管理员用户名 |
| password | 字符串 | 是 | 用于身份验证的WordPress管理员密码 |
响应: 包含优化状态、已应用的更改、性能指标和建议的JSON对象。
状态码:
- - 200 – 优化成功
- 422 – 请求参数验证错误
POST /tune-wp
使用基于令牌的身份验证对WordPress站点执行性能调优和配置调整。优化内存限制、执行超时和数据库性能。
参数:
| 名称 | 类型 | 必填 | 描述 |
|---|
| site | 字符串 | 是 | WordPress站点URL(例如 https://example.com) |
| token |
字符串 | 是 | WordPress站点的身份验证令牌 |
响应: 包含调优状态、已应用的参数和性能指标的JSON对象。
状态码:
- - 200 – 调优成功
- 422 – 请求参数验证错误
GET /health
健康检查端点,用于验证服务是否正常运行和响应。
参数: 无
响应: 指示服务健康状态的JSON对象。
状态码:
定价
| 套餐 | 每日调用次数 | 每月调用次数 | 价格 |
|---|
| 免费版 | 5 | 50 | 免费 |
| 开发者版 |
20 | 500 | $39/月 |
| 专业版 | 200 | 5,000 | $99/月 |
| 企业版 | 100,000 | 1,000,000 | $299/月 |
关于
ToolWeb.in - 200+安全API,CISSP和CISM认证,平台:按次付费、API网关、MCP服务器、OpenClaw、RapidAPI、YouTube。
参考
- - Kong路由: https://api.mkkpro.com/tools/wordpress-optimizer
- API文档: https://api.mkkpro.com:8029/docs