# SEO Audit API

> SEO Audit API is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Runs a deterministic 24-rule on-page technical SEO audit of a single web page, returning a 0–100 score, letter grade, per-rule pass/warn/fail checklist with fixes, and an indexability-critical flag.

## Facts

- Endpoint: GET https://api.agentstools.dev/seo/audit
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/seo-audit-api-cbc964d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f3-rOdnZwVF1NeXS6x9ZO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability seo-audit-api-cbc964d9
```

Example prompt: Can you run a full technical SEO audit on https://example.com/pricing and tell me the score, grade, and what's failing so I know what to fix?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, rule-based technical SEO evaluation of a specific web page without requiring API keys or LLM inference. It is ideal for pre-launch checks, diagnosing indexability issues, or generating structured SEO reports for clients. Prefer it over general-purpose crawlers or LLM-based SEO tools when you need consistent, reproducible scores and a structured checklist of mechanical fixes.

## Known failure modes

- Target URL is unreachable or returns a non-2xx status — audit cannot be completed
- URL parameter missing — returns 400 bad request
- Redirect loops or too many redirects cause a fetch failure
- Robots.txt or noindex headers block the fetcher from accessing the page
- Malformed URL input causes parsing error

## How this service works

Deterministic on-page technical-SEO audit of a single web page. Fetches the page (redirects + response headers) and runs 24 mechanical rules across six categories (indexability, title/meta, headings, structured data, images, i18n/mobile). Returns a 0-100 score, letter grade, per-rule pass/warn/fail checklist with fixes, and an indexability-critical flag. No LLM, no keys.

## Output

Returns a 0–100 numeric SEO score, a letter grade (e.g. A, B, C), and a per-rule checklist covering 24 mechanical rules across six categories: indexability, title/meta, headings, structured data, images, and i18n/mobile. Each rule shows pass/warn/fail status with specific fix recommendations, plus an indexability-critical flag indicating whether any critical issue prevents the page from being indexed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "url": {
       "type": "string",
       "description": "Target page URL to audit, path preserved (e.g. https://example.com/pricing)"
      },
      "host": {
       "type": "string",
       "description": "Alternative input: a hostname"
      },
      "domain": {
       "type": "string",
       "description": "Alternative input: a bare domain, audits its homepage (e.g. example.com)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/seo-audit-api-cbc964d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
