# Technical SEO Audit: Canonical, Hreflang, Schema & Indexability (`steady-scrape/technical-seo-audit`) Actor

Audit pages or crawl a site: canonical issues, hreflang errors and missing return links, structured data errors, noindex and robots.txt blocks, redirects, titles, meta descriptions, H1s, alt text and mixed content. Optional Core Web Vitals with your own CrUX key.

- **URL**: https://apify.com/steady-scrape/technical-seo-audit.md
- **Developed by:** [SteadyScrape](https://apify.com/steady-scrape) (community)
- **Categories:** SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 page 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](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Technical SEO Audit: Canonical, Hreflang, Schema & Indexability

Audit a list of pages, or crawl a site through its links and XML sitemap, and get one row per page with the technical SEO checks that matter:

- **Canonical:** missing, self, pointing elsewhere, relative, http-on-https, multiple tags, conflicts with noindex.
- **Hreflang:** invalid codes, duplicates, missing x-default, missing self-reference, hreflang on non-canonical pages, and **missing return links** across audited pages.
- **Structured data:** JSON-LD (incl. @graph), microdata and RDFa types; JSON errors; missing rich-result essentials for Product, Article, FAQ, Breadcrumb, Event, LocalBusiness, JobPosting, Recipe and more.
- **Indexability:** status code, redirect chains, robots meta, X-Robots-Tag, robots.txt blocks for Googlebot.
- **On-page:** title and meta description lengths, H1s, image alt text, html lang, viewport, Open Graph / Twitter cards, insecure resources, word count, internal/external links, time to first byte.
- **Core Web Vitals (optional):** field LCP, INP, CLS, FCP and TTFB at the 75th percentile from the Chrome UX Report, using your own free Google API key.

A site-summary row totals the findings (non-200 pages, canonical problems, duplicate titles, hreflang return-link gaps).

### Pricing

| Event | Price |
|---|---|
| Page audited | $0.003 |

Example: a 200-page crawl costs 200 × $0.003 = $0.60.

Pay per event: one per page audited. Pages that time out or fail to connect, and the summary row, are free.

### Notes

Free Apify plan: 25 pages per run. Discovered pages respect robots.txt; the URLs you list are always audited.

### More from SteadyScrape

- [Website Traffic Checker (Similarweb alternative)](https://apify.com/steady-scrape/domain-seo-metrics): domain rank, backlinks, referring domains, spam score and estimated Google traffic for the site you just audited.
- [Backlink Checker API: New and Lost Link Monitor](https://apify.com/steady-scrape/backlink-explorer): the backlink list and new/lost link monitor behind a domain's counts.
- [Google Rank Tracker API: Daily Keyword Positions](https://apify.com/steady-scrape/google-rank-tracker): after you fix technical issues, track whether Google positions move.
- [SEO MCP Server: Keyword, SERP & Backlink Data](https://apify.com/steady-scrape/seo-data-mcp-server): pull keyword, SERP and backlink data as tools in Claude, Cursor or any MCP-capable agent.

See every **SteadyScrape (steady-scrape)** Actor on [our Apify profile](https://apify.com/steady-scrape).

# Actor input Schema

## `startUrls` (type: `array`):

Pages to audit (or start points when crawling).

## `crawl` (type: `boolean`):

Also audit same-site pages found in links and the XML sitemap, up to Max pages. Respects robots.txt for discovered pages.

## `useSitemap` (type: `boolean`):

Seed the crawl from robots.txt sitemaps or /sitemap.xml.

## `followHreflang` (type: `boolean`):

Also audit each hreflang alternate URL so missing return links can be found (counts toward Max pages).

## `maxPages` (type: `integer`):

Default: the URLs given, or 50 when crawling.

## `cruxApiKey` (type: `string`):

Free Google API key with the Chrome UX Report API enabled. Adds field LCP, INP, CLS, FCP and TTFB (75th percentile) per page or origin.

## `cruxFormFactor` (type: `string`):

Device type for CrUX data.

## `mock` (type: `boolean`):

Sample data; nothing is charged.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://apify.com/"
    }
  ],
  "crawl": false,
  "useSitemap": true,
  "followHreflang": false,
  "cruxFormFactor": "PHONE",
  "mock": false
}
```

# Actor output Schema

## `pages` (type: `string`):

No description

## `summary` (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

```javascript
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 = {
    "startUrls": [
        {
            "url": "https://apify.com/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steady-scrape/technical-seo-audit").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

```python
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 = { "startUrls": [{ "url": "https://apify.com/" }] }

# Run the Actor and wait for it to finish
run = client.actor("steady-scrape/technical-seo-audit").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

```bash
echo '{
  "startUrls": [
    {
      "url": "https://apify.com/"
    }
  ]
}' |
apify call steady-scrape/technical-seo-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steady-scrape/technical-seo-audit"
        }
    }
}
```

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/SZ39cf8NaYWTaakXq/builds/J3LZM5boBRXDBlS3d/openapi.json
