# SEO Audit API

> SEO Audit API is a paid API for AI agents from x402-data-api-x6da.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Analyzes a public web page URL and returns an SEO score, issues, metadata (title, description, OG tags, H1s, canonical), and HTTP status for audit purposes.

## Facts

- Endpoint: GET https://x402-data-api-x6da.onrender.com/v1/seo/audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/seo-audit-api-c4dda3dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0tSk8jW014cTn9NkooOY0

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-c4dda3dc
```

Example prompt: Can you run an SEO audit on https://www.example.com and tell me the score, any issues flagged, whether the page has a canonical tag, and what the title and meta description look like?

## When to prefer this

Choose this endpoint when you need a structured, scored SEO audit of a single public web page including issue detection, metadata extraction, and Open Graph analysis — especially when you want pay-per-call access with no sign-up overhead (USDC on Base via x402). Prefer this over scraping raw HTML yourself when you need actionable SEO signals rather than raw content.

## Known failure modes

- Invalid or non-public URL returns an error or empty result
- Page behind authentication or paywalls may return 403/401 HTTP status
- Very large pages may time out or return incomplete analysis
- URL with redirects to non-HTTP schemes may fail
- Rate limiting or server errors from the target page may affect accuracy
- Malformed URL input returns a validation error

## How this service works

Pay-per-call data and web utilities for AI agents: web page to Markdown, SEO audit, email check, domain RDAP/DNS and mail security, ECB FX rates, time zones and business days, SEC EDGAR search and fundamentals, Federal Register, USAspending, weather and NWS alerts, VIN, NPI, ATS jobs. USDC on Base via x402, no sign-up.

## Output

Returns a JSON object with the page's SEO score (0-100), HTTP status, final URL after redirects, page byte size, title and its length, meta description and its length, H1 headings array and count, canonical URL, Open Graph tags (og:title, og:description, og:image, og:url, og:type), robots meta and x-robots-tag directives, redirect chain, and an array of SEO issues each with a kind, message, and severity (warning/error).

## 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",
     "properties": {
      "url": {
       "type": "string",
       "description": "public http(s) page URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "h1": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "og": {
       "type": "object",
       "properties": {
        "og:url": {
         "type": "string"
        },
        "og:type": {
         "type": "string"
        },
        "og:image": {
         "type": "string"
        },
        "og:title": {
         "type": "string"
        },
        "og:description": {
         "type": "string"
        }
       }
      },
      "url": {
       "type": "string"
      },
      "bytes": {
       "type": "number"
      },
      "score": {
       "type": "number"
      },
      "title": {
       "type": "string"
      },
      "issues": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "kind": {
          "type": "string"
         },
         "message": {
          "type": "string"
         },
         "severity": {
          "type": "string"
         }
        }
       }
      },
      "robots": {
       "type": "object",
       "properties": {
        "meta": {},
        "x_robots_tag": {}
       }
      },
      "h1_count": {
       "type": "number"
      },
      "canonical": {},
      "final_url": {
       "type": "string"
      },
      "redirects": {
       "type": "array",
       "items": {}
      },
      "description": {
       "type": "string"
      },
      "http_status": {
       "type": "number"
      },
      "title_length": {
       "type": "number"
      },
      "description_length": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "h1": [
   "Functions Defined",
   "All the Flow You’d Expect",
   "Compound Data Types",
   "Intuitive Interpretation",
   "Quick & Easy to Learn"
  ],
  "og": {
   "og:url": "https://www.python.org/",
   "og:type": "website",
   "og:image": "https://www.python.org/static/opengraph-icon-200x200.png",
   "og:title": "Welcome to Python.org",
   "og:description": "The official home of the Python Programming Language"
  },
  "url": "https://www.python.org/",
  "bytes": 52852,
  "score": 90,
  "title": "Welcome to Python.org",
  "issues": [
   {
    "kind": "h1-multiple",
    "message": "5 H1 headings (use one)",
    "severity": "warning"
   },
   {
    "kind": "canonical-missing",
    "message": "No <link rel=canonical>",
    "severity": "warning"
   }
  ],
  "robots": {
   "meta": null,
   "x_robots_tag": null
  },
  "h1_count": 5,
  "canonical": null,
  "final_url": "https://www.python.org/",
  "redirects": [],
  "description": "The official home of the Python Programming Language",
  "http_status": 200,
  "title_length": 21,
  "description_length": 52
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/seo-audit-api-c4dda3dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api-x6da.onrender.com](https://www.zero.xyz/host/x402-data-api-x6da.onrender.com/llms.txt)
