SEO Audit Tool (Apify Actor)
针对 URL 列表的 SEO 审计。每页进行 14 项页面内检查:标题和元描述长度、H1、canonical、图片 alt 覆盖率、robots meta、HTTPS、状态和重定向、robots.txt、sitemap、字数、Open Graph、加载时间。作为 Apify Actor 运行,可通过 Apify MCP server(https://mcp.apify.com/?actors=pennydata/seo-audit-tool)从 MCP 客户端调用。
托管 MCP 服务器
npx add-mcp 'https://mcp.apify.com/?actors=pennydata/seo-audit-tool'可安装到 Claude Code、Codex、Cursor 等客户端
文档
SEO Audit Tool - On-Page SEO Checker for URL Lists (pennydata/seo-audit-tool) Actor
SEO Audit Tool for URL lists. 14 on-page checks per page: title and meta description length, H1, canonical, image alt coverage, robots meta, HTTPS, status and redirects, robots.txt, sitemap, word count, Open Graph, load time. Pass/warn/fail per check plus a score. Pay per URL; errors are free.
- URL: https://apify.com/pennydata/seo-audit-tool.md
- Developed by: Penny Data (community)
- Stats: 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- User rating: No ratings yet
Pricing
$5.00 / 1,000 url auditeds
This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event
What's an Apify Actor?
An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes. In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours, and optionally produces a well-defined JSON output, datasets with results, or files in key-value store. In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.
How to integrate an Actor?
If asked about integration, you help developers integrate Actors into their projects. You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.
For examples already wired to this Actor's own input schema, see the API section below.
Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).
README
SEO Audit Tool - On-Page SEO Checker for URL Lists
SEO Audit Tool audits a list of pages and returns one row per URL with 14 on-page SEO checks, each marked pass, warn or fail, plus an overall score (0-100) and grade (A-F). You are charged only for URLs that were fetched and audited; timeouts, DNS errors, blocked targets and non-HTML pages are free. The first 2 URLs of every run are free. Built with AI assistance (Claude); maintained by the publisher.
Quickstart (one API call)
curl -X POST "https://api.apify.com/v2/acts/pennydata~seo-audit-tool/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"urls":[{"url":"https://apify.com"},{"url":"https://example.com"}]}'
Or open the Actor in the Console and click Start: the prefilled input runs as-is.
Checks
| Check | Pass | Warn | Fail |
|---|---|---|---|
title | 30-60 characters | present, other length | missing |
metaDescription | 70-160 characters | present, other length | missing |
h1 | exactly one | more than one | none |
canonical | link rel=canonical present | - | missing (warn) |
imageAlt | 90%+ images have alt text | 60-89% | under 60% |
robotsMeta | indexable | nofollow | noindex |
https | final URL is HTTPS | - | not HTTPS |
statusCode | 2xx | 3xx | 4xx, 5xx |
redirectChain | no redirect | one redirect | two or more |
robotsTxt | /robots.txt found | missing | - |
sitemap | sitemap listed in robots.txt or /sitemap.xml found | not found | - |
wordCount | 300+ words | 100-299 | under 100 |
openGraph | og:title, og:description, og:image | some | none |
loadTime | up to 1.5 s | up to 3 s | over 3 s |
Each check is an object { "status": "pass|warn|fail", "value": ..., "note": "..." }. Score = (pass x 1 + warn x 0.5) / 14. The details object holds the raw title, meta description, H1 texts, canonical, image counts, Open Graph tags, language, viewport, JSON-LD block count and word count.
Pricing
Pay per event, no subscription: $0.005 per URL audited ($5 per 1,000). The first 2 URLs of each run are free. Not charged: timeouts, DNS or connection errors, redirect loops, non-HTML responses, empty input and private/blocked targets. Set a maximum cost per run to cap spend; the Actor stops when the limit is reached.
| Event | When it is charged | Price |
|---|---|---|
url-audited | One URL fetched (any HTTP status) and audited. | $0.005 |
Example input
{ "urls": [{ "url": "https://apify.com" }, { "url": "https://example.com" }], "maxRedirects": 10, "maxConcurrency": 10, "timeoutSecs": 20 }
Example output
See the dataset views SEO audit overview and All checks. A shortened row for https://example.com:
{
"input": "https://example.com", "finalUrl": "https://example.com/", "score": 57, "grade": "D",
"passed": 6, "warnings": 4, "failed": 4,
"title": { "status": "fail", "value": 14, "note": "Aim for 30-60 characters" },
"metaDescription": { "status": "fail", "value": 0, "note": "Missing meta description" },
"sitemap": { "status": "warn", "value": false, "note": "No sitemap.xml found or declared" }
}
Rows for URLs that could not be audited contain input, error and checkedAt only.
FAQ
Does it render JavaScript? No. It audits the HTML the server returns, as a crawler first sees it. Pages that build their content in the browser can show a low word count or missing tags.
Is it a full-site crawler? No. It audits exactly the URLs you give it, one request for the page plus robots.txt and sitemap.xml once per URL.
Is the score Google's? No. It is a transparent checklist score from the table above, useful for comparing pages and tracking fixes.
Which sites can I check? Public http(s) pages only. Localhost, private addresses and non-http schemes are rejected, and every redirect hop is re-checked. No proxies, no captcha solving. Sites behind bot walls may answer 403 or 429 and are reported as such. The Actor identifies itself as SeoAuditToolBot. You are responsible for having the right to check the URLs you submit.
Actor input Schema
urls (type: array):
Pages to audit (http/https URLs; bare domains like example.com are checked over https).
maxRedirects (type: integer):
Maximum redirect hops to follow per URL (1-20). More hops is reported as an error and not charged.
maxConcurrency (type: integer):
Number of URLs checked in parallel (1-50).
timeoutSecs (type: integer):
Per-request timeout in seconds (2-60).
Actor input object example
{
"urls": [
{
"url": "https://apify.com"
},
{
"url": "https://example.com"
},
{
"url": "https://www.wikipedia.org"
}
],
"maxRedirects": 10,
"maxConcurrency": 10,
"timeoutSecs": 20
}
Actor output Schema
results (type: string):
No description
API
You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.
JavaScript example
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input = {
"urls": [
{
"url": "https://apify.com"
},
{
"url": "https://example.com"
},
{
"url": "https://www.wikipedia.org"
}
]
};
// Run the Actor and wait for it to finish
const run = await client.actor("pennydata/seo-audit-tool").call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Python example
from apify_client import ApifyClient
# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = { "urls": [
{ "url": "https://apify.com" },
{ "url": "https://example.com" },
{ "url": "https://www.wikipedia.org" },
] }
# Run the Actor and wait for it to finish
run = client.actor("pennydata/seo-audit-tool").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
CLI example
echo '{
"urls": [
{
"url": "https://apify.com"
},
{
"url": "https://example.com"
},
{
"url": "https://www.wikipedia.org"
}
]
}' |
apify call pennydata/seo-audit-tool --silent --output-dataset
MCP server setup
{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com/?tools=fetch-actor-details,pennydata/seo-audit-tool"
}
}
}
The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an Authorization: Bearer <APIFY_API_TOKEN> header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).
OpenAPI specification
Download the OpenAPI definition: https://api.apify.com/v2/actors/m8ZDlAIUPw0OtkOYc/builds/n0Uq8cBEWIbQpUcET/openapi.json