x402

SEO Audit (x402)

Comprehensive SEO audit of a URL. Checks title, meta description, h1 structure, image alt tags, canonical, robots.txt, sitemap, Open Graph, schema.org, link ratio.

get/x402/v2/seo-audit

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/seo-audit
  • Auth: none required

Query parameters

urlstring required

URL to audit

Response

Success

checksobject
overall_scoreinteger

Example response

{
  "url": "https://google.com",
  "checks": {
    "h1": {
      "count": 0,
      "values": [],
      "optimal": false
    },
    "links": {
      "ratio": 0.67,
      "external": 4,
      "internal": 6
    },
    "title": {
      "value": "Google",
      "length": 6,
      "optimal": false,
      "present": true
    },
    "images": {
      "total": 1,
      "with_alt": 1,
      "without_alt": 0
    },
    "sitemap": {
      "referenced_in_robots": true
    },
    "canonical": {
      "url": null,
      "present": false
    },
    "open_graph": {
      "image": false,
      "title": false,
      "complete": false,
      "description": false
    },
    "robots_txt": {
      "present": true
    },
    "schema_org": {
      "present": false,
      "json_ld_blocks": 0
    },
    "meta_description": {
      "value": "Search the world",
      "length": 16,
      "optimal": false,
      "present": true
    },
    "heading_hierarchy": {
      "count": 0,
      "structure": []
    }
  },
  "issues": [
    "No H1 tag found"
  ],
  "overall_score": 55,
  "prioritized_fixes": [
    {
      "fix": "Title is 6 chars. Aim for 30-60 characters.",
      "issue": "Title length not optimal",
      "priority": "medium"
    },
    {
      "fix": "Add exactly one H1 tag per page",
      "issue": "Missing H1",
      "priority": "high"
    },
    {
      "fix": "Add a <link rel='canonical'> tag",
      "issue": "No canonical URL",
      "priority": "low"
    },
    {
      "fix": "Add og:title, og:description, and og:image meta tags",
      "issue": "Incomplete Open Graph tags",
      "priority": "medium"
    },
    {
      "fix": "Add JSON-LD schema.org markup",
      "issue": "No structured data",
      "priority": "low"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.