x402

Sitemap Parse (x402)

Fetch and parse a website's XML sitemap. Returns URL count, top path segments, lastmod dates, and sample URLs.

get/x402/v2/sitemap-parse

Request

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

Query parameters

urlstring required

Response

Success

typestring
total_urlsinteger

Example response

{
  "url": "https://strale.dev/sitemap.xml",
  "type": "urlset",
  "total_urls": 433,
  "has_lastmod": true,
  "sample_urls": [
    {
      "loc": "https://strale.dev/",
      "lastmod": "2026-04-02",
      "priority": "1.0",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities",
      "lastmod": "2026-04-02",
      "priority": "0.9",
      "changefreq": "daily"
    },
    {
      "loc": "https://strale.dev/solutions",
      "lastmod": "2026-04-02",
      "priority": "0.9",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/trust",
      "lastmod": "2026-04-02",
      "priority": "0.8",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/pricing",
      "lastmod": "2026-04-02",
      "priority": "0.8",
      "changefreq": "monthly"
    },
    {
      "loc": "https://strale.dev/docs",
      "lastmod": "2026-04-02",
      "priority": "0.8",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/signup",
      "lastmod": "2026-04-02",
      "priority": "0.7",
      "changefreq": "monthly"
    },
    {
      "loc": "https://strale.dev/security",
      "lastmod": "2026-04-02",
      "priority": "0.7",
      "changefreq": "monthly"
    },
    {
      "loc": "https://strale.dev/capabilities/linkedin-url-validate",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/job-board-search",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/protocol-tvl-lookup",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/vasp-non-compliant-check",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/vasp-verify",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/gas-price-check",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/dockerfile-generate",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/image-resize",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/base64-encode-url",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/sanctions-check",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/ted-procurement",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    },
    {
      "loc": "https://strale.dev/capabilities/charity-lookup-uk",
      "lastmod": "2026-04-02",
      "priority": "0.6",
      "changefreq": "weekly"
    }
  ],
  "has_priority": true,
  "has_changefreq": true,
  "newest_lastmod": "2026-04-02",
  "oldest_lastmod": "2026-04-02",
  "top_path_segments": [
    {
      "count": 274,
      "segment": "capabilities"
    },
    {
      "count": 102,
      "segment": "solutions"
    },
    {
      "count": 51,
      "segment": "learn"
    },
    {
      "count": 1,
      "segment": "/"
    },
    {
      "count": 1,
      "segment": "trust"
    },
    {
      "count": 1,
      "segment": "pricing"
    },
    {
      "count": 1,
      "segment": "docs"
    },
    {
      "count": 1,
      "segment": "signup"
    },
    {
      "count": 1,
      "segment": "security"
    }
  ]
}

Changes

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